Added upload_module to install file
Corrected version number in includes/acp/info/acp_portal.php
This commit is contained in:
@@ -22,11 +22,11 @@ class acp_portal_info
|
|||||||
return array(
|
return array(
|
||||||
'filename' => 'acp_portal',
|
'filename' => 'acp_portal',
|
||||||
'title' => 'ACP_PORTAL',
|
'title' => 'ACP_PORTAL',
|
||||||
'version' => '2.0.0',
|
'version' => '2.0.0-a1',
|
||||||
'modes' => array(
|
'modes' => array(
|
||||||
'config' => array('title' => 'ACP_PORTAL_GENERAL_INFO', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
'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')),
|
'modules' => array('title' => 'ACP_PORTAL_MODULES', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||||
'upload_module' => array('title' => 'ACP_PORTAL_UPLOAD', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
'upload_module' => array('title' => 'ACP_PORTAL_UPLOAD', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -335,6 +335,14 @@ $versions = array(
|
|||||||
'module_auth' => 'acl_a_manage_portal',
|
'module_auth' => 'acl_a_manage_portal',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
array('acp', 'ACP_PORTAL', array(
|
||||||
|
'module_basename' => 'portal',
|
||||||
|
'module_langname' => 'ACP_PORTAL_UPLOAD',
|
||||||
|
'module_mode' => 'upload_module',
|
||||||
|
'module_auth' => 'acl_a_manage_portal',
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
'custom' => array('board3_basic_install'),
|
'custom' => array('board3_basic_install'),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user