diff --git a/e107_admin/newspost.php b/e107_admin/newspost.php
index 204e00dae..4a3b46e95 100644
--- a/e107_admin/newspost.php
+++ b/e107_admin/newspost.php
@@ -95,7 +95,7 @@ class news_admin extends e_admin_dispatcher
'cat/edit' => 'cat/list'
);
- protected $menuTitle = "News";
+ protected $menuTitle = ADLAN_0;
function init()
{
@@ -376,7 +376,7 @@ class news_sub_form_ui extends e_admin_form_ui
if($approved == 0)
{
//$text = $this->submit_image('submitnews['.$id.']', 1, 'execute', NWSLAN_58);
- $text .= "".ADMIN_EXECUTE_ICON."";
+ $text .= "".ADMIN_EXECUTE_ICON."";
// NWSLAN_103;
}
else // Already submitted;
@@ -453,7 +453,7 @@ class news_admin_ui extends e_admin_ui
'news_allow_comments' => array('title' => LAN_COMMENTS, 'type' => 'boolean', 'tab'=>2, 'writeParms'=>'inverse=1', 'data' => 'int', 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false,'batch'=>true, 'filter'=>true,'readParms'=>'reverse=1'),
'news_comment_total' => array('title' => LAN_NEWS_60, 'type' => 'number', 'tab'=>2, 'noedit'=>true, 'width' => '10%', 'thclass' => '', 'class' => null, 'nosort' => false),
// admin_news_notify
- 'news_email_notify' => array('title' => "Email notification", 'type' => 'checkbox', 'tab'=>2, 'data'=>false, 'writeParms'=>array('show'=>1, 'tdClassRight'=>'form-inline'), 'help'=>'Trigger an email notification when you submit this form.'),
+ 'news_email_notify' => array('title' => LAN_NEWS_103, 'type' => 'checkbox', 'tab'=>2, 'data'=>false, 'writeParms'=>array('show'=>1, 'tdClassRight'=>'form-inline'), 'help'=>'Trigger an email notification when you submit this form.'),
'submitted_id' => array('title' => LAN_NEWS_68, 'type' => 'hidden', 'tab'=>2, 'data'=>false, 'writeParms'=>'show=0'),
'options' => array('title' => LAN_OPTIONS, 'type' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center', 'nosort' => true, 'forced' => TRUE)
@@ -484,7 +484,7 @@ class news_admin_ui extends e_admin_ui
'2' => LAN_NEWS_72,
'3' => LAN_NEWS_73,
'5' => LAN_NEWS_74,
- '6' => "News Grid Menu",
+ '6' => LAN_NEWS_97,
//'5' => LAN_NEWS_75
);
@@ -651,11 +651,11 @@ class news_admin_ui extends e_admin_ui
if(in_array(e_UC_PUBLIC, $visibility))
{
e107::getEvent()->trigger('admin_news_notify',$new_data);
- e107::getMessage()->addSuccess("Email notification triggered");
+ e107::getMessage()->addSuccess(LAN_NEWS_105);
}
else
{
- e107::getMessage()->addWarning("News item visibility must include 'everyone' for email notifications to work.");
+ e107::getMessage()->addWarning(LAN_NEWS_106);
}
@@ -874,7 +874,7 @@ class news_admin_ui extends e_admin_ui
$mes = e107::getMessage();
- $mes->addDebug('Checking for Ping Status','default',true);
+ $mes->addDebug(LAN_NEWS_107,'default',true);
if(!empty($_POST['news_ping']) && (count($pingServices)>0) && (in_array(e_UC_PUBLIC, $_POST['news_class'])))
{
@@ -1085,7 +1085,7 @@ class news_admin_ui extends e_admin_ui
$sefbaseDiz = str_replace(array("[br]","[","]"), array("
","",""), NWSLAN_128 );
$pingOpt = array('placeholder'=>LAN_NEWS_87);
$pingVal = (!empty($pref['news_ping_services'])) ? implode("\n",$pref['news_ping_services']) : '';
- $newsTemplates = array('default'=>'Default', 'list'=>'List'); //TODO 'category'=>'Categories'? research 'Use non-standard template for news layout' and integrate here.
+ $newsTemplates = array('default'=>LAN_DEFAULT, 'list'=>LAN_LIST); //TODO 'category'=>'Categories'? research 'Use non-standard template for news layout' and integrate here.
@@ -1131,7 +1131,7 @@ class news_admin_ui extends e_admin_ui