mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Admin-UI enhancements (i hope!)
This commit is contained in:
@@ -491,14 +491,14 @@ class admin_shortcodes
|
||||
|
||||
$allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly.
|
||||
|
||||
$text = "<ul id='e-latest' class='unstyled list-unstyled'>";
|
||||
$text = "<ul id='e-latest' class='list-group'>";
|
||||
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 class='clearfix'>".$val['icon']." ".$link."</li>\n";
|
||||
$text .= "<li class='list-group-item clearfix'>".$val['icon']." ".$link."</li>\n";
|
||||
}
|
||||
}
|
||||
$text .= "</ul>";
|
||||
@@ -1199,7 +1199,7 @@ class admin_shortcodes
|
||||
|
||||
$allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly.
|
||||
|
||||
$text = "<ul id='e-status' class='unstyled list-unstyled'>";
|
||||
$text = "<ul id='e-status' class='list-group'>";
|
||||
foreach($allconfigs as $k=>$v)
|
||||
{
|
||||
foreach($v as $val)
|
||||
@@ -1207,7 +1207,7 @@ class admin_shortcodes
|
||||
$type = empty($val['invert']) ? 'latest' : 'invert';
|
||||
$class = admin_shortcodes::getBadge($val['total'], $type);
|
||||
$link = "<a href='".$val['url']."'>".str_replace(":"," ",$val['title'])." <span class='".$class."'>".$val['total']."</span></a>";
|
||||
$text .= "<li>".$val['icon']." ".$link."</li>\n";
|
||||
$text .= "<li class='list-group-item'>".$val['icon']." ".$link."</li>\n";
|
||||
}
|
||||
}
|
||||
$text .= "</ul>";
|
||||
|
Reference in New Issue
Block a user