﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	difficulty
2980	Put icon sprites into a view and possibly provide a shorthand function	ewinslow	ewinslow	"I see us doing this alot:

{{{
echo ""<span class=\""elgg-icon elgg-icon-hover-menu\""></span>"";
}}}

Seems like this would be better:

{{{
echo elgg_view_icon('hover-menu', $vars);
}}}

We could either put the view in page/components/ or in icon/.

I know it's another function, but then someone could easily change the implementation if they wanted to.  e.g. instead of elgg-icon they could use jquery-ui's icons instead.
"	Defect	closed	normal	Elgg 1.8.0	Core	Github Master	minor	fixed		brett@…	
