14 "arrow-two-head" =>
"arrows-h",
15 "attention" =>
"exclamation-triangle",
16 "cell-phone" =>
"mobile",
17 "checkmark" =>
"check",
18 "clip" =>
"paperclip",
19 "cursor-drag-arrow" =>
"arrows",
20 "drag-arrow" =>
"arrows",
21 "delete-alt" =>
"times-circle",
23 "facebook" =>
"facebook-square",
25 "hover-menu" =>
"caret-down",
26 "info" =>
"info-circle",
27 "lock-closed" =>
"lock",
28 "lock-open" =>
"unlock",
29 "mail" =>
"envelope-o",
30 "mail-alt" =>
"envelope",
31 "print-alt" =>
"print elgg-icon-hover",
32 "push-pin" =>
"thumb-tack",
33 "push-pin-alt" =>
"thumb-tack elgg-icon-hover",
35 "round-arrow-left" =>
"arrow-circle-left",
36 "round-arrow-right" =>
"arrow-circle-right",
37 "round-checkmark" =>
"check-circle",
38 "round-minus" =>
"minus-circle",
39 "round-plus" =>
"plus-circle",
40 "rss" =>
"rss-square",
41 "search-focus" =>
"search elgg-icon-hover",
42 "settings" =>
"wrench",
43 "settings-alt" =>
"cog",
44 "share" =>
"share-alt-square",
45 "shop-cart" =>
"shopping-cart",
46 "speech-bubble" =>
"comment",
47 "speech-bubble-alt" =>
"comments",
48 "star-alt" =>
"star elgg-icon-hover",
49 "star-empty" =>
"star-o",
50 "thumbs-down-alt" =>
"thumbs-down elgg-icon-hover",
51 "thumbs-up-alt" =>
"thumbs-up elgg-icon-hover",
53 "twitter" =>
"twitter-square",
59 unset(
$vars[
'convert']);
64 if (preg_match_all(
'/^elgg-icon-(.+)-hover$/i',
$c)) {
66 $class[] =
'elgg-icon-hover';
67 $c = preg_replace(
'/(.+)-hover$/i',
'$1',
$c);
70 if (preg_match_all(
'/^elgg-icon-(.+)/i',
$c)) {
72 $base_icon = preg_replace(
'/^elgg-icon-(.+)/i',
'$1',
$c);
76 $class[] =
"fa-{$base_icon}";
foreach($class as $index=> $c) $vars["class"]
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set...
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
elgg echo
Translates a string.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.