From e5227e9221edbce84eee82af7f2c9903de702f37 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Feb 2011 22:46:28 +0000 Subject: Fixes #2559 refs #2475 added ElggEntity:getIconURL() and elgg_view_entity_icon() git-svn-id: http://code.elgg.org/elgg/trunk@8039 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/theming/preview/icons.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'documentation/theming/preview/icons.php') diff --git a/documentation/theming/preview/icons.php b/documentation/theming/preview/icons.php index 2a3a9bb7e..665f1f817 100644 --- a/documentation/theming/preview/icons.php +++ b/documentation/theming/preview/icons.php @@ -36,6 +36,27 @@ $url = current_page_url();
false)); ?>
+

Avatars

+
+ '; + echo ''; + foreach ($sizes as $size) { + echo "

$size

"; + } + echo ''; + echo ''; + foreach ($sizes as $size) { + echo ''; + echo elgg_view_entity_icon($user, $size, array('hover' => false)); + echo ''; + } + echo ''; + echo ''; + ?> +
\ No newline at end of file -- cgit v1.2.3