mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Remove PHP Warnings - various undefined variables and typos
This commit is contained in:
@@ -13,22 +13,24 @@ if (ADMIN) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach(array_keys($e107_plug) as $xplug){
|
if (is_array($e107_plug)) {
|
||||||
if (file_exists(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php")) {
|
foreach(array_keys($e107_plug) as $xplug){
|
||||||
if ($pref['admin_alerts_uniquemenu'] == 1) {
|
if (file_exists(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php")) {
|
||||||
$text .= "<b>".$xplug."</b><br />";
|
if ($pref['admin_alerts_uniquemenu'] == 1) {
|
||||||
} else {
|
$text .= "<b>".$xplug."</b><br />";
|
||||||
$text = "";
|
} else {
|
||||||
}
|
$text = "";
|
||||||
require_once(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php");
|
}
|
||||||
$text .= "<br />";
|
require_once(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php");
|
||||||
if ($pref['admin_alerts_uniquemenu'] != 1) {
|
|
||||||
$caption = $xplug;
|
|
||||||
$ns -> tablerender($caption, $text);
|
|
||||||
} else {
|
|
||||||
$text .= "<br />";
|
$text .= "<br />";
|
||||||
|
if ($pref['admin_alerts_uniquemenu'] != 1) {
|
||||||
|
$caption = $xplug;
|
||||||
|
$ns -> tablerender($caption, $text);
|
||||||
|
} else {
|
||||||
|
$text .= "<br />";
|
||||||
|
}
|
||||||
|
$i++;
|
||||||
}
|
}
|
||||||
$i++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user