Icon optimizations
authorMarcel Werk <burntime@woltlab.com>
Thu, 6 Jun 2013 22:53:19 +0000 (00:53 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 6 Jun 2013 22:53:19 +0000 (00:53 +0200)
com.woltlab.wcf/templates/styleChooser.tpl
com.woltlab.wcf/templates/userInformationButtons.tpl
wcfsetup/install/files/acp/templates/applicationEdit.tpl
wcfsetup/install/files/acp/templates/applicationManagement.tpl
wcfsetup/install/files/acp/templates/languageList.tpl
wcfsetup/install/files/acp/templates/styleList.tpl
wcfsetup/install/files/js/WCF.User.js

index c2f93f7c3bca3b4c3b50b4f9b6637a895ccaf40d..aa6a71c0882758e3f47e7b629daf0509df431a6b 100644 (file)
@@ -8,7 +8,7 @@
                                        </span>
                                        <div class="details">
                                                <div class="containerHeadline">
-                                                       <h3>{$style->styleName}{if $style->styleID == $__wcf->getStyleHandler()->getStyle()->styleID} <span class="icon icon16 icon-check" title="{lang}wcf.style.currentStyle{/lang}"></span>{/if}</h3>
+                                                       <h3>{$style->styleName}{if $style->styleID == $__wcf->getStyleHandler()->getStyle()->styleID} <span class="icon icon16 icon-ok-sign" title="{lang}wcf.style.currentStyle{/lang}"></span>{/if}</h3>
                                                </div>
                                                {if $style->styleDescription}<small>{lang}{@$style->styleDescription}{/lang}</small>{/if}
                                        </div>
index 923a740259b5ee49a34f782259868e5715bb98c3..91cd80875d06e3865d0d0905644abe0accd93530 100644 (file)
@@ -25,7 +25,7 @@
                                                {if $__wcf->getUserProfileHandler()->isIgnoredUser($user->userID)}
                                                        <li class="jsOnly"><a data-ignored="1" data-object-id="{@$user->userID}" class="jsIgnoreButton jsTooltip" title="{lang}wcf.user.button.unignore{/lang}"><span class="icon icon16 icon-circle-blank"></span> <span class="invisible">{lang}wcf.user.button.unignore{/lang}</span></a></li>
                                                {else}
-                                                       <li class="jsOnly"><a data-ignored="0" data-object-id="{@$user->userID}" class="jsIgnoreButton jsTooltip" title="{lang}wcf.user.button.ignore{/lang}"><span class="icon icon16 icon-off"></span> <span class="invisible">{lang}wcf.user.button.ignore{/lang}</span></a></li>
+                                                       <li class="jsOnly"><a data-ignored="0" data-object-id="{@$user->userID}" class="jsIgnoreButton jsTooltip" title="{lang}wcf.user.button.ignore{/lang}"><span class="icon icon16 icon-ban-circle"></span> <span class="invisible">{lang}wcf.user.button.ignore{/lang}</span></a></li>
                                                {/if}
                                        {*/if*}
                                {/if}
index f69aff2703c018747da14358ab2c720eedada922..e8ce28f16a78257897e462979d916a1bbbd97ccb 100644 (file)
@@ -16,7 +16,7 @@
 {/if}
 
 <header class="boxHeadline">
-       <h1>{lang}wcf.acp.application.edit.title{/lang}{if $application->isPrimary} <span class="icon icon16 icon-home jsTooltip" title="{lang}wcf.acp.application.primaryApplication{/lang}"></span>{/if}</h1>
+       <h1>{lang}wcf.acp.application.edit.title{/lang}{if $application->isPrimary} <span class="icon icon16 icon-ok-sign jsTooltip" title="{lang}wcf.acp.application.primaryApplication{/lang}"></span>{/if}</h1>
 </header>
 
 {if $errorField}
@@ -31,7 +31,7 @@
        <nav>
                <ul>
                        {if $application->packageID != 1 && !$application->isPrimary}
-                               <li><a id="setAsPrimary" class="button"><span class="icon icon16 icon-check"></span> <span>{lang}wcf.acp.application.setAsPrimary{/lang}</span></a></li>
+                               <li><a id="setAsPrimary" class="button"><span class="icon icon16 icon-ok-sign"></span> <span>{lang}wcf.acp.application.setAsPrimary{/lang}</span></a></li>
                        {/if}
                        <li><a href="{link controller='ApplicationManagement'}{/link}" class="button"><span class="icon icon16 icon-list"></span> <span>{lang}wcf.acp.menu.link.application.management{/lang}</span></a></li>
                        
index e4a50579c32db571f2a0f17e411f8790f9a4672e..8e02b786fd5921c64f4c0ceea33e5a08f83be56d 100644 (file)
@@ -45,7 +45,7 @@
                                                {if $application->isPrimary}
                                                        <aside class="statusDisplay">
                                                                <ul class="statusIcons">
-                                                                       <li><span class="icon icon16 icon-home jsTooltip" title="{lang}wcf.acp.application.primaryApplication{/lang}"></span></li>
+                                                                       <li><span class="icon icon16 icon-ok-sign jsTooltip" title="{lang}wcf.acp.application.primaryApplication{/lang}"></span></li>
                                                                </ul>
                                                        </aside>
                                                {/if}
index 92742d3e3ae823c96a07ae3061bd34e8d60203b4..4274798cfe5eebeaadcd085f20bd93056042de10 100644 (file)
@@ -60,9 +60,9 @@
                                                        <a href="{link controller='LanguageExport' id=$language->languageID}{/link}" title="{lang}wcf.acp.language.export{/lang}" class="jsTooltip"><span class="icon icon16 icon-download-alt"></span></a>
                                                        
                                                        {if !$language->isDefault}
-                                                               <span class="icon icon16 icon-check jsSetAsDefaultButton jsTooltip pointer" title="{lang}wcf.acp.language.setAsDefault{/lang}" title="{lang}wcf.acp.language.setAsDefault{/lang}" data-object-id="{@$language->languageID}"></span>
+                                                               <span class="icon icon16 icon-ok-sign jsSetAsDefaultButton jsTooltip pointer" title="{lang}wcf.acp.language.setAsDefault{/lang}" title="{lang}wcf.acp.language.setAsDefault{/lang}" data-object-id="{@$language->languageID}"></span>
                                                        {else}
-                                                               <span class="icon icon16 icon-check disabled" title="{lang}wcf.acp.language.setAsDefault{/lang}"></span>
+                                                               <span class="icon icon16 icon-ok-sign disabled" title="{lang}wcf.acp.language.setAsDefault{/lang}"></span>
                                                        {/if}
                                                        
                                                        <a href="{link controller='LanguageEdit' id=$language->languageID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 icon-pencil"></span></a>
index f763c56451295cc3aecc6073bf325c9e38bf9044..71f2684286ca62b9c7cf438398e02158c9ef7f94 100644 (file)
@@ -45,7 +45,7 @@
                                                                
                                                                {if !$style->isDefault}
                                                                        <li><span class="icon icon16 icon-{if $style->isDisabled}off{else}circle-blank{/if} jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if $style->isDisabled}enable{else}disable{/if}{/lang}" data-object-id="{@$style->styleID}"></span></li>
-                                                                       <li><a title="{lang}wcf.acp.style.button.setAsDefault{/lang}" class="jsSetAsDefault jsTooltip"><span class="icon icon16 icon-check"></span></a></li>
+                                                                       <li><a title="{lang}wcf.acp.style.button.setAsDefault{/lang}" class="jsSetAsDefault jsTooltip"><span class="icon icon16 icon-ok-sign"></span></a></li>
                                                                        <li><a title="{lang}wcf.global.button.delete{/lang}" class="jsDelete jsTooltip" data-confirm-message="{lang}wcf.acp.style.delete.confirmMessage{/lang}"><span class="icon icon16 icon-remove"></span></a></li>
                                                                {/if}
                                                                
index 0d25bff8f4681191824a155ee39a5525c0c9cd83..dcd1d1818c773b0d382fcb73f050f227f1f1d25a 100644 (file)
@@ -469,12 +469,12 @@ WCF.User.Profile.IgnoreUser = Class.extend({
         */
        _updateButton: function() {
                if (this._button === null) {
-                       this._button = $('<li id="ignoreUser"><a class="button jsTooltip" title="'+WCF.Language.get('wcf.user.button.'+(this._following ? 'un' : '')+'ignore')+'"><span class="icon icon16 icon-off"></span> <span class="invisible">'+WCF.Language.get('wcf.user.button.'+(this._following ? 'un' : '')+'ignore')+'</span></a></li>').prependTo($('#profileButtonContainer'));
+                       this._button = $('<li id="ignoreUser"><a class="button jsTooltip" title="'+WCF.Language.get('wcf.user.button.'+(this._following ? 'un' : '')+'ignore')+'"><span class="icon icon16 icon-ban-circle"></span> <span class="invisible">'+WCF.Language.get('wcf.user.button.'+(this._following ? 'un' : '')+'ignore')+'</span></a></li>').prependTo($('#profileButtonContainer'));
                }
                
                this._button.find('.button').data('tooltip', WCF.Language.get('wcf.user.button.' + (this._isIgnoredUser ? 'un' : '') + 'ignore'));
-               if (this._isIgnoredUser) this._button.find('.button').addClass('active').children('.icon').removeClass('icon-off').addClass('icon-circle-blank');
-               else this._button.find('.button').removeClass('active').children('.icon').removeClass('icon-circle-blank').addClass('icon-off');
+               if (this._isIgnoredUser) this._button.find('.button').addClass('active').children('.icon').removeClass('icon-ban-circle').addClass('icon-circle-blank');
+               else this._button.find('.button').removeClass('active').children('.icon').removeClass('icon-circle-blank').addClass('icon-ban-circle');
        }
 });
 
@@ -1843,10 +1843,10 @@ WCF.User.Action.Ignore = Class.extend({
                                
                                // toogle icon title
                                if (data.returnValues.isIgnoredUser) {
-                                       button.data('tooltip', WCF.Language.get('wcf.user.button.unignore')).children('.icon').removeClass('icon-off').addClass('icon-circle-blank');
+                                       button.data('tooltip', WCF.Language.get('wcf.user.button.unignore')).children('.icon').removeClass('icon-ban-circle').addClass('icon-circle-blank');
                                }
                                else {
-                                       button.data('tooltip', WCF.Language.get('wcf.user.button.ignore')).children('.icon').removeClass('icon-circle-blank').addClass('icon-off');
+                                       button.data('tooltip', WCF.Language.get('wcf.user.button.ignore')).children('.icon').removeClass('icon-circle-blank').addClass('icon-ban-circle');
                                }
                                
                                button.data('ignored', data.returnValues.isIgnoredUser);