mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
Issue #4918 - Undefined constants cleanup.
This commit is contained in:
@@ -45,7 +45,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id)
|
||||
}
|
||||
else
|
||||
{
|
||||
$text_rend = e107::getNav()->renderAdminButton(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_16_PLUGMANAGER, 'default');
|
||||
$text_rend = e107::getNav()->renderAdminButton(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", defset('E_16_PLUGMANAGER'), 'default');
|
||||
|
||||
if ($text_rend)
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ if(!empty($buts))
|
||||
$text = "<div style='text-align:center'>
|
||||
<table class='table'>";
|
||||
|
||||
$text .= e107::getNav()->pluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
$text .= e107::getNav()->pluginLinks(defset('E_32_PLUGMANAGER'), "classis");
|
||||
|
||||
$text .= render_clean();
|
||||
|
||||
|
@@ -40,7 +40,7 @@ $text = "<div style='text-align:center'>
|
||||
<table class='table'>";
|
||||
|
||||
|
||||
$text .= e107::getNav()->pluginLinks(E_32_PLUGMANAGER, "classis");
|
||||
$text .= e107::getNav()->pluginLinks(defset('E_32_PLUGMANAGER'), "classis");
|
||||
|
||||
|
||||
$text .= render_clean();
|
||||
|
@@ -49,7 +49,7 @@ $text = "<div style='text-align:center'>
|
||||
<table class='table'>";
|
||||
|
||||
|
||||
$text .= e107::getNav()->pluginLinks( E_16_PLUGMANAGER, 'default');
|
||||
$text .= e107::getNav()->pluginLinks( defset('E_16_PLUGMANAGER'), 'default');
|
||||
|
||||
|
||||
$text .= "</tr>
|
||||
|
@@ -141,7 +141,7 @@ class tabbed
|
||||
}
|
||||
else // Plugin category.
|
||||
{
|
||||
$text_rend = e107::getNav()->pluginLinks(E_32_PLUGMANAGER, "div");
|
||||
$text_rend = e107::getNav()->pluginLinks(defset('E_32_PLUGMANAGER'), "div");
|
||||
|
||||
if ($text_rend)
|
||||
{
|
||||
|
Reference in New Issue
Block a user