$eplug_name = $tp->toHTML($readFile['name'], FALSE, "defs, emotes_off"); $eplug_conffile = $readFile['administration']['configFile']; $eplug_icon_small = $plugin_path . '/' . $readFile['administration']['iconSmall']; $eplug_icon = $plugin_path . '/' . $readFile['administration']['icon']; $eplug_caption = $readFile['administration']['caption']; } elseif (is_readable(e_PLUGIN . $plugin_path . "/plugin.php")) { include e_PLUGIN . $plugin_path . "/plugin.php"; } if ($eplug_conffile) { $eplug_name = $tp->toHTML($eplug_name, FALSE, "defs, emotes_off"); $plugin_icon = $eplug_icon_small ? "<img src='" . e_PLUGIN . $eplug_icon_small . "' alt='" . $eplug_caption . "' class='icon S16' />" : E_16_PLUGIN; $plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN . $plugin_path . "/" . $eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P" . $plugin_id, 'icon' => $plugin_icon); $text_check = TRUE; } unset($eplug_conffile, $eplug_name, $eplug_caption, $eplug_icon_small); } } ksort($plugin_array, SORT_STRING); foreach ($plugin_array as $plug_key => $plug_value) { $text_cat .= render_links($plug_value['link'], $plug_value['title'], $plug_value['caption'], $plug_value['perms'], $plug_value['icon'], 'default'); } } $text_cat .= render_clean(); $text_cat .= "</table>\n\t\t</td></tr>"; if ($text_check) { $text .= $text_cat; } } $text .= "</table></div>"; $ns->tablerender(ADLAN_47 . " " . ADMINNAME, $emessage->render() . $text); echo admin_info();
*/ if (!defined('e107_INIT')) { exit; } require_once e_HANDLER . "message_handler.php"; $emessage =& eMessage::getInstance(); if ($_GET['mode'] == "e_advanced") { $pref['adminstyle'] = "classis"; save_prefs(); Header("Location:" . e_ADMIN . "admin.php"); } $buts = ""; $text = "<div style='text-align:center;vertical-align:middle'><br /><br />\n\t<table style='" . ADMIN_WIDTH . ";margin-top:auto;margin-bottom:auto' >"; // $newarray[28] = array(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", 2, E_16_PLUGMANAGER, E_32_PLUGMANAGER); $selection = array(22, 12, 17, 25, 5, 19, 7, 23, 28, 26); // $selection = array(21,11,17,24,5,19,7,27,28,25); foreach ($selection as $id) { $buts .= render_links($newarray[$id][0], $newarray[$id][1], $newarray[$id][2], $newarray[$id][3], $newarray[$id][6], 'beginner'); } $text .= $buts; $text .= render_clean(); $text .= "\n</table><br /></div>"; $text .= "<div class='smalltext' style='text-align:center'>" . ADLAN_144 . " <a href='" . e_SELF . "?mode=e_advanced' >" . ADLAN_145 . "</a> </div>"; if ($buts != '') { $ns->tablerender(ADLAN_47 . " " . ADMINNAME, $emessage->render() . $text); } $text = "<div style='text-align:center'>\n\t<table style='" . ADMIN_WIDTH . "'>"; $text .= getPluginLinks(E_32_PLUGMANAGER, "classis"); $text .= render_clean(); $text .= "</table></div>"; $ns->tablerender(ADLAN_CL_7, $text);