mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Introduction of e_navigation class to handle all links site-wide. Large-scale cleanup of global admin links, plugin links etc.
This commit is contained in:
@@ -58,7 +58,7 @@ if($_GET['mode'] == "e_advanced"){
|
||||
<table style='".ADMIN_WIDTH."'>";
|
||||
|
||||
|
||||
$text .= getPluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
$text .= e107::getNav()->pluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
|
||||
$text .= render_clean();
|
||||
$text .= "</table></div>";
|
||||
|
@@ -35,7 +35,7 @@ $text .= "<tr>
|
||||
|
||||
|
||||
|
||||
$text .= getPluginLinks( E_16_PLUGMANAGER, 'adminb');
|
||||
$text .= e107::getNav()->pluginLinks( E_16_PLUGMANAGER, 'adminb');
|
||||
|
||||
$text .= "</table></div>";
|
||||
|
||||
|
@@ -21,6 +21,8 @@ $emessage = e107::getMessage();
|
||||
|
||||
$text = "<div style='text-align:center'>
|
||||
<table class='fborder' style='".ADMIN_WIDTH."'>";
|
||||
|
||||
$admin_cat = e107::getNav()->adminCats();
|
||||
|
||||
foreach ($admin_cat['id'] as $cat_key => $cat_id)
|
||||
{
|
||||
|
@@ -37,7 +37,7 @@ if($buts != "")
|
||||
$text = "<div style='text-align:center'>
|
||||
<table style='".ADMIN_WIDTH."'>";
|
||||
|
||||
$text .= getPluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
$text .= e107::getNav()->pluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
|
||||
$text .= render_clean();
|
||||
|
||||
|
@@ -40,7 +40,7 @@ $text = "<div style='text-align:center'>
|
||||
<table style='".ADMIN_WIDTH."'>";
|
||||
|
||||
|
||||
$text .= getPluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
$text .= e107::getNav()->pluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
|
||||
|
||||
$text .= render_clean();
|
||||
|
@@ -45,7 +45,7 @@ $text = "<div style='text-align:center'>
|
||||
<table style='".ADMIN_WIDTH."'>";
|
||||
|
||||
|
||||
$text .= getPluginLinks( E_16_PLUGMANAGER, 'default');
|
||||
$text .= e107::getNav()->pluginLinks( E_16_PLUGMANAGER, 'default');
|
||||
|
||||
|
||||
$text .= "</tr>
|
||||
|
@@ -44,7 +44,7 @@ if (isset($_POST['submit-mye107']) || varset($_POST['submit-mymenus']))
|
||||
$user_pref['core-infopanel-mye107'] = $pref['core-infopanel-default'];
|
||||
}
|
||||
|
||||
$iconlist = array_merge($array_functions_assoc, getPluginLinks(E_16_PLUGMANAGER, "array"));
|
||||
$iconlist = array_merge($array_functions_assoc, e107::getNav()->pluginLinks(E_16_PLUGMANAGER, "array"));
|
||||
|
||||
$text .= "
|
||||
<form method='post' action='".e_SELF."?".e_QUERY."'>";
|
||||
|
@@ -18,6 +18,8 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$mes = e107::getMessage();
|
||||
|
||||
$admin_cat = e107::getNav()->adminCats();
|
||||
|
||||
$text = "<div style='text-align:center'>
|
||||
<div class='admintabs' id='tab-container'>
|
||||
<ul class='e-tabs' id='core-emote-tabs'>";
|
||||
@@ -58,7 +60,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id)
|
||||
}
|
||||
else // Plugin category.
|
||||
{
|
||||
$text_rend = getPluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
$text_rend = e107::getNav()->pluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
|
||||
if ($text_rend)
|
||||
{
|
||||
|
Reference in New Issue
Block a user