Added feature to hide portal name on acp configuration page for

all modules (was only for latest bots module)
This commit is contained in:
Marc Alexander
2011-04-24 12:26:41 +02:00
parent a3c23052bf
commit e223d2ce63
3 changed files with 13 additions and 2 deletions

View File

@@ -52,6 +52,11 @@ class portal_modulename_module
* file must be in "adm/style/portal/"
*/
public $custom_acp_tpl = '';
/**
* hide module name in ACP configuration page
*/
public $hide_name = false;
public function get_template_center($module_id)
{

View File

@@ -46,6 +46,12 @@ class portal_latest_bots_module
* file must be in "language/{$user->lang}/mods/portal/"
*/
public $language = 'portal_latest_bots_module';
/**
* hide module name in ACP configuration page
*/
public $hide_name = true;
public function get_template_side($module_id)
{