Added feature to hide portal name on acp configuration page for
all modules (was only for latest bots module)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user