1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +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

@@ -15,6 +15,8 @@ if (!defined('e107_INIT')) { exit; }
$mes = e107::getMessage();
$buts = "";
$newarray = e107::getNav()->adminLinks('core');
while (list($key, $funcinfo) = each($newarray))
{
$buts .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[6], "classis");
@@ -22,14 +24,14 @@ while (list($key, $funcinfo) = each($newarray))
if($buts != "")
{
$text = "<div style='text-align:center'>
<table style='".ADMIN_WIDTH."'>";
<table class='table'>";
$text .= $buts;
$text .= render_clean();
$text .= "</table></div>";
$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_32_PLUGMANAGER, "classis");
@@ -37,6 +39,6 @@ $text .= render_clean();
$text .= "</table></div>";
$ns->tablerender(ADLAN_CL_7, $text);
$ns->tablerender(ADLAN_CL_7, $text,'infopanel');
?>