<ul class="buttonList" data-style-id="{@$style->styleID}">
<li><a href="{link controller='StyleEdit' id=$style->styleID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><img src="{@$__wcf->getPath()}icon/edit.svg" class="icon16" alt="" /></a></li>
{if !$style->isDefault}
- <li><img src="{@$__wcf->getPath()}icon/{if $style->disabled}disabled{else}enabled{/if}.svg" title="{lang}wcf.global.button.{if $style->disabled}enable{else}disable{/if}{/lang}" alt="" class="icon16 jsToggleButton jsTooltip" data-object-id="{@$style->styleID}" /></li>
+ <li><img src="{@$__wcf->getPath()}icon/{if $style->isDisabled}disabled{else}enabled{/if}.svg" title="{lang}wcf.global.button.{if $style->isDisabled}enable{else}disable{/if}{/lang}" alt="" class="icon16 jsToggleButton jsTooltip" data-object-id="{@$style->styleID}" /></li>
<li><a title="{lang}wcf.acp.style.button.setAsDefault{/lang}" class="jsSetAsDefault jsTooltip"><img src="{@$__wcf->getPath()}icon/default.svg" class="icon16 jsTooltip" alt="" /></a></li>
<li><a title="{lang}wcf.global.button.delete{/lang}" class="jsDelete jsTooltip" data-confirm-message="{lang}wcf.acp.style.delete.confirmMessage{/lang}"><img src="{@$__wcf->getPath()}icon/delete.svg" class="icon16" alt="" /></a></li>
{/if}
use wcf\data\package\Package;
use wcf\data\style\StyleAction;
use wcf\data\template\group\TemplateGroupList;
+use wcf\form\AbstractForm;
use wcf\system\event\EventHandler;
use wcf\system\exception\SystemException;
use wcf\system\exception\UserInputException;
* @subpackage acp.form
* @category Community Framework
*/
-class StyleAddForm extends ACPForm {
+class StyleAddForm extends AbstractForm {
/**
- * @see wcf\acp\form\ACPForm::$activeMenuItem
+ * @see wcf\page\AbstractPage::$activeMenuItem
*/
public $activeMenuItem = 'wcf.acp.menu.link.style.add';
*/
class StyleEditForm extends StyleAddForm {
/**
- * @see wcf\acp\form\ACPForm::$activeMenuItem
+ * @see wcf\page\AbstractPage::$activeMenuItem
*/
public $activeMenuItem = 'wcf.acp.menu.link.style';
*/
class StyleExportForm extends AbstractForm {
/**
- * @see wcf\acp\form\ACPForm::$activeMenuItem
+ * @see wcf\page\AbstractPage::$activeMenuItem
*/
public $activeMenuItem = 'wcf.acp.menu.link.style';
*/
class StyleImportForm extends AbstractForm {
/**
- * @see wcf\acp\form\ACPForm::$activeMenuItem
+ * @see wcf\page\AbstractPage::$activeMenuItem
*/
public $activeMenuItem = 'wcf.acp.menu.link.style.import';