From 95e3b3ab0c0f39a264c611e825c9df0a694960f7 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Thu, 28 Feb 2013 17:48:18 +0100 Subject: [PATCH] Banner plugin - Rewrite in progress, especially LAN. (WIP) --- e107_plugins/banner/admin_banner.php | 271 +++++------------- e107_plugins/banner/banner.php | 9 +- e107_plugins/banner/banner_menu.php | 13 +- e107_plugins/banner/config.php | 10 +- e107_plugins/banner/e_shortcode.php | 22 +- .../banner/languages/English_admin_banner.php | 106 ++++--- .../banner/languages/English_banner.php | 8 +- .../banner/languages/English_menu_banner.php | 21 +- 8 files changed, 161 insertions(+), 299 deletions(-) diff --git a/e107_plugins/banner/admin_banner.php b/e107_plugins/banner/admin_banner.php index 475ea982d..4d4f62767 100644 --- a/e107_plugins/banner/admin_banner.php +++ b/e107_plugins/banner/admin_banner.php @@ -2,17 +2,12 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * Banner Administration * - * $Source: /cvs_backup/e107_0.8/e107_plugins/banner/admin_banner.php,v $ - * $Revision$ - * $Date$ - * $Author$ - * */ /** @@ -22,11 +17,12 @@ * * @package e107_plugins * @subpackage banner - * @version $Id$; * - * @todo language file issues to resolve */ + +// TODO FIXME needs validation (e.g. Click URL field is not checked to be sure it's an URL) + require_once('../../class2.php'); if (!getperms('D')) { @@ -37,19 +33,13 @@ if (!getperms('D')) $e_sub_cat = 'banner'; require_once(e_ADMIN.'auth.php'); -require_once(e_HANDLER.'form_handler.php'); -$frm = new e_form(); - require_once(e_HANDLER.'userclass_class.php'); require_once(e_HANDLER.'file_class.php'); -$fl = new e_file; - -require_once(e_HANDLER.'message_handler.php'); -//$emessage = eMessage::getInstance(); +$fl = e107::getFile(); +$frm = e107::getForm(); $mes = e107::getMessage(); +$tp = e107::getParser(); -//@FIXME mix up in banner language files -//include_//lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_menus.php'); include_lan(e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_admin_banner.php'); include_lan(e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_menu_banner.php'); @@ -65,7 +55,7 @@ $images = $fl->get_files(e_IMAGE.'banners/','','standard'); $menu_pref = e107::getConfig('menu')->getPref(''); if (isset($_POST['update_menu'])) { - $temp['banner_caption'] = $e107->tp->toDB($_POST['banner_caption']); + $temp['banner_caption'] = $tp->toDB($_POST['banner_caption']); $temp['banner_amount'] = intval($_POST['banner_amount']); $temp['banner_rendertype'] = intval($_POST['banner_rendertype']); @@ -75,10 +65,10 @@ if (isset($_POST['update_menu'])) $cat=''; for($i = 0; $i < count($array_cat); $i++) { - $cat .= $e107->tp->toDB($array_cat[$i])."|"; + $cat .= $tp->toDB($array_cat[$i])."|"; } $cat = substr($cat, 0, -1);*/ - $cat = implode('|', $e107->tp->toDB($_POST['multiaction_cat_active'])); + $cat = implode('|', $tp->toDB($_POST['multiaction_cat_active'])); $temp['banner_campaign'] = $cat; } if ($admin_log->logArrayDiffs($temp,$menu_pref,'BANNER_01')) @@ -93,7 +83,6 @@ if (isset($_POST['update_menu'])) $menuPref->save(false, true, false); //banners_adminlog('01', $menu_pref['banner_caption'].'[!br!]'.$menu_pref['banner_amount'].', '.$menu_pref['banner_rendertype'].'[!br!]'.$menu_pref['banner_campaign']); - //$emessage->add(BANNER_MENU_L2, E_MESSAGE_SUCCESS); } } @@ -103,16 +92,17 @@ if (vartrue($_POST['createbanner']) || vartrue($_POST['updatebanner'])) { $start_date = (!$_POST['startmonth'] || !$_POST['startday'] || !$_POST['startyear'] ? 0 : mktime (0, 0, 0, $_POST['startmonth'], $_POST['startday'], $_POST['startyear'])); $end_date = (!$_POST['endmonth'] || !$_POST['endday'] || !$_POST['endyear'] ? 0 : mktime (0, 0, 0, $_POST['endmonth'], $_POST['endday'], $_POST['endyear'])); - $cli = $e107->tp->toDB($_POST['client_name'] ? $_POST['client_name'] : $_POST['banner_client_sel']); - $cLogin = $e107->tp->toDB($_POST['client_login']); - $cPassword = $e107->tp->toDB($_POST['client_password']); - $banImage = $e107->tp->toDB($_POST['banner_image']); - - $banURL = $e107->tp->toDB($_POST['click_url']); + $cli = $tp->toDB($_POST['client_name'] ? $_POST['client_name'] : $_POST['banner_client_sel']); + $cLogin = $tp->toDB($_POST['client_login']); + $cPassword = $tp->toDB($_POST['client_password']); + $banImage = $tp->toDB($_POST['banner_image']); + $banURL = $tp->toDB($_POST['click_url']); + $cam = $tp->toDB($_POST['banner_campaign'] ? $_POST['banner_campaign'] : $_POST['banner_campaign_sel']); + /* FIXME - can be removed? if ($_POST['banner_pages']) { // Section redundant? - $postcampaign = $e107->tp->toDB($_POST['banner_campaign'] ? $_POST['banner_campaign'] : $_POST['banner_campaign_sel']); + $postcampaign = $tp->toDB($_POST['banner_campaign'] ? $_POST['banner_campaign'] : $_POST['banner_campaign_sel']); $pagelist = explode("\r", $_POST['banner_pages']); for($i = 0 ; $i < count($pagelist) ; $i++) { @@ -127,64 +117,64 @@ if (vartrue($_POST['createbanner']) || vartrue($_POST['updatebanner'])) } else { - $cam = $e107->tp->toDB($_POST['banner_campaign'] ? $_POST['banner_campaign'] : $_POST['banner_campaign_sel']); + $cam = $tp->toDB($_POST['banner_campaign'] ? $_POST['banner_campaign'] : $_POST['banner_campaign_sel']); } + */ $logString .= $cam.'[!br!]'.$cli.'[!br!]'.$banImage.'[!br!]'.$banURL; if ($_POST['createbanner']) { - e107::getMessage()->addAuto($sql->db_Insert("banner", "0, '".$cli."', '".$cLogin."', '".$cPassword."', '".$banImage."', '".$banURL."', '".intval($_POST['impressions_purchased'])."', '{$start_date}', '{$end_date}', '".intval($_POST['banner_class'])."', 0, 0, '', '".$cam."'"), 'insert', BNRLAN_63, false, false); + e107::getMessage()->addAuto($sql->db_Insert("banner", "0, '".$cli."', '".$cLogin."', '".$cPassword."', '".$banImage."', '".$banURL."', '".intval($_POST['impressions_purchased'])."', '{$start_date}', '{$end_date}', '".intval($_POST['banner_class'])."', 0, 0, '', '".$cam."'"), 'insert', LAN_CREATED, false, false); banners_adminlog('02',$logString); } - else + else // updating, not creating { - e107::getMessage()->addAuto($sql->db_Update("banner", "banner_clientname='".$cli."', banner_clientlogin='".$cLogin."', banner_clientpassword='".$cPassword."', banner_image='".$banImage."', banner_clickurl='".$banURL."', banner_impurchased='".intval($_POST['impressions_purchased'])."', banner_startdate='{$start_date}', banner_enddate='{$end_date}', banner_active='".intval($_POST['banner_class'])."', banner_campaign='".$cam."' WHERE banner_id=".intval($_POST['eid'])), 'update', BNRLAN_64, false, false); + e107::getMessage()->addAuto($sql->db_Update("banner", "banner_clientname='".$cli."', banner_clientlogin='".$cLogin."', banner_clientpassword='".$cPassword."', banner_image='".$banImage."', banner_clickurl='".$banURL."', banner_impurchased='".intval($_POST['impressions_purchased'])."', banner_startdate='{$start_date}', banner_enddate='{$end_date}', banner_active='".intval($_POST['banner_class'])."', banner_campaign='".$cam."' WHERE banner_id=".intval($_POST['eid'])), 'update', LAN_UPDATED, false, false); banners_adminlog('03',$logString); } - unset($_POST['client_name'], $_POST['client_login'], $_POST['client_password'], $_POST['banner_image'], $_POST['click_url'], $_POST['impressions_purchased'], $start_date, $end_date, $_POST['banner_enabled'], $_POST['startday'], $_POST['startmonth'], $_POST['startyear'], $_POST['endday'], $_POST['endmonth'], $_POST['endyear'], $_POST['banner_class'], $_POST['banner_pages'], $_POST['banner_listtype']); + unset($_POST['client_name'], $_POST['client_login'], $_POST['client_password'], $_POST['banner_image'], $_POST['click_url'], $_POST['impressions_purchased'], $start_date, $end_date, $_POST['banner_enabled'], $_POST['startday'], $_POST['startmonth'], $_POST['startyear'], $_POST['endday'], $_POST['endmonth'], $_POST['endyear'], $_POST['banner_class'], /*$_POST['banner_pages'],*/ $_POST['banner_listtype']); } /* DELETE ACTIONS */ -if (isset($_POST['delete_cancel'])) +if (isset($_POST['delete_cancel'])) // delete cancelled - redirect back to 'manage' { - $mes->addSession(BNRLAN_6); - - //redirect to main session_write_close(); header('Location:'.e_SELF); exit; } -if (vartrue($action) == "delete" && $sub_action && varsettrue($_POST['delete_confirm'])) + +if (vartrue($action) == "delete" && $sub_action && varsettrue($_POST['delete_confirm'])) // delete has been confirmed, process { if($sql->db_Delete("banner", "banner_id=".intval($sub_action))) { - $mes->addSession(sprintf(BNRLAN_1, $sub_action), E_MESSAGE_SUCCESS); + $mes->addSuccess(LAN_DELETED); banners_adminlog('04','Id: '.intval($sub_action)); } - else $mes->addSession(LAN_DELETED_FAILED, E_MESSAGE_WARNING); - - //redirect to main - session_write_close(); - header('Location:'.e_SELF); - exit; + else // delete failed - redirect back to 'manage' and display message + { + $mes->addWarning(LAN_DELETED_FAILED); + session_write_close(); + header('Location:'.e_SELF); + exit; + } } -elseif ($action == "delete" && $sub_action) +elseif ($action == "delete" && $sub_action) // confirm delete { // shown only if JS is disabled or by direct url hit (?delete.banner_id) - $mes->addWarning(BNRLAN_2); + $mes->addWarning(LAN_CONFIRMDEL); $text = "
- ".BNRLAN_5." + ".LAN_CONFIRMDEL."
- ".$frm->admin_button('delete_confirm', LAN_CONFDELETE, 'delete no-confirm')." + ".$frm->admin_button('delete_confirm', LAN_CONFDELETE, 'delete')." ".$frm->admin_button('delete_cancel', LAN_CANCEL, 'cancel')."
"; - $ns->tablerender(BNRLAN_5, $mes->render() . $text); + $ns->tablerender(LAN_CONFDELETE, $mes->render() . $text); require_once(e_ADMIN."footer.php"); exit; @@ -195,8 +185,6 @@ if ($sql->db_Select("banner")) { while ($banner_row = $sql->db_Fetch()) { - //extract($row); - killed by SecretR - if (strpos($banner_row['banner_campaign'], "^") !== FALSE) { $campaignsplit = explode("^", $banner_row['banner_campaign']); $banner_row['banner_campaign'] = $campaignsplit[0]; @@ -222,7 +210,7 @@ if (!$action) { $text = "
- ".BNRLAN_7." + ".LAN_MANAGE." @@ -235,7 +223,7 @@ if (!$action) { - + @@ -251,14 +239,13 @@ if (!$action) { $text .= ""; } else { while ($banner_row = $sql->db_Fetch()) { - //extract($row); - killed by SecretR $clickpercentage = ($banner_row['banner_clicks'] && $banner_row['banner_impressions'] ? round(($banner_row['banner_clicks'] / $banner_row['banner_impressions']) * 100)."%" : "-"); $impressions_left = ($banner_row['banner_impurchased'] ? $banner_row['banner_impurchased'] - $banner_row['banner_impressions'] : BNRLAN_16); $impressions_purchased = ($banner_row['banner_impurchased'] ? $banner_row['banner_impurchased'] : BNRLAN_16); - $start_date = ($banner_row['banner_startdate'] ? strftime("%d %B %Y", $banner_row['banner_startdate']) : BNRLAN_17); - $end_date = ($banner_row['banner_enddate'] ? strftime("%d %B %Y", $banner_row['banner_enddate']) : BNRLAN_17); + $start_date = ($banner_row['banner_startdate'] ? strftime("%d %B %Y", $banner_row['banner_startdate']) : LAN_NONE); + $end_date = ($banner_row['banner_enddate'] ? strftime("%d %B %Y", $banner_row['banner_enddate']) : LAN_NONE); if (strpos($banner_row['banner_campaign'], "^") !== FALSE) { $campaignsplit = explode("^", $banner_row['banner_campaign']); @@ -272,12 +259,12 @@ if (!$action) { "; @@ -317,7 +304,7 @@ if (!$action) { "; - $ns->tablerender(BNRLAN_42.' - '.BNRLAN_7, $mes->render() . $text); + $ns->tablerender(LAN_PLUGIN_BANNER_NAME.SEP.LAN_MANAGE, $mes->render() . $text); } if ($action == "create") { @@ -328,7 +315,6 @@ if ($action == "create") { $text .= "
".BNRLAN_15."
"; } else { while ($banner_row = $sql->db_Fetch()) { - //extract($row); - killed by SecretR $_POST['client_name'] = $banner_row['banner_clientname']; $_POST['client_login'] = $banner_row['banner_clientlogin']; @@ -369,7 +355,7 @@ if ($action == "create") { $text = "
- ".($sub_action == "edit" ? BNRLAN_22 : BNRLAN_23)." + ".($sub_action == "edit" ? LAN_UPDATE : LAN_CREATE)."
ID".LAN_ID." ".BNRLAN_9." ".BNRLAN_10." ".BNRLAN_11."
".BNRLAN_15."
".$banner_row['banner_id']." - + ".($banner_row['banner_clientname'] ? $banner_row['banner_clientname'] : BNRLAN_66)." ".ADMIN_EDIT_ICON." - +
@@ -377,7 +363,7 @@ if ($action == "create") { - + + ".BNRLAN_25." - +
".BNRLAN_24."
".BNRLAN_25."
".BNRLAN_24." "; @@ -397,14 +383,14 @@ if ($action == "create") { $c++; } unset($for_var); - //TODO - ajax add campaign + //TODO - ajax add campaign - FIXME currently not working as intended $text .= " ".$frm->admin_button('add_new_campaign', BNRLAN_26a, 'other', '', array('other' => "onclick=\"e107Helper.toggle('add-new-campaign-cont', false); \$('banner_campaign_sel').selectedIndex=0; return false;\""))."
-
".BNRLAN_26."
+ ".BNRLAN_26."
"; } @@ -413,10 +399,10 @@ if ($action == "create") { $text .= ""; } $text .= " -
".BNRLAN_27."
".BNRLAN_28."
".BNRLAN_27." "; @@ -435,14 +421,14 @@ if ($action == "create") { $c++; } unset($for_var); - //TODO - ajax add client + //TODO - ajax add client FIXME - currently not working as intended $text .= " ".$frm->admin_button('add_new_client', BNRLAN_29a, 'other', '', array('other' => "onclick=\"e107Helper.toggle('add-new-client-cont', false); \$('banner_client_sel').selectedIndex=0; return false;\""))."
-
".BNRLAN_29."
+ ".BNRLAN_29."
- "; -*/ - $ns->tablerender(BNRLAN_68, $mes->render() . $text); + $ns->tablerender(LAN_PLUGIN_BANNER_NAME.SEP.BNRLAN_68, $mes->render() . $text); } @@ -886,7 +755,7 @@ function admin_banner_adminmenu() $var['menu']['text'] = BNRLAN_61; $var['menu']['link'] = e_SELF."?menu"; - e107::getNav()->admin(BNRLAN_62, $act, $var); + e107::getNav()->admin(LAN_PLUGIN_BANNER_NAME, $act, $var); } require_once(e_ADMIN."footer.php"); diff --git a/e107_plugins/banner/banner.php b/e107_plugins/banner/banner.php index 31a9409a4..7ecce3a40 100644 --- a/e107_plugins/banner/banner.php +++ b/e107_plugins/banner/banner.php @@ -2,16 +2,10 @@ /* * e107 website system * - * Copyright (C) 2009 e107 Inc (e107.org) + * Copyright (C) 2009-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Source: /cvs_backup/e107_0.8/e107_plugins/banner/banner.php,v $ - * $Revision$ - * $Date$ - * $Author$ */ /** @@ -21,7 +15,6 @@ * * @package e107_plugins * @subpackage banner - * @version $Id$; */ if (!defined('e107_INIT')) diff --git a/e107_plugins/banner/banner_menu.php b/e107_plugins/banner/banner_menu.php index ce0a44c57..c6b8f0d16 100644 --- a/e107_plugins/banner/banner_menu.php +++ b/e107_plugins/banner/banner_menu.php @@ -2,16 +2,10 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Source: /cvs_backup/e107_0.8/e107_plugins/banner/banner_menu.php,v $ - * $Revision$ - * $Date$ - * $Author$ */ /** @@ -21,7 +15,6 @@ * * @package e107_plugins * @subpackage banner - * @version $Id$; */ if (!defined('e107_INIT')) { exit; } @@ -37,7 +30,7 @@ To define your own banner to use here ... 3. Save file */ -include_lan(e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_menu_banner.php'); +//include_lan(e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_menu_banner.php'); if(file_exists(THEME.'banner_template.php')) { @@ -52,7 +45,7 @@ $menu_pref = e107::getConfig('menu')->getPref(''); if(isset($campaign)) { $parm = $campaign; - $bannersccode = file_get_contents(e_CORE.'shortcodes/single/banner.sc'); + $bannersccode = file_get_contents(e_CORE.'shortcodes/single/banner.sc'); // FIXME file not there? $BANNER = eval($bannersccode); $txt = $BANNER_MENU_START; $txt .= preg_replace("/\{(.*?)\}/e", '$\1', $BANNER_MENU); diff --git a/e107_plugins/banner/config.php b/e107_plugins/banner/config.php index 5383d50e6..d420c7bcc 100644 --- a/e107_plugins/banner/config.php +++ b/e107_plugins/banner/config.php @@ -2,16 +2,12 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * Banner Menu Configuration (OLD - redirects to e107_admin/banner.php) * - * $Source: /cvs_backup/e107_0.8/e107_plugins/banner/config.php,v $ - * $Revision$ - * $Date$ - * $Author$ * */ @@ -22,7 +18,6 @@ * * @package e107_plugins * @subpackage banner - * @version $Id$; * * @todo - try and access file for menu config without a redirect */ @@ -37,6 +32,7 @@ require_once("../../class2.php"); header('Location:'.e_PLUGIN_ABS.'banner/admin_banner.php?menu'); exit; +/* if (!getperms("1")) // Access to those who can change prefs, theme etc { header("location:".e_BASE."index.php"); @@ -289,5 +285,5 @@ function headerjs() { \n"; return $script_js; } - +*/ ?> \ No newline at end of file diff --git a/e107_plugins/banner/e_shortcode.php b/e107_plugins/banner/e_shortcode.php index 197377adf..4ebc8f4ba 100644 --- a/e107_plugins/banner/e_shortcode.php +++ b/e107_plugins/banner/e_shortcode.php @@ -1,9 +1,13 @@ sql->db_Select('banner', 'banner_id, banner_image, banner_clickurl', $query)) + if($sql->db_Select('banner', 'banner_id, banner_image, banner_clickurl', $query)) { - $row = $e107->sql->db_Fetch(); + $row = $sql->db_Fetch(); if(!$row['banner_image']) { @@ -43,7 +47,7 @@ class banner_shortcodes // must match the plugin's folder name. ie. [PLUGIN_FOLD } $fileext1 = substr(strrchr($row['banner_image'], '.'), 1); - $e107->sql->db_Update('banner', 'banner_impressions=banner_impressions+1 WHERE banner_id='.(int)$row['banner_id']); + $sql->db_Update('banner', 'banner_impressions=banner_impressions+1 WHERE banner_id='.(int)$row['banner_id']); switch ($fileext1) { case 'swf': diff --git a/e107_plugins/banner/languages/English_admin_banner.php b/e107_plugins/banner/languages/English_admin_banner.php index 13bfd951f..a447911ff 100644 --- a/e107_plugins/banner/languages/English_admin_banner.php +++ b/e107_plugins/banner/languages/English_admin_banner.php @@ -1,76 +1,66 @@ this is only used when multiple campaigns are selected"); - -define("BNRLAN_25", "add new or choose existing campaign"); -define("BNRLAN_26", "enter new campaign"); -define("BNRLAN_26a", "New Campaign"); -define("BNRLAN_28", "add new or choose existing client"); -define("BNRLAN_29", "enter new client"); -define("BNRLAN_29a", "New Client"); define("BNRLAN_65", "Stats"); define("BNRLAN_66", "N/A"); @@ -78,6 +68,30 @@ define("BNRLAN_66", "N/A"); define("BNRLAN_67", "No campaigns yet."); define("BNRLAN_68", "Banner Menu Configuration"); -// Plugin manager + + +// Banner Menu Configuration +define("BANNER_MENU_L1", "Advertisement"); +//define("BANNER_MENU_L2", "Banner menu configuration saved"); + +define("BANNER_MENU_L3", "Caption"); +//define("BANNER_MENU_L4", "Campaign"); +define("BANNER_MENU_L5", "Banner Menu Configuration"); +define("BANNER_MENU_L6", "Choose campaigns to show in menu"); +//define("BANNER_MENU_L7", "available campaigns"); +///define("BANNER_MENU_L8", "selected campaigns"); +//define("BANNER_MENU_L9", "remove selection"); +define("BANNER_MENU_L10", "how should the selected campaigns be shown ?"); +define("BANNER_MENU_L11", "Choose render type ..."); // Render type +define("BANNER_MENU_L12", "One campaign in single menu"); +define("BANNER_MENU_L13", "All selected campaigns in one single menu"); +define("BANNER_MENU_L14", "All selected campaigns in separate menus"); +//define("BANNER_MENU_L15", "how many banners should be shown ?"); +//define("BANNER_MENU_L16", "this setting will only be used with options 2 and 3.
if less banners are present the maximum available amount will be used."); +//define("BANNER_MENU_L17", "set amount ..."); + +//define("BANNER_MENU_L18", "Update Menu Settings"); +define('BANNER_MENU_L19', 'Number of banners to show'); +define('BANNER_MENU_L20', 'This is only used when multiple campaigns are selected.'); ?> \ No newline at end of file diff --git a/e107_plugins/banner/languages/English_banner.php b/e107_plugins/banner/languages/English_banner.php index f9134917d..d620f5d73 100644 --- a/e107_plugins/banner/languages/English_banner.php +++ b/e107_plugins/banner/languages/English_banner.php @@ -2,16 +2,10 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Source: /cvs_backup/e107_0.8/e107_plugins/banner/languages/English_banner.php,v $ - * $Revision$ - * $Date$ - * $Author$ */ define("PAGE_NAME", "Banner"); diff --git a/e107_plugins/banner/languages/English_menu_banner.php b/e107_plugins/banner/languages/English_menu_banner.php index cf4e58b41..0d89719a9 100644 --- a/e107_plugins/banner/languages/English_menu_banner.php +++ b/e107_plugins/banner/languages/English_menu_banner.php @@ -1,15 +1,14 @@ if less banners are present the maximum available amount will be used."); define("BANNER_MENU_L17", "set amount ..."); -define("BANNER_MENU_L18", "Update Menu Settings"); -define('BANNER_MENU_L19', 'Nothing changed - not saved'); - +//define("BANNER_MENU_L18", "Update Menu Settings"); +//define('BANNER_MENU_L19', 'Nothing changed - not saved'); +*/ ?> \ No newline at end of file