Hide title of latest bots module in ACP
This commit is contained in:
@@ -42,10 +42,12 @@
|
||||
<!-- IF SHOW_MODULE_OPTIONS -->
|
||||
<fieldset>
|
||||
<legend>{L_MODULE_OPTIONS}</legend>
|
||||
<!-- IF MODULE_NAME -->
|
||||
<dl>
|
||||
<dt><label for="module_name">{L_MODULE_NAME}:</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
||||
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="module_image">{L_MODULE_IMAGE}:</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
||||
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
||||
|
||||
@@ -103,7 +103,7 @@ class acp_portal
|
||||
$module_name = $user->lang[$c_class->name];
|
||||
$display_vars = $c_class->get_template_acp($module_id);
|
||||
$template->assign_vars(array(
|
||||
'MODULE_NAME' => $module_data['module_name'],
|
||||
'MODULE_NAME' => ($module_data['module_classname'] != 'latest_bots')? $module_data['module_name'] : '',
|
||||
'MODULE_IMAGE' => $module_data['module_image_src'],
|
||||
'MODULE_IMAGE_WIDTH' => $module_data['module_image_width'],
|
||||
'MODULE_IMAGE_HEIGHT' => $module_data['module_image_height'],
|
||||
|
||||
Reference in New Issue
Block a user