<permissions>admin.system.canViewLog</permissions>
</acpmenuitem>
- <acpmenuitem name="wcf.acp.menu.link.log.cache">
- <link>index.php/CacheList/</link>
- <parent>wcf.acp.menu.link.log</parent>
- <permissions>admin.system.canViewLog</permissions>
- </acpmenuitem>
-
<acpmenuitem name="wcf.acp.menu.link.log.cronjob">
<link>index.php/CronjobLogList/</link>
<parent>wcf.acp.menu.link.log</parent>
</acpmenuitem>
<!-- /log -->
+ <!-- application -->
+ <acpmenuitem name="wcf.acp.menu.link.application">
+ <parent>wcf.acp.menu.link.system</parent>
+ <showorder>5</showorder>
+ </acpmenuitem>
+
+ <acpmenuitem name="wcf.acp.menu.link.application.management">
+ <link>index.php/ApplicationManagement/</link>
+ <parent>wcf.acp.menu.link.application</parent>
+ <permissions>admin.system.canManageApplication</permissions>
+ </acpmenuitem>
+
+ <acpmenuitem name="wcf.acp.menu.link.application.cache">
+ <link>index.php/CacheList/</link>
+ <parent>wcf.acp.menu.link.log</parent>
+ <permissions>admin.system.canManageApplication</permissions>
+ </acpmenuitem>
+ <!-- /application -->
+
<acpmenuitem name="wcf.acp.menu.link.user">
<showorder>2</showorder>
</acpmenuitem>
<defaultvalue>0</defaultvalue>
<admindefaultvalue>1</admindefaultvalue>
</option>
+ <option name="admin.system.canManageApplication">
+ <categoryname>admin.system</categoryname>
+ <optiontype>boolean</optiontype>
+ <defaultvalue>0</defaultvalue>
+ <admindefaultvalue>1</admindefaultvalue>
+ </option>
<option name="admin.system.cronjob.canAddCronjob">
<categoryname>admin.system.cronjob</categoryname>
<optiontype>boolean</optiontype>
/**
* @see wcf\page\AbstractPage::$neededPermissions
*/
- public $neededPermissions = array('admin.system.canViewLog');
+ public $neededPermissions = array('admin.system.canManageApplication');
/**
* indicates if cache was cleared
*/
public function show() {
// enable menu item
- ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.log.cache');
+ ACPMenu::getInstance()->setActiveMenuItem('wcf.acp.menu.link.application.cache');
parent::show();
}