mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Change meta handling, we can use existing functions for what we need and remove the redundant code
git-svn-id: file:///svn/phpbb/trunk@6150 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
462dc69b8e
commit
8c128de642
2 changed files with 1 additions and 11 deletions
|
@ -313,8 +313,6 @@ class module
|
|||
'L_INSTALL_PANEL' => $lang['INSTALL_PANEL'],
|
||||
'PAGE_TITLE' => $this->get_page_title(),
|
||||
|
||||
'META' => $this->get_meta(),
|
||||
|
||||
'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
|
||||
'S_CONTENT_ENCODING' => $lang['ENCODING'],
|
||||
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
|
||||
|
@ -374,14 +372,6 @@ class module
|
|||
return (isset($lang[$this->module->page_title])) ? $lang[$this->module->page_title] : $this->module->page_title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the desired meta tags for the page
|
||||
*/
|
||||
function get_meta()
|
||||
{
|
||||
return (isset($this->module->meta)) ? $this->module->meta : '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate the navigation tabs
|
||||
*/
|
||||
|
|
|
@ -313,7 +313,7 @@ $lang = array_merge($lang, array(
|
|||
'NO_FORUM' => 'The forum you selected does not exist',
|
||||
'NO_FORUMS' => 'This board has no forums',
|
||||
'NO_GROUP' => 'The requested usergroup does not exist.',
|
||||
'NO_GROUP_MEMBERS' => 'This group is currently not having any members assigned',
|
||||
'NO_GROUP_MEMBERS' => 'This group currently has no members',
|
||||
'NO_MEMBERS' => 'No members found for this search criteria',
|
||||
'NO_MESSAGES' => 'No messages',
|
||||
'NO_MODERATORS' => 'No moderators assigned at this board.',
|
||||
|
|
Loading…
Add table
Reference in a new issue