Added upload_module to install file

Corrected version number in includes/acp/info/acp_portal.php
This commit is contained in:
Marc Alexander
2011-03-05 09:37:15 +01:00
parent 7222657cb6
commit 78fdac9161
2 changed files with 10 additions and 2 deletions

View File

@@ -22,11 +22,11 @@ class acp_portal_info
return array(
'filename' => 'acp_portal',
'title' => 'ACP_PORTAL',
'version' => '2.0.0',
'version' => '2.0.0-a1',
'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')),
'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')),
),
);
}

View File

@@ -335,6 +335,14 @@ $versions = array(
'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'),