1
0
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:
Cameron
2022-12-10 07:06:47 -08:00
parent 60d9c29af3
commit d960829532
30 changed files with 66 additions and 104 deletions

View File

@@ -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)
{

View File

@@ -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();

View File

@@ -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();

View File

@@ -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>

View File

@@ -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)
{