mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Banner management/menu config ready;
Banlist administration - work in progress
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -9,8 +9,8 @@
|
|||||||
* URL Management
|
* URL Management
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/eurl.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/eurl.php,v $
|
||||||
* $Revision: 1.6 $
|
* $Revision: 1.7 $
|
||||||
* $Date: 2008-12-20 12:30:18 $
|
* $Date: 2008-12-22 16:50:07 $
|
||||||
* $Author: secretr $
|
* $Author: secretr $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -215,7 +215,7 @@ class admin_url_config {
|
|||||||
if($custom) $checked_profile = ' disabled="disabled"';
|
if($custom) $checked_profile = ' disabled="disabled"';
|
||||||
$config_profiles .= "
|
$config_profiles .= "
|
||||||
<input type='radio' class='radio' id='{$section['path']}-profile-{$config_profile}' name='cprofile[{$section['path']}]' value='{$profile_id}'{$checked_profile} /><label for='{$section['path']}-profile-{$config_profile}'>".LAN_EURL_PROFILE." [".varsettrue($profile_info['title'], $config_profile)."]</label>
|
<input type='radio' class='radio' id='{$section['path']}-profile-{$config_profile}' name='cprofile[{$section['path']}]' value='{$profile_id}'{$checked_profile} /><label for='{$section['path']}-profile-{$config_profile}'>".LAN_EURL_PROFILE." [".varsettrue($profile_info['title'], $config_profile)."]</label>
|
||||||
<a href='#{$section['path']}-profile-{$config_profile}-info' class='e-expandit' title='".LAN_EURL_INFOALT."'><img src='".e_IMAGE_ABS."admin_images/docs_16.png' alt='' /></a>
|
<a href='#{$section['path']}-profile-{$config_profile}-info' class='e-expandit' title='".LAN_EURL_INFOALT."'><img class='icon action' src='".e_IMAGE_ABS."admin_images/docs_16.png' alt='' /></a>
|
||||||
<div class='e-hideme' id='{$section['path']}-profile-{$config_profile}-info'>
|
<div class='e-hideme' id='{$section['path']}-profile-{$config_profile}-info'>
|
||||||
<div class='indent'>
|
<div class='indent'>
|
||||||
".(varsettrue($profile_info['title']) ? '<strong>'.$profile_info['title'].'</strong><br /><br />' : '')."
|
".(varsettrue($profile_info['title']) ? '<strong>'.$profile_info['title'].'</strong><br /><br />' : '')."
|
||||||
|
@@ -8,8 +8,8 @@
|
|||||||
* e107 Admin Helper
|
* e107 Admin Helper
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_files/jslib/core/admin.js,v $
|
* $Source: /cvs_backup/e107_0.8/e107_files/jslib/core/admin.js,v $
|
||||||
* $Revision: 1.8 $
|
* $Revision: 1.9 $
|
||||||
* $Date: 2008-12-21 11:47:29 $
|
* $Date: 2008-12-22 16:50:07 $
|
||||||
* $Author: secretr $
|
* $Author: secretr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -46,8 +46,11 @@ e107Admin.Helper = {
|
|||||||
element.select('button.action[name=check_all]').invoke('observe', 'click', this.allCheckedEventHandler);
|
element.select('button.action[name=check_all]').invoke('observe', 'click', this.allCheckedEventHandler);
|
||||||
element.select('button.action[name=uncheck_all]').invoke('observe', 'click', this.allUncheckedEventHandler);
|
element.select('button.action[name=uncheck_all]').invoke('observe', 'click', this.allUncheckedEventHandler);
|
||||||
element.select('button.delete', 'input.delete[type=image]', 'a.delete').invoke('observe', 'click', function(e) {
|
element.select('button.delete', 'input.delete[type=image]', 'a.delete').invoke('observe', 'click', function(e) {
|
||||||
if(e.element().hasClassName('no-confirm') || (e.element().readAttribute('rel') && e.element().readAttribute('rel').toLowerCase == 'no-confirm')) return;
|
var el = e.findElement('a.delete');
|
||||||
var msg = e.element().readAttribute('title') || e107.getModLan('delete_confirm');
|
if(!el) el = e.element();
|
||||||
|
if(!el) return;
|
||||||
|
if(el.hasClassName('no-confirm') || (el.readAttribute('rel') && el.readAttribute('rel').toLowerCase() == 'no-confirm')) return;
|
||||||
|
var msg = el.readAttribute('title') || e107.getModLan('delete_confirm');
|
||||||
if( !e107Helper.confirm(msg) ) e.stop();
|
if( !e107Helper.confirm(msg) ) e.stop();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||||
* $Id: lan_admin.php,v 1.14 2008-12-21 12:59:56 e107steved Exp $
|
* $Id: lan_admin.php,v 1.15 2008-12-22 16:50:07 secretr Exp $
|
||||||
*
|
*
|
||||||
* Admin Language File
|
* Admin Language File
|
||||||
*/
|
*/
|
||||||
@@ -216,7 +216,7 @@ define("LAN_SAVE","Save");
|
|||||||
define("LAN_SAVED","Saved");
|
define("LAN_SAVED","Saved");
|
||||||
define("LAN_SETSAVED","Your settings have been saved");
|
define("LAN_SETSAVED","Your settings have been saved");
|
||||||
define("LAN_CONFIRMDEL","Please confirm you wish to delete");
|
define("LAN_CONFIRMDEL","Please confirm you wish to delete");
|
||||||
define("LAN_JSCONFIRM","Please confirm you wish to delete");
|
define("LAN_JSCONFIRM","Are you sure?");
|
||||||
define("LAN_OPTIONS","Options");
|
define("LAN_OPTIONS","Options");
|
||||||
define("LAN_PREFS","Preferences");
|
define("LAN_PREFS","Preferences");
|
||||||
define("LAN_DELETED","Successfully deleted");
|
define("LAN_DELETED","Successfully deleted");
|
||||||
|
@@ -1,15 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
+ ----------------------------------------------------------------------------+
|
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||||
| e107 website system - Language File.
|
* $Id: lan_banner.php,v 1.3 2008-12-22 16:50:07 secretr Exp $
|
||||||
|
|
*
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_banner.php,v $
|
* Administration Language File
|
||||||
| $Revision: 1.2 $
|
*
|
||||||
| $Date: 2008-08-26 19:45:22 $
|
|
||||||
| $Author: e107steved $
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
*/
|
*/
|
||||||
define("BNRLAN_1", "Banner deleted.");
|
define("BNRLAN_1", "Banner #%d deleted.");
|
||||||
define("BNRLAN_2", "Please confirm you wish to delete this banner - once deleted it cannot be retrieved");
|
define("BNRLAN_2", "Please confirm you wish to delete this banner - once deleted it cannot be retrieved");
|
||||||
define("BNRLAN_5", "Confirm Delete Banner");
|
define("BNRLAN_5", "Confirm Delete Banner");
|
||||||
define("BNRLAN_6", "Delete cancelled.");
|
define("BNRLAN_6", "Delete cancelled.");
|
||||||
@@ -27,11 +24,9 @@ define("BNRLAN_21", "Ends");
|
|||||||
define("BNRLAN_22", "Update Banner");
|
define("BNRLAN_22", "Update Banner");
|
||||||
define("BNRLAN_23", "Add New Banner");
|
define("BNRLAN_23", "Add New Banner");
|
||||||
define("BNRLAN_24", "Campaign");
|
define("BNRLAN_24", "Campaign");
|
||||||
define("BNRLAN_25", "choose existing campaign");
|
|
||||||
define("BNRLAN_26", "enter new campaign");
|
|
||||||
define("BNRLAN_27", "Client");
|
define("BNRLAN_27", "Client");
|
||||||
define("BNRLAN_28", "choose existing client");
|
|
||||||
define("BNRLAN_29", "enter new client");
|
|
||||||
define("BNRLAN_30", "Client Login");
|
define("BNRLAN_30", "Client Login");
|
||||||
define("BNRLAN_31", "Client Password");
|
define("BNRLAN_31", "Client Password");
|
||||||
define("BNRLAN_32", "Banner Image");
|
define("BNRLAN_32", "Banner Image");
|
||||||
@@ -48,26 +43,38 @@ define("BNRLAN_42", "Banner Rotation System");
|
|||||||
define("BNRLAN_43", "Choose banner image");
|
define("BNRLAN_43", "Choose banner image");
|
||||||
define("BNRLAN_45", "Starts");
|
define("BNRLAN_45", "Starts");
|
||||||
define("BNRLAN_46", "Code");
|
define("BNRLAN_46", "Code");
|
||||||
define("BNRLAN_58", "banner front page");
|
define("BNRLAN_58", "Banner front page");
|
||||||
define("BNRLAN_59", "create new banner");
|
define("BNRLAN_59", "Create new banner");
|
||||||
define("BNRLAN_60", "campaigns");
|
define("BNRLAN_60", "campaigns");
|
||||||
define("BNRLAN_61", "banner menu ");
|
define("BNRLAN_61", "Banner menu");
|
||||||
define("BNRLAN_62", "banner options");
|
define("BNRLAN_62", "Banner Options");
|
||||||
define("BNRLAN_63", "Banner Created");
|
define("BNRLAN_63", "Banner Created");
|
||||||
define("BNRLAN_64", "Banner Updated");
|
define("BNRLAN_64", "Banner Updated");
|
||||||
|
|
||||||
define("BANNER_MENU_L1", "Advertisement");
|
define("BANNER_MENU_L1", "Advertisement");
|
||||||
define("BANNER_MENU_L2", "Banner menu configuration saved");
|
define("BANNER_MENU_L2", "Banner menu configuration saved");
|
||||||
define("BANNER_MENU_L3", "Caption");
|
define("BANNER_MENU_L3", "Caption");
|
||||||
define("BANNER_MENU_L5", "Banner Configuration");
|
//define("BANNER_MENU_L5", "Banner Configuration");
|
||||||
define("BANNER_MENU_L6", "choose campaigns to show in menu");
|
define("BANNER_MENU_L6", "choose campaigns to show in menu");
|
||||||
define("BANNER_MENU_L7", "available campaigns");
|
//define("BANNER_MENU_L7", "available campaigns");
|
||||||
define("BANNER_MENU_L8", "selected campaigns");
|
//define("BANNER_MENU_L8", "selected campaigns");
|
||||||
define("BANNER_MENU_L9", "remove selection");
|
//define("BANNER_MENU_L9", "remove selection");
|
||||||
define("BANNER_MENU_L10", "Render type");
|
define("BANNER_MENU_L10", "Render type");
|
||||||
//define("BANNER_MENU_L12", "plain");
|
//define("BANNER_MENU_L12", "plain");
|
||||||
//define("BANNER_MENU_L13", "in captioned box");
|
//define("BANNER_MENU_L13", "in captioned box");
|
||||||
define("BANNER_MENU_L18", "Update Menu Settings");
|
define("BANNER_MENU_L18", "Update Menu Settings");
|
||||||
define("BANNER_MENU_L19", "number of banners to show:<br />this is only used when multiple campaigns are selected");
|
define("BANNER_MENU_L19", "number of banners to show:<br />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");
|
||||||
|
|
||||||
|
define("BNRLAN_67", "No campaigns yet.");
|
||||||
|
define("BNRLAN_68", "Banner Menu Configuration");
|
||||||
?>
|
?>
|
@@ -1,23 +1,29 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
+ ----------------------------------------------------------------------------+
|
* e107 website system
|
||||||
| e107 website system
|
*
|
||||||
|
|
* Copyright (C) 2001-2008 e107 Inc (e107.org)
|
||||||
| <20>Steve Dunstan 2001-2002
|
* Released under the terms and conditions of the
|
||||||
| http://e107.org
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
| jalist@e107.org
|
*
|
||||||
|
|
* Banner Menu Configuration (OLD - redirects to e107_admin/banner.php)
|
||||||
| Released under the terms and conditions of the
|
*
|
||||||
| GNU General Public License (http://gnu.org).
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/banner_menu/config.php,v $
|
||||||
|
|
* $Revision: 1.4 $
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/banner_menu/config.php,v $
|
* $Date: 2008-12-22 16:50:07 $
|
||||||
| $Revision: 1.3 $
|
* $Author: secretr $
|
||||||
| $Date: 2008-12-08 22:23:53 $
|
*
|
||||||
| $Author: e107steved $
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
*/
|
*/
|
||||||
$eplug_admin = TRUE;
|
$eplug_admin = TRUE;
|
||||||
require_once("../../class2.php");
|
require_once("../../class2.php");
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The same, cleaned up code is already part of banner.php
|
||||||
|
* FIXME - we should be able to combine all core menus in a nice way... somehow
|
||||||
|
*/
|
||||||
|
header('Location:'.e_ADMIN_ABS.'banner.php?menu');
|
||||||
|
exit;
|
||||||
|
|
||||||
if (!getperms("1")) // Access to those who can change prefs, theme etc
|
if (!getperms("1")) // Access to those who can change prefs, theme etc
|
||||||
{
|
{
|
||||||
header("location:".e_BASE."index.php");
|
header("location:".e_BASE."index.php");
|
||||||
|
@@ -328,7 +328,6 @@ input.action.edit {}
|
|||||||
.admin-page-body { padding: 20px 15px 0; }
|
.admin-page-body { padding: 20px 15px 0; }
|
||||||
.admin-footer {}
|
.admin-footer {}
|
||||||
legend { font-size: 14px; font-weight: bold; padding: 5px; }
|
legend { font-size: 14px; font-weight: bold; padding: 5px; }
|
||||||
.admin-help p { margin-bottom: 10px } /* help side menu */
|
|
||||||
|
|
||||||
/******** Layout */
|
/******** Layout */
|
||||||
.main-table { width: 100%; border: 0 none; }
|
.main-table { width: 100%; border: 0 none; }
|
||||||
|
Reference in New Issue
Block a user