mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 15:46:44 +02:00
Removed redundant PHP tags from LAN files.
This commit is contained in:
@@ -172,13 +172,13 @@ class _system_cron
|
||||
$message .= "<pre>".print_r(error_get_last(), true)."</pre>";
|
||||
$message .= "<h3>HEADERS LIST</h3>";
|
||||
$message .= "<pre>".print_r(headers_list(),true)."</pre>";
|
||||
$message .= "<h3>Included Files</h3>";
|
||||
$included_files = get_included_files();
|
||||
// $message .= "<h3>Included Files</h3>";
|
||||
/* $included_files = get_included_files();
|
||||
|
||||
foreach ($included_files as $filename)
|
||||
{
|
||||
$message .= $filename."<br />";
|
||||
}
|
||||
}*/
|
||||
|
||||
$eml = array(
|
||||
'subject' => "TEST Email Sent by cron. ".date("r"),
|
||||
|
@@ -4479,7 +4479,7 @@ class e107
|
||||
$_SERVER['PHP_SELF'] = $requestUrl;
|
||||
}*/
|
||||
|
||||
$eSelf = $_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_FILENAME'];
|
||||
$eSelf = !empty($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_FILENAME'];
|
||||
$_self = $this->HTTP_SCHEME.'://'.$_SERVER['HTTP_HOST'].$eSelf;
|
||||
|
||||
|
||||
@@ -4580,7 +4580,7 @@ class e107
|
||||
$inAdminDir = FALSE;
|
||||
$isPluginDir = strpos($_self,'/'.$PLUGINS_DIRECTORY) !== FALSE; // True if we're in a plugin
|
||||
$e107Path = str_replace($this->base_path, '', $_self); // Knock off the initial bits
|
||||
$curPage = basename($_SERVER['SCRIPT_FILENAME']);
|
||||
$curPage = !empty($_SERVER['SCRIPT_FILENAME']) ? basename($_SERVER['SCRIPT_FILENAME']) : '';
|
||||
$_SERVER['REQUEST_URI'] = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
|
||||
|
||||
if (
|
||||
|
@@ -902,8 +902,8 @@ class e107Email extends PHPMailer
|
||||
|
||||
|
||||
if(!empty($eml['template'])) // @see e107_core/templates/email_template.php
|
||||
{
|
||||
e107::coreLan('users', true);
|
||||
{
|
||||
require_once(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_users.php"); // do not use e107::lan etc.
|
||||
if($tmpl = e107::getCoreTemplate('email', $eml['template'], 'front', true)) //FIXME - Core template is failing with template 'notify'. Works with theme template. Issue with core template registry?
|
||||
{
|
||||
$eml['templateHTML'] = $tmpl;
|
||||
|
@@ -73,4 +73,3 @@ default :
|
||||
$text .= common_filters();
|
||||
}
|
||||
$ns -> tablerender($caption, $text);
|
||||
?>
|
@@ -6,4 +6,4 @@ $mes = e107::getMessage();
|
||||
$mes->setTitle(LAN_STATUS, 'info');
|
||||
echo $mes->render('default','info',false);
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -30,4 +30,3 @@ $text = "
|
||||
</p>
|
||||
";
|
||||
$ns->tablerender($caption, $text, 'admin_help');
|
||||
?>
|
@@ -19,4 +19,3 @@ $text = "
|
||||
|
||||
";
|
||||
$ns->tablerender($caption, $text);
|
||||
?>
|
@@ -130,4 +130,4 @@ define("RL_LAN_133", "Notice");
|
||||
define("RL_LAN_134", "Warning");
|
||||
define("RL_LAN_135", "Fatal");
|
||||
// define("RL_LAN_JS_CONFIRM", "Are you sure?");
|
||||
?>
|
||||
|
||||
|
@@ -83,4 +83,3 @@ define("ADMSLAN_73", "Admin ID: [x] name: [y]");
|
||||
//define("ADMSLAN_76", "Manage language-packs");//ADLAN_132
|
||||
|
||||
//define("ADMSLAN_2", "Site Administrator [name] updated in database."); // LAN_UPDATED
|
||||
?>
|
@@ -132,4 +132,4 @@ define("BANLAN_125", "Use my IP");
|
||||
define("BANLAN_126", "IP / Email");
|
||||
define("BANLAN_127", "Delete all [x] failed logins from database");
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -36,4 +36,3 @@ define("CACLAN_27", "Empty Browser Cache");
|
||||
define("CACLAN_28", "JS/CSS Cache");
|
||||
define("CACLAN_29", "Consolidate and cache javascript files and cascading stylesheet files.");
|
||||
define("CACLAN_30", "Empty JS/CSS Cache");
|
||||
?>
|
@@ -98,4 +98,4 @@ define("CUSLAN_79", "You must enter either a page title or a menu name.");
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -53,4 +53,4 @@
|
||||
|
||||
// end dev team
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -140,4 +140,4 @@ define("DBLAN_118", "Couldn't download .zip file");
|
||||
define("DBLAN_119", "Backup");
|
||||
define("DBLAN_120", "Starting backup....");
|
||||
define("DBLAN_121", "Moving [x] to [y].");
|
||||
?>
|
||||
|
||||
|
@@ -34,4 +34,3 @@ define("DBVLAN_26", "[x] table(s) have problems.");
|
||||
|
||||
// IMPORTANT NOTE: DBLAN has been replaced by DBBLAN in this file since 0.7 due to conflicts with db.php
|
||||
|
||||
?>
|
@@ -11,4 +11,3 @@ define("LAN_DOCS_SECTIONS", "Sections");
|
||||
define("LAN_DOCS_GOTOP", "Go to top");
|
||||
define("LAN_DOCS_ANSWER", "Answer");
|
||||
define("LAN_DOCS_QUESTION", "Question");
|
||||
?>
|
@@ -52,4 +52,3 @@ define("EMOLAN_34", "Missing files for pack");
|
||||
define("EMOLAN_35", " - deleted in database");
|
||||
define("EMOLAN_37", "Emote not set");
|
||||
define("EMOLAN_38", "Empty emote value");
|
||||
?>
|
@@ -99,4 +99,3 @@ define("FS_LAN_9", "Snapshot");
|
||||
define("FS_LAN_10", "Snapshot Created");
|
||||
define("FS_LAN_11", "The snapshot was successfully created.");
|
||||
define("FS_LAN_12", "Return To Main Page");
|
||||
?>
|
@@ -62,4 +62,3 @@ define("FMLAN_51", "Unidentified error");
|
||||
|
||||
|
||||
|
||||
?>
|
@@ -26,4 +26,3 @@ define("FLALAN_17", "Auto-ban list deleted");
|
||||
// define('FLALAN_18', "Could not ban IP address --IP-- - on whitelist");
|
||||
|
||||
// define('FLALAN_19', "Check All Delete");
|
||||
?>
|
@@ -26,4 +26,3 @@ define("FOOTLAN_17", "Charset");
|
||||
define("FOOTLAN_18", "Site Theme");
|
||||
define("FOOTLAN_19", "Server Time");
|
||||
define("FOOTLAN_20", "Security level");
|
||||
?>
|
@@ -41,4 +41,3 @@ define("FRTLAN_61", "Selection");
|
||||
//define("FRTLAN_54", "Are you sure?");
|
||||
//define("FRTLAN_55", "Confirm delete rule?");
|
||||
|
||||
?>
|
@@ -13,4 +13,4 @@ define("LAN_HEADER_04", "Admin Area");
|
||||
define("LAN_HEADER_05", "language displayed in admin area");
|
||||
define("LAN_HEADER_06", "Plugins info");
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -85,4 +85,4 @@ _
|
||||
// define("LINKLAN_10", "Create Sublink");
|
||||
// define('LINKLAN_11', 'Nothing changed - not updated');
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -80,4 +80,3 @@ define("MENLAN_60", "This theme is using deprecated elements. All [x]HEADER and
|
||||
|
||||
|
||||
|
||||
?>
|
@@ -12,4 +12,3 @@ define("METLAN_1", "Additional meta tags");
|
||||
define("METLAN_2", "e.g. < meta name='revisit-after' content='30 days' />"); //FIXME space between < and meta: parses meta tag for some reason
|
||||
define("METLAN_3", "Use news title and summary as the meta-description on news pages.");
|
||||
|
||||
?>
|
@@ -47,4 +47,4 @@ define("NF_LAN_2", "File uploaded by user");
|
||||
|
||||
define("LAN_NOTIFY_01", "Events");
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -56,4 +56,4 @@ define("SEALAN_48", "This setting only applies when the search sort method is PH
|
||||
define("SEALAN_49", "If your site includes Ideographic languages, such as Chinese and Japanese, you must use the PHP sort method.");
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -16,4 +16,3 @@ define("UDALAN_6", "Re-type password");
|
||||
define("UDALAN_7", "Change password");
|
||||
define("UDALAN_8", "Password updated for");
|
||||
|
||||
?>
|
@@ -91,4 +91,4 @@ define("UPLLAN_69", "Imported");
|
||||
define("UPLLAN_70", "Send to [x]");
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -108,4 +108,4 @@ define("UCSLAN_91", "Class Structure");
|
||||
//define("UCSLAN_UPDATE", "Update");//NOT USED ... LAN_UPDATE
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -119,4 +119,4 @@ define("EXTLAN_HELP_8", "Allow user to select from installed languages");
|
||||
// Predefined list
|
||||
define("EXTLAN_HELP_9", "Specify a predefined list. The value field selects the type of list - at present only 'timezones' is a valid entry");
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -34,4 +34,4 @@ define("WMLAN_11","Enclosed with Carousel");
|
||||
define("WMLAN_12","Welcome Message Help");
|
||||
define("WMLAN_13","This page allows you to set a message that will appear at the top of your front page all the time it's activated. You can set a different message for guests, registered/logged-in members and administrators.");
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -86,4 +86,3 @@ define("COMLAN_501", "If you are not yet registered, you may [click here to regi
|
||||
|
||||
|
||||
|
||||
?>
|
@@ -35,4 +35,3 @@ define("LAN_EMAIL_189", "I thought you might be interested in this article from"
|
||||
define("LAN_EMAIL_190", "Enter visible code");
|
||||
define("LAN_SOCIAL_LINK_CHK", "Check out this link: "); //called in soc.plugin
|
||||
|
||||
?>
|
@@ -68,4 +68,4 @@ define("LAN_ERROR_47", "Validation error: News title can't be empty!");
|
||||
define("LAN_ERROR_48", "Validation error: News SEF URL value is required field and can't be empty!");
|
||||
define("LAN_ERROR_49", "Validation error: News SEF URL is unique field - current value already in use! Please choose another SEF URL value.");
|
||||
define("LAN_ERROR_50", "Validation error: News category can't be empty!");
|
||||
?>
|
||||
|
||||
|
@@ -25,4 +25,4 @@ define("LAN_EFORM_013", "go to list");
|
||||
define("LAN_EFORM_014", "create another");
|
||||
define("LAN_EFORM_015", "edit current");
|
||||
define("LAN_EFORM_016", "After submit:");
|
||||
?>
|
||||
|
||||
|
@@ -51,4 +51,4 @@ define("LAN_FPW_100", "Forgot your password?");
|
||||
define("LAN_FPW_101", "Not to worry. Just enter your email address below and we'll send you an email with instructions to get it back.");
|
||||
define("LAN_FPW_102", "Reset Password");
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -18,4 +18,3 @@ define("LANMAILH_6", "Cannot find E-Mail server.");
|
||||
define("LANMAILH_7", " appears to be valid.");
|
||||
|
||||
|
||||
?>
|
@@ -18,4 +18,3 @@ define("LAN_MEMBERS_3","or [register] as a member.");
|
||||
define("LAN_MEMBERS_4","Click here to return to front page.");
|
||||
|
||||
|
||||
?>
|
@@ -35,4 +35,3 @@ define("NT_LAN_NU_1", "Updated");
|
||||
define("NT_LAN_ND_1", "News Item Deleted");
|
||||
define("NT_LAN_ND_2", "Deleted news item id");
|
||||
|
||||
?>
|
@@ -25,4 +25,3 @@ define("LAN_NP_URLCURRENT", "Currently viewed");
|
||||
// Replacement: "%1$d" - current page; "%2$d" - total pages
|
||||
define("NP_CAPTION", "Page [x] of [y]");
|
||||
|
||||
?>
|
@@ -64,4 +64,3 @@ define("CONTENT", "Content Page");
|
||||
define("REVIEW", "Review");
|
||||
define("OTHER", "Other page: ");
|
||||
|
||||
?>
|
@@ -26,4 +26,3 @@ define("LAN_PAGE_14", "Other Articles");
|
||||
define("LAN_PAGE_15", "Articles");
|
||||
define("LAN_PAGE_16", "There are no chapters in this book");
|
||||
define("LAN_PAGE_17", "Comments on this page are locked.")
|
||||
?>
|
@@ -23,4 +23,4 @@ define("LAN_PRINT_307", "Print this page");//TODO LANS GENERIC CANDIDATE
|
||||
|
||||
define("LAN_PRINT_1", "printer friendly");//TODO LANS GENERIC CANDIDATE
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -29,4 +29,4 @@ define("RATELAN_VERYGOOD","Very Good");
|
||||
define("RATELAN_EXCELLENT","Excellent");
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -12,4 +12,4 @@
|
||||
define("PAGE_NAME", "Site temporarily closed");
|
||||
define("LAN_SITEDOWN_00", "is temporarily closed");
|
||||
define("LAN_SITEDOWN_01", "We have temporarily closed the site for some essential maintenance. This shouldn't take too long - please check back soon. We apologise for the inconvenience.");
|
||||
?>
|
||||
|
||||
|
@@ -13,4 +13,4 @@
|
||||
define("LAN_SITELINKS_183", "Main Menu");
|
||||
//define("LAN_SITELINKS_502", "Admin Area");//NOT USED
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -34,4 +34,4 @@ define("SUBNEWSLAN_11", "Meta Description");
|
||||
define("SUBNEWSLAN_12", "Used by Facebook etc.");
|
||||
define("SUBNEWSLAN_13", "Media URLs");
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -29,4 +29,3 @@ define("LAN_7", "Most Active Threads");
|
||||
define("LAN_8", "Top Posters");
|
||||
|
||||
|
||||
?>
|
@@ -56,4 +56,3 @@ define("LAN_420", "fields are required");
|
||||
|
||||
|
||||
|
||||
?>
|
@@ -30,4 +30,3 @@ define("LANUPLOAD_18", "The uploaded file exceeds allowable limits.");
|
||||
define("LANUPLOAD_19", "Too many files uploaded - excess deleted.");
|
||||
|
||||
|
||||
?>
|
@@ -158,4 +158,3 @@ if (!defined("USER_ERR_23")) { define("USER_ERR_23","Disallowed value (exact mat
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
@@ -66,4 +66,3 @@ define("UE_LAN_COMMENT_DESC", "Comment Box");
|
||||
|
||||
|
||||
|
||||
?>
|
@@ -18,4 +18,3 @@ define("US_LAN_3", "All users");
|
||||
define("US_LAN_4", "Find username");
|
||||
define("US_LAN_5", "User(s) found");
|
||||
define("US_LAN_6", "Search");
|
||||
?>
|
@@ -28,4 +28,3 @@ define("UP_LAN_12", "Search");
|
||||
define("UP_LAN_14", "Forum Posts");
|
||||
define("UP_LAN_15", "Re");
|
||||
define("UP_LAN_16", "IP Address");
|
||||
?>
|
||||
|
Reference in New Issue
Block a user