From: Marcel Werk Date: Wed, 10 Jan 2024 16:39:33 +0000 (+0100) Subject: Fix outdated usage of icons X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e68502322fe75b0c2e2bc607d43ec691e4bb785;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Fix outdated usage of icons Closes #407 --- diff --git a/docs/php/api/form_builder/form_fields.md b/docs/php/api/form_builder/form_fields.md index 178caea6..7f686e86 100644 --- a/docs/php/api/form_builder/form_fields.md +++ b/docs/php/api/form_builder/form_fields.md @@ -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` diff --git a/docs/tutorial/series/part_3.md b/docs/tutorial/series/part_3.md index 6404d580..6170c337 100644 --- a/docs/tutorial/series/part_3.md +++ b/docs/tutorial/series/part_3.md @@ -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 `` 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 `` 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. diff --git a/snippets/package/pip/bbcode.xml b/snippets/package/pip/bbcode.xml index 6ba64bab..2c28ac39 100644 --- a/snippets/package/pip/bbcode.xml +++ b/snippets/package/pip/bbcode.xml @@ -15,8 +15,8 @@ div div 1 - fa-bath + bath wcf.editor.button.example - \ No newline at end of file + diff --git a/snippets/package/pip/userMenu.xml b/snippets/package/pip/userMenu.xml index 41bd6d5a..a49ac08d 100644 --- a/snippets/package/pip/userMenu.xml +++ b/snippets/package/pip/userMenu.xml @@ -2,7 +2,7 @@ - fa-home + home @@ -19,4 +19,4 @@ module_foo_bar - \ No newline at end of file + diff --git a/snippets/tutorial/tutorial-series/part-1/acpMenu.xml b/snippets/tutorial/tutorial-series/part-1/acpMenu.xml index 6ccf64fd..18bc0d94 100644 --- a/snippets/tutorial/tutorial-series/part-1/acpMenu.xml +++ b/snippets/tutorial/tutorial-series/part-1/acpMenu.xml @@ -13,7 +13,7 @@ wcf\acp\form\PersonAddForm wcf.acp.menu.link.person.list admin.content.canManagePeople - fa-plus + plus diff --git a/snippets/tutorial/tutorial-series/part-1/acptemplates/personAdd.tpl b/snippets/tutorial/tutorial-series/part-1/acptemplates/personAdd.tpl index 4cf2ec4a..c1df9d11 100644 --- a/snippets/tutorial/tutorial-series/part-1/acptemplates/personAdd.tpl +++ b/snippets/tutorial/tutorial-series/part-1/acptemplates/personAdd.tpl @@ -7,7 +7,7 @@