mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Bugtracker #4374 - notice removal
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/banner.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/banner.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2007-10-30 22:47:10 $
|
| $Date: 2008-04-05 15:18:23 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -451,6 +451,8 @@ if ($action == "create") {
|
|||||||
|
|
||||||
if ($action == "menu")
|
if ($action == "menu")
|
||||||
{
|
{
|
||||||
|
$in_catname = array(); // Notice removal
|
||||||
|
$out_catname = array();
|
||||||
|
|
||||||
$array_cat_in = explode("|", $menu_pref['banner_campaign']);
|
$array_cat_in = explode("|", $menu_pref['banner_campaign']);
|
||||||
if (!$menu_pref['banner_caption'])
|
if (!$menu_pref['banner_caption'])
|
||||||
@@ -493,7 +495,7 @@ if ($action == "menu")
|
|||||||
|
|
||||||
foreach($out_catname as $name)
|
foreach($out_catname as $name)
|
||||||
{
|
{
|
||||||
$text .= "<option value='$name'>$name</option>\n";
|
$text .= "<option value='{$name}'>{$name}</option>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .= "</select>
|
$text .= "</select>
|
||||||
@@ -504,7 +506,7 @@ if ($action == "menu")
|
|||||||
$catidvalues = "";
|
$catidvalues = "";
|
||||||
foreach($in_catname as $name)
|
foreach($in_catname as $name)
|
||||||
{
|
{
|
||||||
$text .= "<option value='$name'>$name</option>\n";
|
$text .= "<option value='{$name}'>{$name}</option>\n";
|
||||||
$catidvalues .= $name."-";
|
$catidvalues .= $name."-";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user