Fix outdated usage of icons
authorMarcel Werk <burntime@woltlab.com>
Wed, 10 Jan 2024 16:39:33 +0000 (17:39 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 10 Jan 2024 16:39:33 +0000 (17:39 +0100)
Closes #407

33 files changed:
docs/php/api/form_builder/form_fields.md
docs/tutorial/series/part_3.md
snippets/package/pip/bbcode.xml
snippets/package/pip/userMenu.xml
snippets/tutorial/tutorial-series/part-1/acpMenu.xml
snippets/tutorial/tutorial-series/part-1/acptemplates/personAdd.tpl
snippets/tutorial/tutorial-series/part-1/acptemplates/personList.tpl
snippets/tutorial/tutorial-series/part-1/templates/personList.tpl
snippets/tutorial/tutorial-series/part-3/acpMenu.xml
snippets/tutorial/tutorial-series/part-3/acptemplates/personAdd.tpl
snippets/tutorial/tutorial-series/part-3/acptemplates/personList.tpl
snippets/tutorial/tutorial-series/part-3/files/lib/system/page/handler/PersonPageHandler.class.php
snippets/tutorial/tutorial-series/part-3/templates/personList.tpl
snippets/tutorial/tutorial-series/part-4/acpMenu.xml
snippets/tutorial/tutorial-series/part-4/acptemplates/personAdd.tpl
snippets/tutorial/tutorial-series/part-4/acptemplates/personList.tpl
snippets/tutorial/tutorial-series/part-4/files/lib/system/page/handler/PersonPageHandler.class.php
snippets/tutorial/tutorial-series/part-4/templates/boxPersonList.tpl
snippets/tutorial/tutorial-series/part-4/templates/personList.tpl
snippets/tutorial/tutorial-series/part-5/acpMenu.xml
snippets/tutorial/tutorial-series/part-5/acptemplates/personAdd.tpl
snippets/tutorial/tutorial-series/part-5/acptemplates/personList.tpl
snippets/tutorial/tutorial-series/part-5/files/lib/system/page/handler/PersonPageHandler.class.php
snippets/tutorial/tutorial-series/part-5/templates/boxPersonList.tpl
snippets/tutorial/tutorial-series/part-5/templates/person.tpl
snippets/tutorial/tutorial-series/part-5/templates/personList.tpl
snippets/tutorial/tutorial-series/part-6/acpMenu.xml
snippets/tutorial/tutorial-series/part-6/acptemplates/personAdd.tpl
snippets/tutorial/tutorial-series/part-6/acptemplates/personList.tpl
snippets/tutorial/tutorial-series/part-6/files/lib/system/page/handler/PersonPageHandler.class.php
snippets/tutorial/tutorial-series/part-6/templates/boxPersonList.tpl
snippets/tutorial/tutorial-series/part-6/templates/person.tpl
snippets/tutorial/tutorial-series/part-6/templates/personList.tpl

index 178caea64db0efdd8ae4a76cb9fd871b0903c9bc..7f686e8650004fa6fbbc65f75de0f2dd60d15d68 100644 (file)
@@ -158,7 +158,7 @@ Form fields of this class have `rating` as their default id, `wcf.form.field.rat
 For this field, the minimum and maximum refer to the minimum and maximum rating an object can get.
 When the field is shown, there will be `maximum() - minimum() + 1` icons be shown with additional CSS classes that can be set and gotten via `defaultCssClasses(array $cssClasses)` and `getDefaultCssClasses()`.
 If a rating values is set, the first `getValue()` icons will instead use the classes that can be set and gotten via `activeCssClasses(array $cssClasses)` and `getActiveCssClasses()`.
-By default, the only default class is `fa-star-o` and the active classes are `fa-star` and `orange`. 
+By default, the only default class is `star-o` and the active classes are `star` and `orange`. 
 
 
 ### `SelectFormField`
index 6404d58078183ba62efb129947d99d7213533878..6170c3371c6dca9b68723164723dc24dac6eb4cd 100644 (file)
@@ -186,7 +186,7 @@ For the `ILookupPageHandler` interface, we need to implement three methods:
    Here, we use `PersonRuntimeCache::getObject()` again and check if the return value is `null`, which is the case for non-existing people.
 1. `lookup($searchString)` is used when setting up an internal link and when searching for the linked person.
    This method simply searches the first and last name of the people and returns an array with the person data.
-   While the `link`, the `objectID`, and the `title` element are self-explanatory, the `image` element can either contain an HTML `<img>` tag, which is displayed next to the search result (WoltLab Suite uses an image tag for users showing their avatar, for example), or a FontAwesome icon class (starting with `fa-`).
+   While the `link`, the `objectID`, and the `title` element are self-explanatory, the `image` element can either contain an HTML `<img>` tag, which is displayed next to the search result (WoltLab Suite uses an image tag for users showing their avatar, for example), or a FontAwesome icon class.
 
 Additionally, the class also implements [IOnlineLocationPageHandler](https://github.com/WoltLab/WCF/blob/master/wcfsetup/install/files/lib/system/page/handler/IOnlineLocationPageHandler.class.php) which is used to determine the online location of users.
 To ensure upwards-compatibility if the `IOnlineLocationPageHandler` interface changes, the [TOnlineLocationPageHandler](https://github.com/WoltLab/WCF/blob/master/wcfsetup/install/files/lib/system/page/handler/TOnlineLocationPageHandler.class.php) trait is used.
index 6ba64bab7e6d05c0e75436d1211b6d1c5f187092..2c28ac390f8f5839f161f695cac51c826c07633e 100644 (file)
@@ -15,8 +15,8 @@
                        <htmlopen>div</htmlopen>
                        <htmlclose>div</htmlclose>
                        <isBlockElement>1</isBlockElement>
-                       <wysiwygicon>fa-bath</wysiwygicon>
+                       <wysiwygicon>bath</wysiwygicon>
                        <buttonlabel>wcf.editor.button.example</buttonlabel>
                </bbcode>
        </import>
-</data>
\ No newline at end of file
+</data>
index 41bd6d5aaf517306353cf07127ccecb6483bd9c8..a49ac08dcbfab1aca2bcac2da06384cb12acfc99 100644 (file)
@@ -2,7 +2,7 @@
 <data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/userMenu.xsd">
        <import>
                <usermenuitem name="wcf.user.menu.foo">
-                       <iconclassname>fa-home</iconclassname>
+                       <iconclassname>home</iconclassname>
                </usermenuitem>
 
                <usermenuitem name="wcf.user.menu.foo.bar">
@@ -19,4 +19,4 @@
                        <options>module_foo_bar</options>
                </usermenuitem>
        </import>
-</data>
\ No newline at end of file
+</data>
index 6ccf64fdbe0f830d0f6c16503e0c6642144944dd..18bc0d9453dfa5fa735d4f7b44e52ec0d233645b 100644 (file)
@@ -13,7 +13,7 @@
                        <controller>wcf\acp\form\PersonAddForm</controller>
                        <parent>wcf.acp.menu.link.person.list</parent>
                        <permissions>admin.content.canManagePeople</permissions>
-                       <icon>fa-plus</icon>
+                       <icon>plus</icon>
                </acpmenuitem>
        </import>
 </data>
index 4cf2ec4a7d77e24bf8eb2af81cb5af637792a5d3..c1df9d11b146cfc21b996f023e1405fad0a17981 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonList'}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonList'}{/link}" class="button">{icon name='list'} <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
index 71766eff5a05d7043891dc14be4a018476b5a3a1..caa87a9af2776837d1fa8b6f834552d41055167c 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
@@ -37,7 +37,7 @@
                                {foreach from=$objects item=person}
                                        <tr class="jsObjectActionObject" data-object-id="{@$person->getObjectID()}">
                                                <td class="columnIcon">
-                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
+                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip">{icon name='pencil'}</a>
                                                        {objectAction action="delete" objectTitle=$person->getTitle()}
                                                        
                                                        {event name='rowButtons'}
@@ -62,7 +62,7 @@
                
                <nav class="contentFooterNavigation">
                        <ul>
-                               <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                               <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                                
                                {event name='contentFooterNavigation'}
                        </ul>
index 6cad7472cad262722a328f4aa8b5196137f50318..b2eab30687f1617f01341f6f0ff3ee24e9739066 100644 (file)
@@ -55,7 +55,7 @@
                        {foreach from=$objects item=person}
                                <li>
                                        <div class="box48">
-                                               <span class="icon icon48 fa-user"></span>
+                                               {icon name='user' size=48}
                                                
                                                <div class="details personInformation">
                                                        <div class="containerHeadline">
index 6ccf64fdbe0f830d0f6c16503e0c6642144944dd..18bc0d9453dfa5fa735d4f7b44e52ec0d233645b 100644 (file)
@@ -13,7 +13,7 @@
                        <controller>wcf\acp\form\PersonAddForm</controller>
                        <parent>wcf.acp.menu.link.person.list</parent>
                        <permissions>admin.content.canManagePeople</permissions>
-                       <icon>fa-plus</icon>
+                       <icon>plus</icon>
                </acpmenuitem>
        </import>
 </data>
index 4cf2ec4a7d77e24bf8eb2af81cb5af637792a5d3..c1df9d11b146cfc21b996f023e1405fad0a17981 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonList'}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonList'}{/link}" class="button">{icon name='list'} <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
index 71766eff5a05d7043891dc14be4a018476b5a3a1..caa87a9af2776837d1fa8b6f834552d41055167c 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
@@ -37,7 +37,7 @@
                                {foreach from=$objects item=person}
                                        <tr class="jsObjectActionObject" data-object-id="{@$person->getObjectID()}">
                                                <td class="columnIcon">
-                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
+                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip">{icon name='pencil'}</a>
                                                        {objectAction action="delete" objectTitle=$person->getTitle()}
                                                        
                                                        {event name='rowButtons'}
@@ -62,7 +62,7 @@
                
                <nav class="contentFooterNavigation">
                        <ul>
-                               <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                               <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                                
                                {event name='contentFooterNavigation'}
                        </ul>
index 94a413609d88b2cfd81a10205811f2dab9bddc74..67b15d67f257f31d9ff7795b355dde499c586e93 100644 (file)
@@ -76,7 +76,7 @@ final class PersonPageHandler extends AbstractLookupPageHandler implements IOnli
         $results = [];
         foreach ($personList as $person) {
             $results[] = [
-                'image' => 'fa-user',
+                'image' => 'user',
                 'link' => $person->getLink(),
                 'objectID' => $person->personID,
                 'title' => $person->getTitle(),
index 4fae03ee520a0d395821dfb5b83c9fa2062b95c2..089b0fa79e02ddbf79e475ef730cc6099f537a9a 100644 (file)
@@ -55,7 +55,7 @@
                        {foreach from=$objects item=person}
                                <li>
                                        <div class="box48">
-                                               <span class="icon icon48 fa-user"></span>
+                                               {icon name='user' size=48}
                                                
                                                <div class="details personInformation">
                                                        <div class="containerHeadline">
index 6ccf64fdbe0f830d0f6c16503e0c6642144944dd..18bc0d9453dfa5fa735d4f7b44e52ec0d233645b 100644 (file)
@@ -13,7 +13,7 @@
                        <controller>wcf\acp\form\PersonAddForm</controller>
                        <parent>wcf.acp.menu.link.person.list</parent>
                        <permissions>admin.content.canManagePeople</permissions>
-                       <icon>fa-plus</icon>
+                       <icon>plus</icon>
                </acpmenuitem>
        </import>
 </data>
index 4cf2ec4a7d77e24bf8eb2af81cb5af637792a5d3..c1df9d11b146cfc21b996f023e1405fad0a17981 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonList'}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonList'}{/link}" class="button">{icon name='list'} <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
index 71766eff5a05d7043891dc14be4a018476b5a3a1..caa87a9af2776837d1fa8b6f834552d41055167c 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
@@ -37,7 +37,7 @@
                                {foreach from=$objects item=person}
                                        <tr class="jsObjectActionObject" data-object-id="{@$person->getObjectID()}">
                                                <td class="columnIcon">
-                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
+                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip">{icon name='pencil'}</a>
                                                        {objectAction action="delete" objectTitle=$person->getTitle()}
                                                        
                                                        {event name='rowButtons'}
@@ -62,7 +62,7 @@
                
                <nav class="contentFooterNavigation">
                        <ul>
-                               <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                               <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                                
                                {event name='contentFooterNavigation'}
                        </ul>
index 94a413609d88b2cfd81a10205811f2dab9bddc74..67b15d67f257f31d9ff7795b355dde499c586e93 100644 (file)
@@ -76,7 +76,7 @@ final class PersonPageHandler extends AbstractLookupPageHandler implements IOnli
         $results = [];
         foreach ($personList as $person) {
             $results[] = [
-                'image' => 'fa-user',
+                'image' => 'user',
                 'link' => $person->getLink(),
                 'objectID' => $person->personID,
                 'title' => $person->getTitle(),
index 146ce164d8633bb68818b6de788771a48976176e..4343d76325cb1da2e402ed3c246b1441f481c6fa 100644 (file)
@@ -1,8 +1,8 @@
 <ul class="sidebarItemList">
     {foreach from=$boxPersonList item=boxPerson}
         <li class="box24">
-            <span class="icon icon24 fa-user"></span>
-
+            {icon name='user' size=24}
+            
             <div class="sidebarItemTitle">
                 <h3>{anchor object=$boxPerson}</h3>
                 {capture assign='__boxPersonDescription'}{lang __optional=true}wcf.person.boxList.description.{$boxSortField}{/lang}{/capture}
index 4fae03ee520a0d395821dfb5b83c9fa2062b95c2..089b0fa79e02ddbf79e475ef730cc6099f537a9a 100644 (file)
@@ -55,7 +55,7 @@
                        {foreach from=$objects item=person}
                                <li>
                                        <div class="box48">
-                                               <span class="icon icon48 fa-user"></span>
+                                               {icon name='user' size=48}
                                                
                                                <div class="details personInformation">
                                                        <div class="containerHeadline">
index 6ccf64fdbe0f830d0f6c16503e0c6642144944dd..18bc0d9453dfa5fa735d4f7b44e52ec0d233645b 100644 (file)
@@ -13,7 +13,7 @@
                        <controller>wcf\acp\form\PersonAddForm</controller>
                        <parent>wcf.acp.menu.link.person.list</parent>
                        <permissions>admin.content.canManagePeople</permissions>
-                       <icon>fa-plus</icon>
+                       <icon>plus</icon>
                </acpmenuitem>
        </import>
 </data>
index 4cf2ec4a7d77e24bf8eb2af81cb5af637792a5d3..c1df9d11b146cfc21b996f023e1405fad0a17981 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonList'}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonList'}{/link}" class="button">{icon name='list'} <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
index 71766eff5a05d7043891dc14be4a018476b5a3a1..caa87a9af2776837d1fa8b6f834552d41055167c 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
@@ -37,7 +37,7 @@
                                {foreach from=$objects item=person}
                                        <tr class="jsObjectActionObject" data-object-id="{@$person->getObjectID()}">
                                                <td class="columnIcon">
-                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
+                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip">{icon name='pencil'}</a>
                                                        {objectAction action="delete" objectTitle=$person->getTitle()}
                                                        
                                                        {event name='rowButtons'}
@@ -62,7 +62,7 @@
                
                <nav class="contentFooterNavigation">
                        <ul>
-                               <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                               <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                                
                                {event name='contentFooterNavigation'}
                        </ul>
index 94a413609d88b2cfd81a10205811f2dab9bddc74..67b15d67f257f31d9ff7795b355dde499c586e93 100644 (file)
@@ -76,7 +76,7 @@ final class PersonPageHandler extends AbstractLookupPageHandler implements IOnli
         $results = [];
         foreach ($personList as $person) {
             $results[] = [
-                'image' => 'fa-user',
+                'image' => 'user',
                 'link' => $person->getLink(),
                 'objectID' => $person->personID,
                 'title' => $person->getTitle(),
index 146ce164d8633bb68818b6de788771a48976176e..4343d76325cb1da2e402ed3c246b1441f481c6fa 100644 (file)
@@ -1,8 +1,8 @@
 <ul class="sidebarItemList">
     {foreach from=$boxPersonList item=boxPerson}
         <li class="box24">
-            <span class="icon icon24 fa-user"></span>
-
+            {icon name='user' size=24}
+            
             <div class="sidebarItemTitle">
                 <h3>{anchor object=$boxPerson}</h3>
                 {capture assign='__boxPersonDescription'}{lang __optional=true}wcf.person.boxList.description.{$boxSortField}{/lang}{/capture}
index dd0b1af7922099087b667c9fd44414cd306ec450..1d61b7f5618bdc88c46e4ef279bb0739251f9f1e 100644 (file)
@@ -23,7 +23,7 @@
                                        <ul class="buttonGroup">
                                                <li>
                                                        <a href="#" class="button" id="personInformationAddButton">
-                                                               <span class="icon icon16 fa-plus"></span>
+                                                               {icon name='plus'}
                                                                <span>{lang}wcf.person.information.add{/lang}</span>
                                                        </a>
                                                </li>
@@ -59,7 +59,7 @@
                                                                                {if $information->canEdit()}
                                                                                        <li class="jsOnly">
                                                                                                <a href="#" title="{lang}wcf.global.button.edit{/lang}" class="jsEditInformation jsTooltip">
-                                                                                                       <span class="icon icon16 fa-pencil"></span>
+                                                                                                       {icon name='pencil'}
                                                                                                        <span class="invisible">{lang}wcf.global.button.edit{/lang}</span>
                                                                                                </a>
                                                                                        </li>
@@ -67,7 +67,7 @@
                                                                                {if $information->canDelete()}
                                                                                        <li class="jsOnly">
                                                                                                <a href="#" title="{lang}wcf.global.button.delete{/lang}" class="jsObjectAction jsTooltip" data-object-action="delete" data-confirm-message="{lang}wcf.person.information.delete.confirmMessage{/lang}">
-                                                                                                       <span class="icon icon16 fa-times"></span>
+                                                                                                       {icon name='times'}
                                                                                                        <span class="invisible">{lang}wcf.global.button.edit{/lang}</span>
                                                                                                </a>
                                                                                        </li>
index 1f72ee9995f2ed8c8d04c8ab9eb9fa103b9ff198..96a9dca4865d39fe74d1330799e1270e77d011f4 100644 (file)
@@ -55,7 +55,7 @@
                        {foreach from=$objects item=person}
                                <li>
                                        <div class="box48">
-                                               <span class="icon icon48 fa-user"></span>
+                                               {icon name='user' size=48}
                                                
                                                <div class="details personInformation">
                                                        <div class="containerHeadline">
index 6ccf64fdbe0f830d0f6c16503e0c6642144944dd..18bc0d9453dfa5fa735d4f7b44e52ec0d233645b 100644 (file)
@@ -13,7 +13,7 @@
                        <controller>wcf\acp\form\PersonAddForm</controller>
                        <parent>wcf.acp.menu.link.person.list</parent>
                        <permissions>admin.content.canManagePeople</permissions>
-                       <icon>fa-plus</icon>
+                       <icon>plus</icon>
                </acpmenuitem>
        </import>
 </data>
index 4cf2ec4a7d77e24bf8eb2af81cb5af637792a5d3..c1df9d11b146cfc21b996f023e1405fad0a17981 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonList'}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonList'}{/link}" class="button">{icon name='list'} <span>{lang}wcf.acp.menu.link.person.list{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
index 71766eff5a05d7043891dc14be4a018476b5a3a1..caa87a9af2776837d1fa8b6f834552d41055167c 100644 (file)
@@ -7,7 +7,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
-                       <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                       <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
                </ul>
@@ -37,7 +37,7 @@
                                {foreach from=$objects item=person}
                                        <tr class="jsObjectActionObject" data-object-id="{@$person->getObjectID()}">
                                                <td class="columnIcon">
-                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
+                                                       <a href="{link controller='PersonEdit' object=$person}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip">{icon name='pencil'}</a>
                                                        {objectAction action="delete" objectTitle=$person->getTitle()}
                                                        
                                                        {event name='rowButtons'}
@@ -62,7 +62,7 @@
                
                <nav class="contentFooterNavigation">
                        <ul>
-                               <li><a href="{link controller='PersonAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
+                               <li><a href="{link controller='PersonAdd'}{/link}" class="button">{icon name='plus'} <span>{lang}wcf.acp.menu.link.person.add{/lang}</span></a></li>
                                
                                {event name='contentFooterNavigation'}
                        </ul>
index 94a413609d88b2cfd81a10205811f2dab9bddc74..67b15d67f257f31d9ff7795b355dde499c586e93 100644 (file)
@@ -76,7 +76,7 @@ final class PersonPageHandler extends AbstractLookupPageHandler implements IOnli
         $results = [];
         foreach ($personList as $person) {
             $results[] = [
-                'image' => 'fa-user',
+                'image' => 'user',
                 'link' => $person->getLink(),
                 'objectID' => $person->personID,
                 'title' => $person->getTitle(),
index 146ce164d8633bb68818b6de788771a48976176e..4343d76325cb1da2e402ed3c246b1441f481c6fa 100644 (file)
@@ -1,8 +1,8 @@
 <ul class="sidebarItemList">
     {foreach from=$boxPersonList item=boxPerson}
         <li class="box24">
-            <span class="icon icon24 fa-user"></span>
-
+            {icon name='user' size=24}
+            
             <div class="sidebarItemTitle">
                 <h3>{anchor object=$boxPerson}</h3>
                 {capture assign='__boxPersonDescription'}{lang __optional=true}wcf.person.boxList.description.{$boxSortField}{/lang}{/capture}
index dd0b1af7922099087b667c9fd44414cd306ec450..1d61b7f5618bdc88c46e4ef279bb0739251f9f1e 100644 (file)
@@ -23,7 +23,7 @@
                                        <ul class="buttonGroup">
                                                <li>
                                                        <a href="#" class="button" id="personInformationAddButton">
-                                                               <span class="icon icon16 fa-plus"></span>
+                                                               {icon name='plus'}
                                                                <span>{lang}wcf.person.information.add{/lang}</span>
                                                        </a>
                                                </li>
@@ -59,7 +59,7 @@
                                                                                {if $information->canEdit()}
                                                                                        <li class="jsOnly">
                                                                                                <a href="#" title="{lang}wcf.global.button.edit{/lang}" class="jsEditInformation jsTooltip">
-                                                                                                       <span class="icon icon16 fa-pencil"></span>
+                                                                                                       {icon name='pencil'}
                                                                                                        <span class="invisible">{lang}wcf.global.button.edit{/lang}</span>
                                                                                                </a>
                                                                                        </li>
@@ -67,7 +67,7 @@
                                                                                {if $information->canDelete()}
                                                                                        <li class="jsOnly">
                                                                                                <a href="#" title="{lang}wcf.global.button.delete{/lang}" class="jsObjectAction jsTooltip" data-object-action="delete" data-confirm-message="{lang}wcf.person.information.delete.confirmMessage{/lang}">
-                                                                                                       <span class="icon icon16 fa-times"></span>
+                                                                                                       {icon name='times'}
                                                                                                        <span class="invisible">{lang}wcf.global.button.edit{/lang}</span>
                                                                                                </a>
                                                                                        </li>
index 1f72ee9995f2ed8c8d04c8ab9eb9fa103b9ff198..96a9dca4865d39fe74d1330799e1270e77d011f4 100644 (file)
@@ -55,7 +55,7 @@
                        {foreach from=$objects item=person}
                                <li>
                                        <div class="box48">
-                                               <span class="icon icon48 fa-user"></span>
+                                               {icon name='user' size=48}
                                                
                                                <div class="details personInformation">
                                                        <div class="containerHeadline">