1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
2022-12-10 07:06:47 -08:00

46 lines
1.0 KiB
PHP

<?php
/*
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* $URL$
* $Id$
*/
if (!defined('e107_INIT')) { exit; }
$mes = e107::getMessage();
$buts = "";
$newarray = e107::getNav()->adminLinks('core');
foreach($newarray as $key=>$funcinfo)
{
$buts .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[6], "classis");
}
if(!empty($buts))
{
$text = "<div style='text-align:center'>
<table class='table'>";
$text .= $buts;
$text .= render_clean();
$text .= "</table></div>";
e107::getRender()->tablerender(ADLAN_47." ".ADMINNAME, $mes->render().$text);
}
$text = "<div style='text-align:center'>
<table class='table'>";
$text .= e107::getNav()->pluginLinks(defset('E_32_PLUGMANAGER'), "classis");
$text .= render_clean();
$text .= "</table></div>";
e107::getRender()->tablerender(ADLAN_CL_7, $text,'infopanel');