From 60832059f8f29761e7c7dc8457f6ff97e0e74a55 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 6 Apr 2011 02:47:08 +0000 Subject: Refs #3108 frontend should be done and ready for review - admin area is next git-svn-id: http://code.elgg.org/elgg/trunk@8946 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'engine/lib') diff --git a/engine/lib/views.php b/engine/lib/views.php index 553c327a0..e2cf6b5c3 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1278,12 +1278,16 @@ function elgg_view_list_item($item, array $vars = array()) { * * Shorthand for * - * @param string $name The specific icon to display + * @param string $name The specific icon to display + * @param bool $float Whether to float the icon * * @return string The html for displaying an icon */ -function elgg_view_icon($name) { - return ""; +function elgg_view_icon($name, $float = false) { + if ($float) { + $float = 'float'; + } + return ""; } /** -- cgit v1.2.3