From 366960aff06e202aa9876686bdd5f8ad7a25e71d Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 22 Feb 2011 01:43:35 +0000 Subject: Refs #2980: Added an elgg_view_icon function git-svn-id: http://code.elgg.org/elgg/trunk@8407 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/engine/lib/views.php b/engine/lib/views.php index bed9ee874..b1c42680a 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1275,6 +1275,19 @@ function elgg_view_list_item($item, $full_view, array $vars = array()) { } } +/** + * View one of the elgg sprite icons + * + * Shorthand for + * + * @param string $type The specific icon to display + * + * @returns string The html for displaying an icon + */ +function elgg_view_icon($name) { + return ""; +} + /** * Registers a function to handle templates. * -- cgit v1.2.3