Using latest version of com.woltlab.wcf.acp.style
authorAlexander Ebert <ebert@woltlab.com>
Wed, 2 Jan 2013 14:27:38 +0000 (15:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 2 Jan 2013 14:27:38 +0000 (15:27 +0100)
wcfsetup/install/files/acp/templates/styleList.tpl
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php
wcfsetup/install/files/lib/acp/form/StyleEditForm.class.php
wcfsetup/install/files/lib/acp/form/StyleExportForm.class.php
wcfsetup/install/files/lib/acp/form/StyleImportForm.class.php

index 064436d0e0225a7b90792e8fe2dcfda3fb21679a..18cf438a2f7f50f7ce458de895c8d2568babc769 100644 (file)
@@ -49,7 +49,7 @@
                                                <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}
index d4c1e00695b88bb25677e67655cd5d5239981829..011503cc3952668cb00f47e9fe2d7ea52b7bf81d 100644 (file)
@@ -3,6 +3,7 @@ namespace wcf\acp\form;
 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;
@@ -22,9 +23,9 @@ use wcf\util\StringUtil;
  * @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';
        
index 8c0d8c261e340eda85d4aa556f2382ac87a19afd..d5d86a6690c14bf89d10aa0e7ed8a3124ade5d98 100644 (file)
@@ -18,7 +18,7 @@ use wcf\system\WCF;
  */
 class StyleEditForm extends StyleAddForm {
        /**
-        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        * @see wcf\page\AbstractPage::$activeMenuItem
         */
        public $activeMenuItem = 'wcf.acp.menu.link.style';
        
index b926217764e6d4c6e007421fb10ea125c46c5771..4d87c6e21f3b3a15442f286e93b98023380f4599 100644 (file)
@@ -21,7 +21,7 @@ use wcf\util\StringUtil;
  */
 class StyleExportForm extends AbstractForm {
        /**
-        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        * @see wcf\page\AbstractPage::$activeMenuItem
         */
        public $activeMenuItem = 'wcf.acp.menu.link.style';
        
index 9a71c1ccc61b4ba70fa6e368461eeae4e8441112..b4449f41b716844c5afbc1b283572c5a4ed70167 100644 (file)
@@ -18,7 +18,7 @@ use wcf\util\FileUtil;
  */
 class StyleImportForm extends AbstractForm {
        /**
-        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        * @see wcf\page\AbstractPage::$activeMenuItem
         */
        public $activeMenuItem = 'wcf.acp.menu.link.style.import';