mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
Issue #6 - LANs: Replace all references to "Comments" with LAN_COMMENTS
This commit is contained in:
@@ -1113,7 +1113,7 @@ class admin_shortcodes
|
||||
|
||||
if(empty($pref['comments_disabled']) && varset($pref['comments_engine'],'e107') == 'e107')
|
||||
{
|
||||
$oldconfigs['e-comments'][0] = array('icon'=>E_16_COMMENT, 'title'=>ADLAN_114, 'url'=> e_ADMIN_ABS."comment.php", 'total'=>$comments);
|
||||
$oldconfigs['e-comments'][0] = array('icon'=>E_16_COMMENT, 'title'=>LAN_COMMENTS, 'url'=> e_ADMIN_ABS."comment.php", 'total'=>$comments);
|
||||
}
|
||||
if($flo = $sql->count('generic', '(*)', "WHERE gen_type='failed_login'"))
|
||||
{
|
||||
|
@@ -157,7 +157,7 @@ class comment_shortcodes extends e_shortcode
|
||||
function sc_comments($parm='')
|
||||
{
|
||||
global $COMMENTS;
|
||||
return (isset($this->var['user_id']) && $this->var['user_id'] ? COMLAN_99.": ".$this->var['user_comments'] : COMLAN_194)."<br />";
|
||||
return (isset($this->var['user_id']) && $this->var['user_id'] ? LAN_COMMENTS.": ".$this->var['user_comments'] : COMLAN_194)."<br />";
|
||||
}
|
||||
|
||||
|
||||
|
@@ -119,7 +119,7 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
if($param['current_action'] == 'extend')
|
||||
{
|
||||
return LAN_NEWS_99.' ('.$news_item['news_comment_total'].')';
|
||||
return LAN_COMMENTS.' ('.$news_item['news_comment_total'].')';
|
||||
}
|
||||
|
||||
if (vartrue($pref['multilanguage']))
|
||||
@@ -330,13 +330,14 @@ class news_shortcodes extends e_shortcode
|
||||
if (ADMIN && getperms('H'))
|
||||
{
|
||||
//TODO - discuss - a pref for 'new browser window' loading, or a parm or leave 'new browser window' as default?
|
||||
$default = (deftrue('BOOTSTRAP')) ? $tp->toGlyph('icon-edit',false) : "<img src='".e_IMAGE_ABS."admin_images/edit_16.png' alt='".LAN_NEWS_25."' class='icon' />";
|
||||
$default = (deftrue('BOOTSTRAP')) ? $tp->toGlyph('icon-edit',false) : "<img src='".e_IMAGE_ABS."admin_images/edit_16.png' alt=\"".LAN_EDIT."\" class='icon' />";
|
||||
|
||||
|
||||
$adop_icon = (file_exists(THEME."images/newsedit.png") ? "<img src='".THEME_ABS."images/newsedit.png' alt='".LAN_NEWS_25."' class='icon' />" : $default);
|
||||
$adop_icon = (file_exists(THEME."images/newsedit.png") ? "<img src='".THEME_ABS."images/newsedit.png' alt=\"".LAN_EDIT."\" class='icon' />" : $default);
|
||||
|
||||
$class = varset($parm['class']);
|
||||
|
||||
return "<a class='e-tip ".$class."' rel='external' href='".e_ADMIN_ABS."newspost.php?action=edit&id=".$this->news_item['news_id']."' title=\"".LAN_NEWS_25."\">".$adop_icon."</a>\n";
|
||||
return "<a class='e-tip ".$class."' rel='external' href='".e_ADMIN_ABS."newspost.php?action=edit&id=".$this->news_item['news_id']."' title=\"".LAN_EDIT."\">".$adop_icon."</a>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user