1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Issue #187 - styling of status and latest menus. 1440x900 or higher is recommended.

This commit is contained in:
Cameron
2013-04-29 20:22:48 -07:00
parent 201be49823
commit 8d66244f02
3 changed files with 11 additions and 11 deletions

View File

@@ -384,14 +384,14 @@ class admin_shortcodes
$allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly.
$text = "<ul id='e-latest'>";
$text = "<ul id='e-latest' class='unstyled'>";
foreach($allconfigs as $k=>$v)
{
foreach($v as $val)
{
$class = admin_shortcodes::getBadge($val['total']);
$link = "<a href='".$val['url']."'>".str_replace(":"," ",$val['title'])." <span class='".$class."'>".$val['total']."</span></a>";
$text .= "<li>".$val['icon']." ".$link."</li>\n";
$link = "<a href='".$val['url']."'>".str_replace(":"," ",$val['title'])." <span class='".$class."'>".$val['total']."</span></a>";
$text .= "<li class='clearfix'>".$val['icon']." ".$link."</li>\n";
}
}
$text .= "</ul>";
@@ -1050,7 +1050,7 @@ class admin_shortcodes
$allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly.
$text = "<ul id='e-status'>";
$text = "<ul id='e-status' class='unstyled'>";
foreach($allconfigs as $k=>$v)
{
foreach($v as $val)