1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 16:17:14 +02:00

Replace Duplicate LANs : LAN_TITLE

Replace Duplicate LANs : LAN_TITLE
This commit is contained in:
MikeyGMT
2015-07-02 13:43:22 +01:00
parent dccba01f37
commit 142d31768c
11 changed files with 19 additions and 19 deletions

View File

@@ -160,14 +160,14 @@ class admin_log_ui extends e_admin_ui
'dblog_user_id' => array ( 'title' => LAN_USER, 'type' => 'user', 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms'=>'link=1', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), 'dblog_user_id' => array ( 'title' => LAN_USER, 'type' => 'user', 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms'=>'link=1', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'dblog_eventcode' => array ( 'title' => RL_LAN_023, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), 'dblog_eventcode' => array ( 'title' => RL_LAN_023, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'dblog_title' => array ( 'title' => RL_LAN_025, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), 'dblog_title' => array ( 'title' => LAN_TITLE, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'dblog_remarks' => array ( 'title' => RL_LAN_033, 'type' => 'method', 'data' => 'str', 'width' => '35%', 'filter'=>true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), 'dblog_remarks' => array ( 'title' => RL_LAN_033, 'type' => 'method', 'data' => 'str', 'width' => '35%', 'filter'=>true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'options' => array ( 'title' => 'Options', 'type' => null, 'nolist'=>true, 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ), 'options' => array ( 'title' => 'Options', 'type' => null, 'nolist'=>true, 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ),
); );
protected $fieldpref = array( 'dblog_datestamp', 'dblog_type', 'dblog_eventcode', 'dblog_user_id', 'dblog_ip', 'dblog_title', 'dblog_remarks'); protected $fieldpref = array( 'dblog_datestamp', 'dblog_type', 'dblog_eventcode', 'dblog_user_id', 'dblog_ip', 'dblog_title', 'dblog_remarks');
//'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033), //'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
protected $prefs = array( protected $prefs = array(
@@ -1357,11 +1357,11 @@ if(isset($page_title[$action]))
'comments' => array(14, 7, 7, 7, 14, 3, 10, 12, 5, 17, 1, 1, 1), 'comments' => array(14, 7, 7, 7, 14, 3, 10, 12, 5, 17, 1, 1, 1),
'online' => array(18, 15, 7, 14, 32, 6, 4, 4)); 'online' => array(18, 15, 7, 14, 32, 6, 4, 4));
$col_titles = array( $col_titles = array(
'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033), 'adminlog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
'auditlog' => array(RL_LAN_019, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033), 'auditlog' => array(RL_LAN_019, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
'rolllog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_024, RL_LAN_025, RL_LAN_033), 'rolllog' => array(RL_LAN_019, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_024, LAN_TITLE, RL_LAN_033),
'downlog' => array(RL_LAN_019, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_068, RL_LAN_069), 'downlog' => array(RL_LAN_019, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_068, RL_LAN_069),
'detailed' => array(LAN_TIME, RL_LAN_096, RL_LAN_098, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, RL_LAN_025, RL_LAN_033), 'detailed' => array(LAN_TIME, RL_LAN_096, RL_LAN_098, RL_LAN_032, RL_LAN_020, RL_LAN_104, LAN_USER, RL_LAN_023, LAN_TITLE, RL_LAN_033),
'online' => array(RL_LAN_019, RL_LAN_020, LAN_ID, LAN_USER, RL_LAN_116, RL_LAN_117, RL_LAN_118, RL_LAN_116)); 'online' => array(RL_LAN_019, RL_LAN_020, LAN_ID, LAN_USER, RL_LAN_116, RL_LAN_117, RL_LAN_118, RL_LAN_116));

View File

@@ -287,7 +287,7 @@ class mailout_main_ui extends e_admin_ui
'mail_source_id' => array('title' => LAN_MAILOUT_137, 'width' =>'5%', 'thclass' => 'center', 'class'=>'center', 'forced' => TRUE), 'mail_source_id' => array('title' => LAN_MAILOUT_137, 'width' =>'5%', 'thclass' => 'center', 'class'=>'center', 'forced' => TRUE),
'mail_selectors' => array('title' => LAN_MAILOUT_03, 'type'=>'method', 'data'=>false, 'nolist' => true, 'writeParms'=>'nolabel=0'), 'mail_selectors' => array('title' => LAN_MAILOUT_03, 'type'=>'method', 'data'=>false, 'nolist' => true, 'writeParms'=>'nolabel=0'),
'mail_title' => array('title' => LAN_MAILOUT_135, 'type'=>'text', 'forced' => TRUE, 'data'=>'str', 'inline'=>true, 'writeParms'=>'size=xxlarge&required=1', 'help'=>'whatever'), 'mail_title' => array('title' => LAN_TITLE, 'type'=>'text', 'forced' => TRUE, 'data'=>'str', 'inline'=>true, 'writeParms'=>'size=xxlarge&required=1', 'help'=>'whatever'),
'mail_sender_name' => array('title' => LAN_MAILOUT_150, 'type'=>'method', 'data'=>false), 'mail_sender_name' => array('title' => LAN_MAILOUT_150, 'type'=>'method', 'data'=>false),
'mail_sender_email' => array('title' => LAN_ID,'type'=>'method','data'=>false), 'mail_sender_email' => array('title' => LAN_ID,'type'=>'method','data'=>false),
'mail_copy_to' => array('title' => LAN_MAILOUT_151,'tab'=>1, 'type'=>'method','data'=>false), 'mail_copy_to' => array('title' => LAN_MAILOUT_151,'tab'=>1, 'type'=>'method','data'=>false),

View File

@@ -834,7 +834,7 @@ class e107MailManager
if (($this->currentBatchInfo['mail_togo_count'] == 0) && ($email['mail_notify_complete'] > 0)) // Need to notify completion if (($this->currentBatchInfo['mail_togo_count'] == 0) && ($email['mail_notify_complete'] > 0)) // Need to notify completion
{ {
$email = array_merge($email, $this->currentBatchInfo); // This should ensure the counters are up to date $email = array_merge($email, $this->currentBatchInfo); // This should ensure the counters are up to date
$mailInfo = LAN_MAILOUT_247.'<br />'.LAN_MAILOUT_135.': '.$email['mail_title'].'<br />'.LAN_MAILOUT_248.$this->statusToText($email['mail_content_status']).'<br />'; $mailInfo = LAN_MAILOUT_247.'<br />'.LAN_TITLE.': '.$email['mail_title'].'<br />'.LAN_MAILOUT_248.$this->statusToText($email['mail_content_status']).'<br />';
$mailInfo .= '<br />'.LAN_MAILOUT_249.'<br />'; $mailInfo .= '<br />'.LAN_MAILOUT_249.'<br />';
foreach ($this->mailCountFields as $f => $t) foreach ($this->mailCountFields as $f => $t)
{ {

View File

@@ -100,7 +100,7 @@ class mailoutAdminClass extends e107MailManager
'forced' => TRUE 'forced' => TRUE
), ),
'mail_title' => array( 'mail_title' => array(
'title' => LAN_MAILOUT_135, 'title' => LAN_TITLE,
'forced' => TRUE 'forced' => TRUE
), ),
'mail_subject' => array( 'mail_subject' => array(

View File

@@ -145,7 +145,7 @@ define("LAN_MAILOUT_131", "Sending Started");
define("LAN_MAILOUT_132", "Sending Complete"); define("LAN_MAILOUT_132", "Sending Complete");
define("LAN_MAILOUT_133", "Source"); define("LAN_MAILOUT_133", "Source");
define("LAN_MAILOUT_134", "Priority"); define("LAN_MAILOUT_134", "Priority");
define("LAN_MAILOUT_135", "Title"); //define("LAN_MAILOUT_135", "Title");//LAN_TITLE
define("LAN_MAILOUT_136", "Mailout Status"); define("LAN_MAILOUT_136", "Mailout Status");
define("LAN_MAILOUT_137", "Mail Ref"); define("LAN_MAILOUT_137", "Mail Ref");
define("LAN_MAILOUT_138", "Email status"); define("LAN_MAILOUT_138", "Email status");

View File

@@ -16,7 +16,7 @@ define("LAN_PRINT_87", "by ");
define("LAN_PRINT_94", "Posted by"); define("LAN_PRINT_94", "Posted by");
define("LAN_PRINT_135", "News Item: "); define("LAN_PRINT_135", "News Item: ");
define("LAN_PRINT_303", "This news item is from "); define("LAN_PRINT_303", "This news item is from ");
define("LAN_PRINT_304", "Title: "); //define("LAN_PRINT_304", "Title: ");//LAN_TITLE
define("LAN_PRINT_305", "Subheading: "); define("LAN_PRINT_305", "Subheading: ");
define("LAN_PRINT_306", "This is from: "); define("LAN_PRINT_306", "This is from: ");
define("LAN_PRINT_307", "Print this page"); define("LAN_PRINT_307", "Print this page");

View File

@@ -11,7 +11,7 @@
*/ */
define("PAGE_NAME", "Submit News"); define("PAGE_NAME", "Submit News");
define("LAN_7", "Name: "); define("LAN_7", "Name: ");
define("LAN_62", "News Title: "); //define("LAN_62", "News Title: ");//LAN_TITLE
define("LAN_112", "Email Address: "); define("LAN_112", "Email Address: ");
define("LAN_133", "Thank you"); define("LAN_133", "Thank you");
define("LAN_134", "Your item has been submitted for review by one of the site administrators."); define("LAN_134", "Your item has been submitted for review by one of the site administrators.");
@@ -19,8 +19,8 @@ define("LAN_135", "News Item: ");
define("LAN_136", "Submit News Item"); define("LAN_136", "Submit News Item");
define("NWSLAN_6", "Category"); define("NWSLAN_6", "Category");
define("NWSLAN_10", "No news categories"); define("NWSLAN_10", "No news categories");
define("NWSLAN_11", "You don't have access to this area."); //define("NWSLAN_11", "You don't have access to this area.");//LAN_UI_403_BODY_ERROR
define("NWSLAN_12", "Access Denied."); //define("NWSLAN_12", "Access Denied.");//LAN_UI_403_TITLE_ERROR
define("SUBNEWSLAN_1", "You must include a title.\\n"); define("SUBNEWSLAN_1", "You must include a title.\\n");
define("SUBNEWSLAN_2", "You must include some text in the news item.\\n"); define("SUBNEWSLAN_2", "You must include some text in the news item.\\n");

View File

@@ -371,7 +371,7 @@ define("LAN_410", "Are you sure you want to delete this reply?");
define("LAN_411", "posted by "); define("LAN_411", "posted by ");
//v.616 //v.616
define("LAN_412", "Title"); //define("LAN_412", "Title");//LAN_TITLE
define("LAN_413", "Report"); define("LAN_413", "Report");
define("LAN_414", "Report this thread to a moderator"); define("LAN_414", "Report this thread to a moderator");
define("LAN_415", "Thread title"); define("LAN_415", "Thread title");

View File

@@ -58,7 +58,7 @@ define("POLLAN_30", "Submit");
define("POLLAN_31", "Votes"); define("POLLAN_31", "Votes");
define("POLLAN_32", "Click here to see results"); define("POLLAN_32", "Click here to see results");
define("POLLAN_33", "No previous polls yet."); define("POLLAN_33", "No previous polls yet.");
define("POLLAN_34", "Title"); //define("POLLAN_34", "Title");//LAN_TITLE
define("POLLAN_35", "Posted by"); define("POLLAN_35", "Posted by");
define("POLLAN_36", "Active"); define("POLLAN_36", "Active");
define("POLLAN_37", "active from"); define("POLLAN_37", "active from");

View File

@@ -54,7 +54,7 @@ define("POLLAN_30", "Submit");
define("POLLAN_31", "Votes"); define("POLLAN_31", "Votes");
define("POLLAN_32", "Click here to see results"); define("POLLAN_32", "Click here to see results");
define("POLLAN_33", "No previous polls yet."); define("POLLAN_33", "No previous polls yet.");
define("POLLAN_34", "Title"); //define("POLLAN_34", "Title");//LAN_TITLE
define("POLLAN_35", "Posted by"); define("POLLAN_35", "Posted by");
define("POLLAN_36", "Active"); define("POLLAN_36", "Active");
define("POLLAN_37", "active from"); define("POLLAN_37", "active from");

View File

@@ -28,7 +28,7 @@ if (!isset($pref['subnews_class']))
if (!check_class($pref['subnews_class'])) if (!check_class($pref['subnews_class']))
{ {
$ns->tablerender(NWSLAN_12, NWSLAN_11); $ns->tablerender(LAN_UI_403_TITLE_ERROR, LAN_UI_403_BODY_ERROR);
require_once(FOOTERF); require_once(FOOTERF);
exit; exit;
} }
@@ -202,7 +202,7 @@ $text .= "
</td> </td>
</tr> </tr>
<tr> <tr>
<td style='width:20%' class='forumheader3'>".LAN_62."</td> <td style='width:20%' class='forumheader3'>".LAN_TITE."</td>
<td style='width:80%' class='forumheader3'> <td style='width:80%' class='forumheader3'>
<input class='tbox form-control' type='text' id='submitnews_title' name='submitnews_title' size='60' value='".$tp->toHTML(vartrue($_POST['submitnews_title']),TRUE,'USER_TITLE')."' maxlength='200' style='width:90%' required /> <input class='tbox form-control' type='text' id='submitnews_title' name='submitnews_title' size='60' value='".$tp->toHTML(vartrue($_POST['submitnews_title']),TRUE,'USER_TITLE')."' maxlength='200' style='width:90%' required />
</td> </td>