1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Review and cleanup of all admin layouts

This commit is contained in:
Cameron
2013-02-26 21:27:36 -08:00
parent bb020c6ae2
commit b8b8a3e726
8 changed files with 33 additions and 231 deletions

View File

@@ -20,15 +20,17 @@ $newarray = e107::getNav()->adminLinks('core');
$buts = "";
$text = "<div style='text-align:center'>
<table style='".ADMIN_WIDTH."'>";
<table class='table'>";
while (list($key, $funcinfo) = each($newarray)) {
while (list($key, $funcinfo) = each($newarray))
{
$buts .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default');
}
$text .= $buts;
$text_cat = '';
while ($td <= 5) {
while ($td <= 5)
{
$text_cat .= "<td class='td' style='width:20%;' ></td>";
$td++;
}
@@ -36,12 +38,13 @@ $td = 1;
$text .= "</tr></table></div>";
if($buts !=""){
if($buts !="")
{
$ns->tablerender(ADLAN_47." ".ADMINNAME, $mes->render().$text);
}
$text = "<div style='text-align:center'>
<table style='".ADMIN_WIDTH."'>";
<table class='table'>";
$text .= e107::getNav()->pluginLinks( E_16_PLUGMANAGER, 'default');