<acpmenuitem name="wcf.acp.menu.link.smiley">
<parent>wcf.acp.menu.link.content</parent>
+ <options>module_smiley</options>
<showorder>1</showorder>
</acpmenuitem>
<acpmenuitem name="wcf.acp.menu.link.smiley.list">
<acpmenuitem name="wcf.acp.menu.link.tag">
<parent>wcf.acp.menu.link.content</parent>
+ <options>module_tagging</options>
<showorder>4</showorder>
</acpmenuitem>
<acpmenuitem name="wcf.acp.menu.link.ad">
<parent>wcf.acp.menu.link.content</parent>
+ <options>module_ad</options>
<showorder>7</showorder>
</acpmenuitem>
<acpmenuitem name="wcf.acp.menu.link.ad.list">
*/
public $activeMenuItem = 'wcf.acp.menu.link.ad.add';
+ /**
+ * @see \wcf\page\AbstractPage::$neededPermissions
+ */
+ public $neededPermissions = array('admin.content.ad.canManageAd');
+
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_AD');
+
/**
* html code of the ad
* @var string
*/
public $locations = array();
- /**
- * @see \wcf\page\AbstractPage::$neededPermissions
- */
- public $neededPermissions = array('admin.content.ad.canManageAd');
-
/**
* id of the selected location's object type
* @var integer
*/
public $neededPermissions = array('admin.content.smiley.canManageSmiley');
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_SMILEY');
+
/**
* primary smiley code
* @var string
* @see \wcf\acp\form\AbstractCategoryAddForm::$pageTitle
*/
public $pageTitle = 'wcf.acp.smiley.category.add';
+
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_SMILEY');
}
* @see \wcf\acp\form\AbstractCategoryAddForm::$pageTitle
*/
public $pageTitle = 'wcf.acp.smiley.category.edit';
+
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_SMILEY');
}
*/
public $neededPermissions = array('admin.content.tag.canManageTag');
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_TAGGING');
+
/**
* list of available languages
* @var array
*/
public $neededPermissions = array('admin.content.ad.canManageAd');
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_AD');
+
/**
* @see \wcf\page\MultipleLinkPage::$objectListClassName
*/
* @see \wcf\acp\page\AbstractCategoryListPage::$pageTitle
*/
public $pageTitle = 'wcf.acp.smiley.category.list';
+
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_SMILEY');
}
*/
public $neededPermissions = array('admin.content.smiley.canManageSmiley');
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_SMILEY');
+
/**
* @see \wcf\page\MultipleLinkPage::$objectListClassName
*/
*/
public $neededPermissions = array('admin.content.tag.canManageTag');
+ /**
+ * @see wcf\page\AbstractPage::$neededModules
+ */
+ public $neededModules = array('MODULE_TAGGING');
+
/**
* @see \wcf\page\SortablePage::$defaultSortField
*/