mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02: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:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user