1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

language cleanup

This commit is contained in:
marj 2009-07-18 17:03:39 +00:00
parent 3908f2a47c
commit 6657118a6b
2 changed files with 36 additions and 36 deletions
banner.php
e107_languages/English

@ -1,21 +1,19 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| Copyright (C) 2001-2009 e107 Inc
| http://e107.org
|
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/banner.php,v $
| $Revision: 1.4 $
| $Date: 2009-07-14 05:31:57 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
* e107 website system
*
* Copyright (C) 2001-2008 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/banner.php,v $
* $Revision: 1.5 $
* $Date: 2009-07-18 17:03:39 $
* $Author: marj_nl_fr $
*/
require_once("class2.php");
require_once(e_HANDLER."form_handler.php");
$rs = new form;
@ -39,7 +37,7 @@ if (isset($_POST['clientsubmit'])) {
$clean_password = $tp -> toDB($_POST['clientpassword']);
if (!$sql->db_Select("banner", "*", "`banner_clientlogin` = '{$clean_login}' AND `banner_clientpassword` = '{$clean_password}'")) {
$ns->tablerender(BANNERLAN_38, "<br /><div style='text-align:center'>".BANNERLAN_20."</div><br />");
$ns->tablerender(LAN_ERROR, "<br /><div style='text-align:center'>".BANNERLAN_20."</div><br />");
require_once(FOOTERF);
exit;
}
@ -48,7 +46,7 @@ if (isset($_POST['clientsubmit'])) {
$banner_total = $sql->db_Select("banner", "*", "`banner_clientname` = '{$row['banner_clientname']}'");
if (!$banner_total) {
$ns->tablerender(BANNERLAN_38, "<br /><div style='text-align:center'>".BANNERLAN_29."</div><br />");
$ns->tablerender(LAN_ERROR, "<br /><div style='text-align:center'>".BANNERLAN_29."</div><br />");
require_once(FOOTERF);
exit;
} else {
@ -64,7 +62,7 @@ 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" ? BANNERLAN_32 : "<b>".BANNERLAN_33."</b>");
$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;
@ -110,7 +108,7 @@ if (isset($_POST['clientsubmit'])) {
$BANNER_LOGIN_TABLE_LOGIN = $rs->form_text("clientlogin", 30, $id, 20, "tbox");
$BANNER_LOGIN_TABLE_PASSW = $rs->form_password("clientpassword", 30, "", 20, "tbox");
$BANNER_LOGIN_TABLE_SUBMIT = $rs->form_button("submit", "clientsubmit", BANNERLAN_18);
$BANNER_LOGIN_TABLE_SUBMIT = $rs->form_button("submit", "clientsubmit", LAN_CONTINUE);
if (!$BANNER_LOGIN_TABLE) {
if (file_exists(THEME."banner_template.php")) {
@ -125,4 +123,3 @@ $ns->tablerender(BANNERLAN_19, $text);
require_once(FOOTERF);
?>

@ -1,19 +1,24 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/lan_banner.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:34:38 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
* e107 website system
*
* Copyright (C) 2001-2008 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_languages/English/lan_banner.php,v $
* $Revision: 1.2 $
* $Date: 2009-07-18 17:03:39 $
* $Author: marj_nl_fr $
*/
define("PAGE_NAME", "Banner");
define("BANNERLAN_16", "Username: ");
define("BANNERLAN_17", "Password: ");
define("BANNERLAN_18", "Continue");
//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.");
define("BANNERLAN_21", "Banners Statistics");
@ -27,12 +32,10 @@ define("BANNERLAN_28", "Impressions Left");
define("BANNERLAN_29", "No banners");
define("BANNERLAN_30", "Unlimited");
define("BANNERLAN_31", "Not applicable");
define("BANNERLAN_32", "Yes");
define("BANNERLAN_33", "No");
//define("BANNERLAN_32", "Yes"); // English LAN_YES
//define("BANNERLAN_33", "No"); // English LAN_NO
define("BANNERLAN_34", "Ends:");
define("BANNERLAN_35", "Clickthrough IP addresses");
define("BANNERLAN_36", "Active:");
define("BANNERLAN_37", "Starts:");
define("BANNERLAN_38", "Error");
?>
//define("BANNERLAN_38", "Error"); // English LAN_ERROR