1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Banner Lans to Generic Terms #6

Replace duplicates with common terms in Banner Plugin.
Created this TODO term also LAN_DEFAULT_TABLE_DATA - for use in other
plugins too.
This commit is contained in:
MikeyGMT 2016-12-02 10:33:29 +00:00
parent ab26e0cb13
commit 022ceb9997
11 changed files with 87 additions and 60 deletions

View File

@ -259,12 +259,14 @@ define("LAN_NOTWRITABLE"," is not writable, you need to CHMOD 777 the file or fo
define("LAN_NOTREADABLE", "Not Readable");
define("LAN_MISSING", "Missing");
define("LAN_UNUSED", "Unused");
define("LAN_TOOLTIP", "Tooltip");
define("LAN_TIME","Time");
// define("LAN_YES","Yes");
// define("LAN_NO","No"); // defined in e107_languages/English/English.php
define("LAN_EMPTY","There are no entries in the database yet");
define("LAN_EXISTING","Existing Entries");
define("LAN_DEFAULT_TABLE_DATA","Adding default table data to table:");
define("LAN_CONFDELETE","Confirm Delete");
define("LAN_PLUGIN","Plugin");
@ -286,6 +288,7 @@ define("LAN_DISPLAYOPT", "Edit Display Options");
define("LAN_DATESTAMP","Date stamp");
define("LAN_TIMESTAMP","Timestamp");
define("LAN_IP","IP");
define("LAN_IP_ADDRESS","IP Address");
define("LAN_PAGE","PAGE");
define("LAN_AGENT","AGENT");
define("LAN_LANG","Lang.");
@ -310,6 +313,7 @@ define("LAN_UPLOAD_ADDFILE","Add Another File");
define("LAN_UPLOAD_CONFIRM","Any unsaved changes to this page will be lost. Continue?");
define("LAN_UPLOAD_777","Folder is missing or not writable, you need to CHMOD 777 the following folder before uploading:");
define("LAN_UPLOAD_SERVEROFF", "This option is disabled as file uploading is not enabled on your server");
define("LAN_WIDTH","Width");
define("LAN_DISABLED","Disabled");
define("LAN_ENABLED", "Enabled");
@ -376,8 +380,8 @@ define("LAN_DEMO_FORBIDDEN", "Changes on this page are not possible in demo mode
define("LAN_COPYRIGHT", "Copyright");
define("LAN_MANAGER", "Manage Permissions");
define("LAN_PING", "Ping");
define("LAN_START", "Starting");
define("LAN_END", "Ending");
define("LAN_START", "Start");
define("LAN_END", "End");
define("LAN_PREVIEW", "Preview");

View File

@ -2,7 +2,7 @@
/*
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
@ -76,7 +76,7 @@ class banner_admin extends e_admin_dispatcher
'main/list' => array('caption'=> LAN_MANAGE, 'perm' => 'P'),
'main/create' => array('caption'=> LAN_CREATE, 'perm' => 'P'),
'main/menu' => array('caption'=> BNRLAN_36, 'perm' => 'P'),
// 'main/menu' => array('caption'=> BNRLAN_36, 'perm' => 'P'), //NOW CONFIGURED IN MENU MGR
// 'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => 'P'),
// 'main/custom' => array('caption'=> 'Custom Page', 'perm' => 'P')
@ -96,7 +96,7 @@ class banner_admin extends e_admin_dispatcher
class banner_ui extends e_admin_ui
{
protected $pluginTitle = 'Banners';
protected $pluginTitle = LAN_PLUGIN_BANNER_NAME;
protected $pluginName = 'banner';
protected $table = 'banner';
protected $pid = 'banner_id';
@ -114,27 +114,27 @@ class banner_ui extends e_admin_ui
protected $fields = array (
'checkboxes' => array ( 'title' => '', 'type' => null, 'data' => null, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ),
'banner_id' => array ( 'title' => LAN_ID, 'type' => null, 'data' => 'int', 'width' => '2%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'banner_campaign' => array ( 'title' => 'Campaign', 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => array( 'tdClassRight'=>'form-inline'), 'class' => 'left', 'thclass' => 'left', ),
'banner_campaign' => array ( 'title' => BNRLAN_11, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => array( 'tdClassRight'=>'form-inline'), 'class' => 'left', 'thclass' => 'left', ),
'banner_clientname' => array ( 'title' => 'Clientname', 'type' => 'method', 'tab'=>1, 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'banner_clientname' => array ( 'title' => BANNERLAN_22, 'type' => 'method', 'tab'=>1, 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'banner_clientlogin' => array ( 'title' => BNRLAN_12, 'type' => 'method', 'tab'=>1, 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_clientpassword' => array ( 'title' => BNRLAN_13, 'type' => 'text', 'tab'=>1,'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => 'strength=1&password=1&required=0&generate=1&nomask=1', 'class' => 'center', 'thclass' => 'center', ),
'banner_image' => array ( 'title' => BNRLAN_14, 'type' => 'image', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => 'thumb=0x50', 'writeParms' => 'media=banner&w=600', 'class' => 'left', 'thclass' => 'left', ),
'banner_clientpassword' => array ( 'title' => LAN_PASSWORD, 'type' => 'text', 'tab'=>1,'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => 'strength=1&password=1&required=0&generate=1&nomask=1', 'class' => 'center', 'thclass' => 'center', ),
'banner_image' => array ( 'title' => LAN_IMAGE, 'type' => 'image', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => 'thumb=0x50', 'writeParms' => 'media=banner&w=600', 'class' => 'left', 'thclass' => 'left', ),
'banner_clickurl' => array ( 'title' => BNRLAN_15, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'inline' => true, 'help' => '', 'readParms' => '', 'writeParms' => 'size=xxlarge&required=1', 'class' => 'left', 'thclass' => 'left', ),
'banner_impurchased' => array ( 'title' => BNRLAN_16, 'type' => 'number', 'data' => 'int', 'width' => 'auto', 'inline' => true, 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', 'help'=>'0 = unlimited' ),
'banner_tooltip' => array ( 'title' => BNRLAN_49, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => array('size'=>'xxlarge'), 'class' => 'center', 'thclass' => 'center', ),
'banner_tooltip' => array ( 'title' => LAN_TOOLTIP, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => array('size'=>'xxlarge'), 'class' => 'center', 'thclass' => 'center', ),
'banner_description' => array ( 'title' => LAN_DESCRIPTION, 'type' => 'textarea', 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_keywords' => array ( 'title' => LAN_KEYWORDS, 'type' => 'tags', 'data' => 'str', 'width' => 'auto', 'inline' => true, 'help' => 'When news or pages are loaded, this will limit banner result to matching keywords. Use with caution.', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_startdate' => array ( 'title' => BNRLAN_17, 'type' => 'datestamp', 'tab'=>1,'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_enddate' => array ( 'title' => BNRLAN_18, 'type' => 'datestamp', 'tab'=>1, 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_startdate' => array ( 'title' => LAN_START, 'type' => 'datestamp', 'tab'=>1,'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_enddate' => array ( 'title' => LAN_END, 'type' => 'datestamp', 'tab'=>1, 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_active' => array ( 'title' => LAN_VISIBILITY, 'type' => 'userclass', 'data' => 'int', 'width' => 'auto', 'filter' => true, 'inline' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'banner_clicks' => array ( 'title' => BANNERLAN_24, 'type' => 'number', 'noedit'=>true, 'readonly'=>2, 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'click_percentage' => array ( 'title' => BANNERLAN_25, 'type' => 'method', 'noedit'=>true, 'data' => false, 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'banner_impressions' => array ( 'title' => 'Impressions', 'type' => 'method', 'noedit'=>true, 'data' => 'int', 'width' => '12%', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'banner_impressions' => array ( 'title' => BANNERLAN_26, 'type' => 'method', 'noedit'=>true, 'data' => 'int', 'width' => '12%', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'banner_ip' => array ( 'title' => LAN_IP, 'type' => 'hidden', 'noedit'=>true, 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'options' => array ( 'title' => LAN_OPTIONS, 'type' => null, 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ),
);
@ -388,7 +388,7 @@ class banner_form_ui extends e_admin_form_ui
if ($sql->select("banner"))
{
$this->campaigns['_new_'] = "(New Campaign)";
$this->campaigns['_new_'] = "(".LAN_ADD.")";
while ($banner_row = $sql->fetch())
@ -840,14 +840,14 @@ if (!$action)
<tr>
<td class='center'>".$banner_row['banner_id']."</td>
<td class='e-pointer' onclick=\"e107Helper.toggle('banner-infocell-{$banner_row['banner_id']}')\">
<a href='#banner-infocell-{$banner_row['banner_id']}' class='action e-expandit' title='".BNRLAN_7."'>
".($banner_row['banner_clientname'] ? $banner_row['banner_clientname'] : BNRLAN_8)."</a>
<a href='#banner-infocell-{$banner_row['banner_id']}' class='action e-expandit' title='".LAN_STATS."'>
".($banner_row['banner_clientname'] ? $banner_row['banner_clientname'] : BANNERLAN_31)."</a>
<div class='e-hideme clear' id='banner-infocell-{$banner_row['banner_id']}'>
<div class='indent'>
<div class='field-spacer'><strong>".BNRLAN_11.": </strong>".$banner_row['banner_campaign']."</div>
<div class='field-spacer'><strong>".LAN_VISIBILITY." </strong>".r_userclass_name($banner_row['banner_active'])." ".$textvisivilitychanged."</div>
<div class='field-spacer'><strong>".BNRLAN_9.": </strong>".$start_date."</div>
<div class='field-spacer'><strong>".BNRLAN_10.": </strong>".$end_date."</div>
<div class='field-spacer'><strong>".LAN_START.": </strong>".$start_date."</div>
<div class='field-spacer'><strong>".LAN_END.": </strong>".$end_date."</div>
</div>
</div>
</td>
@ -1043,11 +1043,11 @@ if ($action == "create")
<td>".$frm->text('client_login', $_POST['client_login'], '20')."</td>
</tr>
<tr>
<td>".BNRLAN_13."</td>
<td>".LAN_PASSWORD."</td>
<td>".$frm->password('client_password', $_POST['client_password'], '50','strength=1&generate=1&required=0')."</td>
</tr>
<tr>
<td>".BNRLAN_14."</td>
<td>".LAN_IMAGE."</td>
<td>".$frm->imagepicker('banner_image', $_POST['banner_image'], '', 'media=banner&w=600');
@ -1113,12 +1113,12 @@ if ($action == "create")
<td>".$frm->number('impressions_purchased', $_POST['impressions_purchased'], 10)."<span class='field-help'>".BNRLAN_31."</span></td>
</tr>
<tr>
<td>".BNRLAN_17."</td>
<td>".LAN_START."</td>
<td>".$frm->datepicker('banner_startdate', $_POST['banner_startdate'],'type=date')."</td>
</tr>
<tr>
<td>".BNRLAN_18."</td>
<td>".$frm->datepicker('banner_enddate', $_POST['banner_enddate'],'type=date')."</td>
<td>".LAN_END."</td>
<td>".$frm->datepicker('banner_enddate', $_POST['banner_enddate'],'type=date')."</td>
</tr>
<tr>
<td>".LAN_VISIBILITY."</td>

View File

@ -2,7 +2,7 @@
/*
* e107 website system
*
* Copyright (C) 2009-2014 e107 Inc (e107.org)
* Copyright (C) 2009-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
@ -82,7 +82,7 @@ if (isset($_POST['clientsubmit']))
// check
if(!$banner_total)
{
$mes->addInfo(BANNERLAN_29);
$mes->addInfo(LAN_NO_RECORDS_FOUND.": ".LAN_PLUGIN_BANNER_NAME);
$ns->tablerender(PAGE_NAME, $mes->render());
require_once(FOOTERF);
exit;
@ -101,9 +101,9 @@ if (isset($_POST['clientsubmit']))
$BANNER_TABLE_BANNER_ID = $row['banner_id'];
$BANNER_TABLE_BANNER_CLICKS = $row['banner_clicks'];
$BANNER_TABLE_BANNER_IMPRESSIONS = $row['banner_impressions'];
$BANNER_TABLE_ACTIVE = BANNERLAN_36.($row['banner_active'] != "255" ? LAN_YES : "<b>".LAN_NO."</b>");
$BANNER_TABLE_STARTDATE = BANNERLAN_37." ".$start_date;
$BANNER_TABLE_ENDDATE = BANNERLAN_34." ".$end_date;
$BANNER_TABLE_ACTIVE = LAN_VISIBILITY." ".($row['banner_active'] != "255" ? LAN_YES : "<b>".LAN_NO."</b>");
$BANNER_TABLE_STARTDATE = LAN_START." ".$start_date;
$BANNER_TABLE_ENDDATE = LAN_END." ".$end_date;
if ($row['banner_ip'])
{

View File

@ -2,7 +2,7 @@
/*
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*

View File

@ -43,7 +43,7 @@ class banner_setup
);
$status = ($sql->insert('banner', $insert)) ? E_MESSAGE_SUCCESS : E_MESSAGE_ERROR;
$mes->add("Adding Default table data to table: banner", $status); //TODO Generic LAN "LAN_DEFAULT_TABLE_DATA"
$mes->add(LAN_DEFAULT_TABLE_DATA." banner", $status);
}

View File

@ -1,5 +1,14 @@
<?php
// $Id$
/*
* e107 website system
*
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Banner template
*/
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:98%"); }
@ -13,11 +22,11 @@ if(!isset($BANNER_LOGIN_TABLE))
<form method='post' action='".e_SELF."'>\n
<table style='width:40%'>
<tr>
<td style='width:15%' class='defaulttext'>".BANNERLAN_16."</td>
<td style='width:15%' class='defaulttext'>".BANNERLAN_16." </td>
<td>{BANNER_LOGIN_TABLE_LOGIN}\n</td>
</tr>
<tr>
<td style='width:15%' class='defaulttext'>".BANNERLAN_17."</td>
<td style='width:15%' class='defaulttext'>".LAN_PASSWORD." </td>
<td>{BANNER_LOGIN_TABLE_PASSW}\n</td>
</tr>
<tr>

View File

@ -2,7 +2,7 @@
/*
* e107 website system
*
* Copyright (C) 2008-2015 e107 Inc (e107.org)
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
@ -31,10 +31,10 @@ class banner_menu
$renderTypes = array(BNRLAN_48,'1 - '.BNRLAN_45,'2 - '.BNRLAN_46, "3 - ".BNRLAN_47);
$fields = array();
$fields['banner_caption'] = array('title'=> BNRLAN_37, 'type'=>'text', 'multilan'=>true, 'writeParms'=>array('size'=>'xxlarge'));
$fields['banner_caption'] = array('title'=> LAN_CAPTION, 'type'=>'text', 'multilan'=>true, 'writeParms'=>array('size'=>'xxlarge'));
$fields['banner_campaign'] = array('title'=> BNRLAN_39, 'type'=>'method');
$fields['banner_amount'] = array('title'=> BNRLAN_41, 'type'=>'text', 'writeParms'=>array('pattern'=>'[0-9]*'));
$fields['banner_width'] = array('title'=> "Width", 'type'=>'text', 'help'=>"In pixels", 'writeParms'=>array('pattern'=>'[0-9]*'));
$fields['banner_width'] = array('title'=> LAN_WIDTH, 'type'=>'text', 'help'=>"In pixels", 'writeParms'=>array('pattern'=>'[0-9]*'));
$fields['banner_rendertype'] = array('title'=> BNRLAN_43, 'type'=>'dropdown', 'writeParms'=>array('optArray'=>$renderTypes));
return $fields;

View File

@ -2,7 +2,7 @@
/*
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*

View File

@ -1,10 +1,13 @@
<?php
/*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* e107 website system
*
* Administration Language File
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
*/
define("BNRLAN_00", "No banners created yet."); // 15
define("BNRLAN_01", "Banner ID not found.");
@ -16,19 +19,19 @@ define("BNRLAN_01", "Banner ID not found.");
// define("BNRLAN_5", "Impressions Left");
// define("BNRLAN_6", "Unlimited"); // 35
define("BNRLAN_7", "Stats"); // 65
define("BNRLAN_8", "N/A"); // 66
define("BNRLAN_9", "Starts"); // 45
define("BNRLAN_10", "Ends"); // 21
//define("BNRLAN_7", "Stats"); // 65 LAN_STATS
//define("BNRLAN_8", "N/A"); // 66 BANNERLAN_31
//define("BNRLAN_9", "Starts"); // 45 //LAN_START
//define("BNRLAN_10", "Ends"); // 21 //LAN_END
define("BNRLAN_11", "Campaign"); // 24
define("BNRLAN_12", "Client Login"); // 30
define("BNRLAN_13", "Client Password"); //31
define("BNRLAN_14", "Banner Image"); // 32
//define("BNRLAN_13", "Client Password"); //31
//define("BNRLAN_14", "Banner Image"); // 32 LAN_IMAGE
define("BNRLAN_15", "Click URL"); // 33
define("BNRLAN_16", "Number of impressions purchased"); // 34
define("BNRLAN_17", "Start Date"); // 36
define("BNRLAN_18", "End Date"); //37
//define("BNRLAN_17", "Start Date"); // 36 //LAN_START
//define("BNRLAN_18", "End Date"); //37 //LAN_END
// 19 - 24 extra space
@ -37,7 +40,7 @@ define("BNRLAN_25", "Add new or choose existing campaign");
// define("BNRLAN_27", "New Campaign"); // 26a
define("BNRLAN_28", "Add new or choose existing client");
define("BNRLAN_29", "Enter new client");
define("BNRLAN_30", "New Client"); // 29a
//define("BNRLAN_30", "New Client"); // 29a
define("BNRLAN_31", "No limit when left blank."); // 38
define("BNRLAN_32", "Choose banner image"); // 43
@ -46,9 +49,9 @@ define("BNRLAN_33", "Code"); //46
// 34 - 35 extra space
define("BNRLAN_35", "Banner menu"); // 61
define("BNRLAN_36", "Banner Menu Configuration"); //68
//define("BNRLAN_36", "Banner Menu Configuration"); //68
define("BNRLAN_37", "Caption"); // BANNER_MENU_L3
//define("BNRLAN_37", "Caption"); // BANNER_MENU_L3 LAN_CAPTION
define("BNRLAN_38", "Advertisement"); // BANNER_MENU_L1
define("BNRLAN_39", "Campaigns to show in menu"); // BANNER_MENU_L6
@ -64,5 +67,5 @@ define("BNRLAN_46", "All selected campaigns rendered in one single menu"); // BA
define("BNRLAN_47", "All selected campaigns rendered in separate menus"); // BANNER_MENU_L14
define("BNRLAN_48", "All selected campaigns (no box rendering)");
define("BNRLAN_49", "Tooltip");
?>
//define("BNRLAN_49", "Tooltip");//LAN_TOOLTIP Linkwords also
?>

View File

@ -2,15 +2,15 @@
/*
* e107 website system
*
* Copyright (C) 2008-2014 e107 Inc (e107.org)
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
define("BANNERLAN_16", "Username: ");
define("BANNERLAN_17", "Password: ");
//define("BANNERLAN_16", "Username: ");//LAN_USER
//define("BANNERLAN_17", "Password: ");//LAN_PASSWORD
//define("BANNERLAN_18", "Continue"); // English LAN_CONTINUE
define("BANNERLAN_19", "Please enter your client login and password to continue");
define("BANNERLAN_20", "Sorry, unable to find those details in the database. Please contact the site administrator for details.");
@ -22,14 +22,17 @@ define("BANNERLAN_25", "Click %");
define("BANNERLAN_26", "Impressions");
define("BANNERLAN_27", "Impressions Purchased");
define("BANNERLAN_28", "Impressions Left");
define("BANNERLAN_29", "No banners");
//define("BANNERLAN_29", "No banners");
define("BANNERLAN_30", "Unlimited");
define("BANNERLAN_31", "Not applicable");
//define("BANNERLAN_32", "Yes"); // English LAN_YES
//define("BANNERLAN_33", "No"); // English LAN_NO
define("BANNERLAN_34", "Ends:");
//define("BANNERLAN_34", "Ends:");//LAN_END
define("BANNERLAN_35", "Clickthrough IP addresses");
define("BANNERLAN_36", "Active:");
define("BANNERLAN_37", "Starts:");
//define("BANNERLAN_36", "Active:");//LAN_VISIBILITY
//define("BANNERLAN_37", "Starts:");//LAN_START
//define("BANNERLAN_38", "Error"); // English LAN_ERROR
define("BANNERLAN_39", "No image assigned to this banner.");
?>

View File

@ -1,5 +1,13 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
define("LAN_PLUGIN_BANNER_NAME", "Banners");
define("LAN_PLUGIN_BANNER_DESCRIPTION", "Add advertising banners to your e107 website");