Replaces `disabled` with `isDisabled`
authorMatthias Schmidt <gravatronics@live.com>
Sun, 30 Dec 2012 13:05:26 +0000 (14:05 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 30 Dec 2012 13:05:26 +0000 (14:05 +0100)
acptemplates/styleList.tpl

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}