From 2d5105629880e23e8ef8dee819bb0e279883c094 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 20 Aug 2022 19:24:14 +0200 Subject: [PATCH] Convert legacy icons --- com.woltlab.wcf/templates/articleList.tpl | 26 +++++++++++++++++-- com.woltlab.wcf/templates/membersList.tpl | 13 ++++++++-- com.woltlab.wcf/templates/moderationList.tpl | 12 +++++++-- .../files/acp/templates/exceptionLogView.tpl | 8 +++++- .../files/acp/templates/menuItemList.tpl | 8 +++++- .../templates/packageInstallationConfirm.tpl | 8 +++++- .../install/files/acp/templates/pageList.tpl | 8 +++++- .../files/acp/templates/smileyList.tpl | 4 ++- .../install/files/acp/templates/styleList.tpl | 25 +++++++++++++++--- .../files/acp/templates/systemCheck.tpl | 6 ++--- .../install/files/acp/templates/userAdd.tpl | 19 +++++++------- .../userAuthenticationFailureList.tpl | 8 +++++- .../files/acp/templates/userGroupList.tpl | 4 ++- .../files/acp/templates/userGroupOption.tpl | 12 +++++++-- .../install/files/acp/templates/userList.tpl | 14 +++++++--- .../files/acp/templates/userTrophyList.tpl | 4 ++- .../acp/templates/versionTrackerList.tpl | 8 ++++-- 17 files changed, 151 insertions(+), 36 deletions(-) diff --git a/com.woltlab.wcf/templates/articleList.tpl b/com.woltlab.wcf/templates/articleList.tpl index 8946071743..fc76578160 100644 --- a/com.woltlab.wcf/templates/articleList.tpl +++ b/com.woltlab.wcf/templates/articleList.tpl @@ -72,8 +72,30 @@ {lang}wcf.article.button.sort{/lang} diff --git a/com.woltlab.wcf/templates/membersList.tpl b/com.woltlab.wcf/templates/membersList.tpl index 5b85bff0d6..5a0e4a6eb9 100644 --- a/com.woltlab.wcf/templates/membersList.tpl +++ b/com.woltlab.wcf/templates/membersList.tpl @@ -47,8 +47,17 @@
- - + + {if $sortOrder === 'ASC'} + {icon size=16 name='arrow-down-wide-short'} + {else} + {icon size=16 name='arrow-down-short-wide'} + {/if} {lang}wcf.user.sortField.{$sortField}{/lang} diff --git a/com.woltlab.wcf/templates/moderationList.tpl b/com.woltlab.wcf/templates/moderationList.tpl index f0c50d209d..dfc17a27fc 100644 --- a/com.woltlab.wcf/templates/moderationList.tpl +++ b/com.woltlab.wcf/templates/moderationList.tpl @@ -27,8 +27,16 @@
    • - - + + {if $sortOrder === 'ASC'} + {icon size=16 name='arrow-down-wide-short'} + {else} + {icon size=16 name='arrow-down-short-wide'} + {/if}
    • diff --git a/wcfsetup/install/files/acp/templates/exceptionLogView.tpl b/wcfsetup/install/files/acp/templates/exceptionLogView.tpl index 2cf2d8818e..3e8de86187 100644 --- a/wcfsetup/install/files/acp/templates/exceptionLogView.tpl +++ b/wcfsetup/install/files/acp/templates/exceptionLogView.tpl @@ -90,7 +90,13 @@ {foreach from=$exceptions item='exception' key='exceptionKey'}

      - + {$exception[message]}

      diff --git a/wcfsetup/install/files/acp/templates/menuItemList.tpl b/wcfsetup/install/files/acp/templates/menuItemList.tpl index 32b18a6b62..8683154613 100644 --- a/wcfsetup/install/files/acp/templates/menuItemList.tpl +++ b/wcfsetup/install/files/acp/templates/menuItemList.tpl @@ -46,7 +46,13 @@ {if $menuItemNode->canDisable()} {objectAction action="toggle" isDisabled=$menuItemNode->isDisabled} {else} - + + {if $menuItemNode->isDisabled} + {icon size=16 name='square'} + {else} + {icon size=16 name='square-check'} + {/if} + {/if} {icon size=16 name='pencil'} {if $menuItemNode->canDelete()} diff --git a/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl b/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl index 738edee4dd..36786df6ff 100644 --- a/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl +++ b/wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl @@ -84,7 +84,13 @@ getDepth()} style="padding-left: {@$packageValidationArchive->getDepth() * 14}px"{/if}>{$packageValidationArchive->getArchive()->getLocalizedPackageInfo('packageName')} {$packageValidationArchive->getArchive()->getPackageInfo('name')} - + + {if $exceptionMessage} + {icon size=16 name='circle-xmark'} + {else} + {icon size=16 name='circle-check'} + {/if} + {if $exceptionMessage} diff --git a/wcfsetup/install/files/acp/templates/pageList.tpl b/wcfsetup/install/files/acp/templates/pageList.tpl index 9227934168..7368605dfe 100644 --- a/wcfsetup/install/files/acp/templates/pageList.tpl +++ b/wcfsetup/install/files/acp/templates/pageList.tpl @@ -122,7 +122,13 @@ {if $page->canDisable()} {objectAction action="toggle" isDisabled=$page->isDisabled} {else} - + + {if $page->isDisabled} + {icon size=16 name='square'} + {else} + {icon size=16 name='square-checl'} + {/if} + {/if} {icon size=16 name='pencil'} {if $page->canDelete()} diff --git a/wcfsetup/install/files/acp/templates/smileyList.tpl b/wcfsetup/install/files/acp/templates/smileyList.tpl index d4872594a5..83298bffbf 100644 --- a/wcfsetup/install/files/acp/templates/smileyList.tpl +++ b/wcfsetup/install/files/acp/templates/smileyList.tpl @@ -54,7 +54,9 @@ {icon size=16 name='arrows-up-down-left-right'} - + + {icon size=16 name='pencil'} + {objectAction action="delete" objectTitle=$smiley->smileyCode} {event name='itemButtons'} diff --git a/wcfsetup/install/files/acp/templates/styleList.tpl b/wcfsetup/install/files/acp/templates/styleList.tpl index 31dd4f744e..61f7d437f1 100644 --- a/wcfsetup/install/files/acp/templates/styleList.tpl +++ b/wcfsetup/install/files/acp/templates/styleList.tpl @@ -69,9 +69,28 @@
    • {icon size=16 name='download'}
    • {if !$style->isDefault} -
    • -
    • {icon size=16 name='circle-check'}
    • -
    • {icon size=16 name='xmark'}
    • +
    • + +
    • +
    • + +
    • +
    • + +
    • {/if} {event name='itemButtons'} diff --git a/wcfsetup/install/files/acp/templates/systemCheck.tpl b/wcfsetup/install/files/acp/templates/systemCheck.tpl index 97cfb3a529..3efe203197 100644 --- a/wcfsetup/install/files/acp/templates/systemCheck.tpl +++ b/wcfsetup/install/files/acp/templates/systemCheck.tpl @@ -6,9 +6,9 @@ {event name='userNotice'} -{capture assign='statusOk'}{/capture} -{capture assign='statusSufficient'}{/capture} -{capture assign='statusInsufficient'}{/capture} +{capture assign='statusOk'}{icon size=16 name='check'}{/capture} +{capture assign='statusSufficient'}{icon size=16 name='triangle-exclamation'}{/capture} +{capture assign='statusInsufficient'}{icon size=16 name='triangle-exclamation'}{/capture}

      {lang}wcf.acp.systemCheck.result{/lang}

      diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index f60c3f8795..8736f64b50 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -344,7 +344,7 @@
      {lang}wcf.acp.user.security.multifactor{/lang}
      - {lang}wcf.acp.user.security.multifactor.active{/lang} + {icon size=16 name='check'} {lang}wcf.acp.user.security.multifactor.active{/lang} {lang}wcf.acp.user.security.multifactor.active.description{/lang}
      @@ -843,21 +843,22 @@ {if $action === 'edit' && $ownerGroupID}