Hide module image settings in center, top & bottom column
This commit is contained in:
@@ -110,6 +110,7 @@ class acp_portal
|
||||
'MODULE_IMAGE_HEIGHT' => $module_data['module_image_height'],
|
||||
'MODULE_IMAGE_SRC' => ($module_data['module_image_src']) ? $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/' . $module_data['module_image_src'] : '',
|
||||
'MODULE_ENABLED' => ($module_data['module_status']) ? true : false,
|
||||
'MODULE_SHOW_IMAGE' => (in_array(column_num_string($module_data['module_column']), array('center', 'top', 'bottom'))) ? false : true,
|
||||
));
|
||||
|
||||
if($module_data['module_classname'] != 'custom')
|
||||
|
||||
@@ -22,7 +22,7 @@ class acp_portal_info
|
||||
return array(
|
||||
'filename' => 'acp_portal',
|
||||
'title' => 'ACP_PORTAL',
|
||||
'version' => '2.0.0-a1',
|
||||
'version' => '2.0.0b2',
|
||||
'modes' => array(
|
||||
'config' => array('title' => 'ACP_PORTAL_GENERAL_INFO', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||
'modules' => array('title' => 'ACP_PORTAL_MODULES', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||
|
||||
Reference in New Issue
Block a user