2024-11-23 08:15:34 +00:00
|
|
|
<?php
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2024 Anthony Damhet <a.damhet@progiseize.fr>
|
2026-04-15 15:59:06 +00:00
|
|
|
* Copyright (C) 2026 MDW <mdeweerd@users.noreply.github.com>
|
2024-11-23 08:15:34 +00:00
|
|
|
*
|
|
|
|
|
* This program and files/directory inner it is free software: you can
|
|
|
|
|
* redistribute it and/or modify it under the terms of the
|
|
|
|
|
* GNU Affero General Public License (AGPL) as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU AGPL for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU AGPL
|
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/agpl-3.0.html>.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-01-27 13:37:00 +00:00
|
|
|
// Load Dolibarr environment
|
|
|
|
|
require '../../../../main.inc.php';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var DoliDB $db
|
|
|
|
|
* @var HookManager $hookmanager
|
|
|
|
|
* @var Translate $langs
|
|
|
|
|
* @var User $user
|
|
|
|
|
*/
|
2024-11-23 08:15:34 +00:00
|
|
|
|
|
|
|
|
// Protection if external user
|
2025-01-27 13:37:00 +00:00
|
|
|
if ($user->socid > 0) {
|
|
|
|
|
accessforbidden();
|
|
|
|
|
}
|
2024-11-23 08:15:34 +00:00
|
|
|
|
|
|
|
|
// Includes
|
2025-01-27 10:22:10 +00:00
|
|
|
require_once DOL_DOCUMENT_ROOT . '/admin/tools/ui/class/documentation.class.php';
|
2024-11-23 08:15:34 +00:00
|
|
|
|
|
|
|
|
// Load documentation translations
|
|
|
|
|
$langs->load('uxdocumentation');
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
$documentation = new Documentation($db);
|
|
|
|
|
|
|
|
|
|
// Output html head + body - Param is Title
|
2025-07-31 19:12:01 +00:00
|
|
|
$documentation->docHeader('Icons', [], ['admin/tools/ui/css/doc-icons.css'], GETPOST('hidenavmenu'));
|
2024-11-23 08:15:34 +00:00
|
|
|
|
|
|
|
|
// Set view for menu and breadcrumb
|
|
|
|
|
// Menu must be set in constructor of documentation class
|
|
|
|
|
$documentation->view = array('Components','Icons');
|
2025-03-25 09:57:15 +00:00
|
|
|
$form = new Form($db);
|
|
|
|
|
|
2026-04-15 15:59:06 +00:00
|
|
|
$mode = GETPOST('mode'); // ex : no-btn
|
|
|
|
|
$displayMode = GETPOST('displayMode') == 'kanban' ? 'kanban' : 'icon-only';
|
2025-03-25 09:57:15 +00:00
|
|
|
$revertDisplayMode = $displayMode == 'kanban' ? 'icon-only' : 'kanban';
|
|
|
|
|
$revertDisplayName = $displayMode == 'kanban' ? $langs->trans('ViewList') : $langs->trans('ViewKanban');
|
|
|
|
|
$switchDisplayLink = dol_buildpath($documentation->baseUrl . '/components/icons.php', 1) . '?displayMode=' . $revertDisplayMode;
|
|
|
|
|
$switchDisplayLinkIcon = $displayMode == 'kanban' ? 'fa fa-th' : 'fa fa-th-list';
|
2024-11-23 08:15:34 +00:00
|
|
|
|
|
|
|
|
// Output sidebar
|
2025-04-24 14:22:51 +00:00
|
|
|
if (!GETPOST('hidenavmenu')) {
|
|
|
|
|
$documentation->showSidebar();
|
|
|
|
|
}
|
|
|
|
|
?>
|
2024-11-23 08:15:34 +00:00
|
|
|
|
2025-06-12 14:11:49 +00:00
|
|
|
<div class="doc-wrapper<?php print GETPOST('hidenavmenu') ? "-bis" : ""; ?>">
|
2024-11-23 08:15:34 +00:00
|
|
|
|
2025-04-24 14:22:51 +00:00
|
|
|
<?php
|
|
|
|
|
if (!GETPOST('hidenavmenu')) {
|
|
|
|
|
$documentation->showBreadCrumb();
|
|
|
|
|
}
|
|
|
|
|
?>
|
2024-11-23 08:15:34 +00:00
|
|
|
|
|
|
|
|
<div class="doc-content-wrapper">
|
|
|
|
|
|
|
|
|
|
<h1 class="documentation-title"><?php echo $langs->trans('DocIconsTitle'); ?></h1>
|
|
|
|
|
<p class="documentation-text"><?php echo $langs->trans('DocIconsMainDescription'); ?></p>
|
|
|
|
|
|
|
|
|
|
<!-- Summary -->
|
|
|
|
|
<?php $documentation->showSummary(); ?>
|
|
|
|
|
|
2025-10-10 12:47:31 +00:00
|
|
|
<br>
|
|
|
|
|
|
2024-11-23 17:26:40 +00:00
|
|
|
<!-- List of usage font awesome icon -->
|
|
|
|
|
<div class="documentation-section" id="img-picto-section-list">
|
2024-11-23 08:15:34 +00:00
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
$iconFileName = 'shims.json';
|
|
|
|
|
$iconFilePath = DOL_DOCUMENT_ROOT . '/theme/common/fontawesome-5/metadata';
|
|
|
|
|
|
|
|
|
|
$fontAwesomeIconRaw = file_get_contents($iconFilePath. '/' .$iconFileName);
|
|
|
|
|
if ($fontAwesomeIconRaw === false) {
|
|
|
|
|
dol_print_error($db, 'Error missing file '. $iconFilePath . '/' . $iconFileName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$fontAwesomeIcons = json_decode($fontAwesomeIconRaw);
|
|
|
|
|
if ($fontAwesomeIcons === null) {
|
|
|
|
|
dol_print_error($db, 'Error decoding '. $iconFilePath . '/' . $iconFileName);
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
|
2025-03-15 14:44:40 +00:00
|
|
|
<h2 class="documentation-title"><?php echo $langs->trans('DocIconsListImgPicto'); ?></h2>
|
2024-11-23 08:15:34 +00:00
|
|
|
<?php /* <p class="documentation-text"><?php echo $langs->trans('DocDocIconsListDescription'); ?></p>*/ ?>
|
2025-03-25 09:57:15 +00:00
|
|
|
|
|
|
|
|
<?php print $form->getSearchFilterToolInput(
|
|
|
|
|
'.documentation-img-picto-icon-list .info-box, .documentation-img-picto-icon-list .doc-icon-list-item',
|
|
|
|
|
'search-tools-input',
|
|
|
|
|
'',
|
|
|
|
|
['attr' => [
|
|
|
|
|
'data-no-item-target' => '#img-picto-section-list .search-tool-no-results',
|
|
|
|
|
],
|
|
|
|
|
]
|
|
|
|
|
); ?>
|
|
|
|
|
|
|
|
|
|
<div class="right">
|
2025-05-05 12:54:35 +00:00
|
|
|
<?php
|
2025-06-14 13:06:01 +00:00
|
|
|
if ($mode != 'no-btn') {
|
2026-04-15 15:59:06 +00:00
|
|
|
print dolGetButtonTitle($revertDisplayName, '', $switchDisplayLinkIcon, $switchDisplayLink.'#img-picto-section-list', '', 1, ['forcenohideoftext' => 1]);
|
2025-05-05 12:54:35 +00:00
|
|
|
}
|
|
|
|
|
?>
|
2025-03-25 09:57:15 +00:00
|
|
|
</div>
|
|
|
|
|
|
2024-11-23 17:26:40 +00:00
|
|
|
<div class="documentation-example">
|
2025-03-25 09:57:15 +00:00
|
|
|
<div class="documentation-img-picto-icon-list">
|
2024-11-23 17:26:40 +00:00
|
|
|
<?php
|
2025-03-27 16:33:56 +00:00
|
|
|
$arrayofdolibarriconkey = getImgPictoNameList();
|
|
|
|
|
|
|
|
|
|
foreach ($arrayofdolibarriconkey as $iconName) {
|
2024-11-23 17:26:40 +00:00
|
|
|
$labelAlt = 'Text on title tag for tooltip';
|
2025-03-25 09:57:15 +00:00
|
|
|
|
|
|
|
|
if ($displayMode == 'kanban') {
|
|
|
|
|
$iconCode = img_picto($iconName, $iconName);
|
|
|
|
|
print '<div class="info-box ">
|
2024-11-23 17:26:40 +00:00
|
|
|
<span class="info-box-icon bg-infobox-expensereport">
|
|
|
|
|
'.$iconCode.'
|
|
|
|
|
</span>
|
|
|
|
|
<div class="info-box-content">
|
|
|
|
|
<div class="info-box-title" >'. $iconName .'</div>
|
|
|
|
|
<div class="info-box-lines">
|
|
|
|
|
<div class="info-box-line spanoverflow nowrap">
|
|
|
|
|
<div class="inline-block nowraponall">
|
2025-03-15 14:44:40 +00:00
|
|
|
<div class="documentation-code"><pre>'.dol_htmlentities('img_picto(\''.$labelAlt.'\', \''.$iconName.'\')').'</pre></div>
|
2024-11-23 17:26:40 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!-- /.info-box-lines -->
|
|
|
|
|
</div><!-- /.info-box-content -->
|
|
|
|
|
</div>';
|
2025-03-25 09:57:15 +00:00
|
|
|
} else {
|
2025-04-22 17:12:25 +00:00
|
|
|
$tooltip = '<u>'.$langs->trans("DocCodeForMenuOrModuleBuilder").':</u><br>'.$iconName;
|
2025-05-05 12:54:35 +00:00
|
|
|
$tooltip .= '<br><br><u>'.$langs->trans("DocExampleForPHPCode").':</u><br>img_picto(\''.$labelAlt.'\', \''.$iconName.'\')';
|
2025-04-22 17:12:25 +00:00
|
|
|
$iconCode = img_picto($tooltip, $iconName, '', 0, 0, 0, '', 'classfortooltip');
|
|
|
|
|
print '<span class="doc-icon-list-item">'.$iconCode;
|
|
|
|
|
print '<span class="doc-icon-hidden-name-for-search">'.$iconName.'</span></span>';
|
2025-03-25 09:57:15 +00:00
|
|
|
}
|
2024-11-23 17:26:40 +00:00
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
2025-03-25 09:57:15 +00:00
|
|
|
|
|
|
|
|
<div class="search-tool-no-results center hidden-search-result" ><?php print $langs->trans('NoResults') ?></div>
|
2024-11-23 17:26:40 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- -->
|
|
|
|
|
|
|
|
|
|
|
2025-10-10 12:45:07 +00:00
|
|
|
<br><br>
|
|
|
|
|
|
|
|
|
|
|
2024-11-23 17:26:40 +00:00
|
|
|
<!-- List of usage font awesome icon -->
|
|
|
|
|
<div class="documentation-section" id="icon-section-list">
|
|
|
|
|
|
|
|
|
|
<?php
|
2026-03-15 13:54:59 +00:00
|
|
|
$iconFileFa = 'icons.json';
|
2024-11-23 17:26:40 +00:00
|
|
|
$iconFilePath = DOL_DOCUMENT_ROOT . '/theme/common/fontawesome-5/metadata';
|
|
|
|
|
|
2026-03-15 13:54:59 +00:00
|
|
|
// Load the full FontAwesome 5 icons JSON
|
|
|
|
|
$allIconsRaw = file_get_contents($iconFilePath . '/' . $iconFileFa);
|
|
|
|
|
$fontAwesomeIcons = []; // This will be the output array in shims.json format
|
|
|
|
|
|
|
|
|
|
if ($allIconsRaw === false) {
|
|
|
|
|
dol_print_error($db, 'Error: missing file ' . $iconFilePath . '/' . $iconFileFa);
|
|
|
|
|
} else {
|
|
|
|
|
$allIcons = json_decode($allIconsRaw, true);
|
|
|
|
|
if ($allIcons === null) {
|
|
|
|
|
dol_print_error($db, 'Error: cannot decode JSON from ' . $iconFilePath . '/' . $iconFileFa);
|
|
|
|
|
} else {
|
|
|
|
|
foreach ($allIcons as $iconName => $iconData) {
|
|
|
|
|
// Determine prefix: 'fab' for brands, 'fas' or 'far' can be added later if needed
|
|
|
|
|
$prefix = in_array('brands', $iconData['styles']) ? 'fab' : null;
|
|
|
|
|
// Format: [ "icon-name", "prefix if any", null ]
|
|
|
|
|
$fontAwesomeIcons[] = [$iconName, $prefix, null]; // null reserved for future alias
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-11-23 17:26:40 +00:00
|
|
|
}
|
|
|
|
|
?>
|
2024-11-23 08:15:34 +00:00
|
|
|
|
2025-03-15 14:44:40 +00:00
|
|
|
<h2 class="documentation-title"><?php echo $langs->trans('DocIconsListFontAwesome'); ?></h2>
|
2024-11-23 17:26:40 +00:00
|
|
|
<?php /* <p class="documentation-text"><?php echo $langs->trans('DocDocIconsListDescription'); ?></p>*/ ?>
|
2024-11-23 08:15:34 +00:00
|
|
|
|
2025-03-25 09:57:15 +00:00
|
|
|
<?php print $form->getSearchFilterToolInput('.documentation-fontawesome-icon-list .info-box, .documentation-fontawesome-icon-list .doc-icon-list-item',
|
|
|
|
|
'search-tools-input',
|
|
|
|
|
'',
|
|
|
|
|
['attr' => [
|
|
|
|
|
'data-no-item-target' => '#icon-section-list .search-tool-no-results',
|
|
|
|
|
],
|
|
|
|
|
]
|
|
|
|
|
); ?>
|
|
|
|
|
|
|
|
|
|
<div class="right">
|
2025-05-05 12:54:35 +00:00
|
|
|
<?php
|
2025-06-14 13:06:01 +00:00
|
|
|
if ($mode != 'no-btn') {
|
2026-04-15 15:59:06 +00:00
|
|
|
print dolGetButtonTitle($revertDisplayName, '', $switchDisplayLinkIcon, $switchDisplayLink.'#icon-section-list', '', 1, ['forcenohideoftext' => 1]);
|
2025-05-05 12:54:35 +00:00
|
|
|
}
|
|
|
|
|
?>
|
2025-03-25 09:57:15 +00:00
|
|
|
</div>
|
2024-11-23 08:15:34 +00:00
|
|
|
|
2025-03-25 09:57:15 +00:00
|
|
|
<div class="documentation-example">
|
|
|
|
|
<div class="documentation-fontawesome-icon-list">
|
2024-11-23 08:15:34 +00:00
|
|
|
<?php
|
2024-11-23 16:53:12 +00:00
|
|
|
$alreadyDisplay = [];
|
2026-03-15 13:54:59 +00:00
|
|
|
if ($fontAwesomeIcons) {
|
2024-11-23 08:15:34 +00:00
|
|
|
foreach ($fontAwesomeIcons as $iconData) {
|
2026-04-15 15:59:06 +00:00
|
|
|
$class = $iconData[1] ?? 'fa';
|
2024-11-23 08:15:34 +00:00
|
|
|
if (!empty($iconData[2])) {
|
2026-04-15 15:59:06 +00:00
|
|
|
$class .= ' fa-'.$iconData[2];
|
2024-11-23 08:15:34 +00:00
|
|
|
} else {
|
2026-04-15 15:59:06 +00:00
|
|
|
$class .= ' fa-'.$iconData[0];
|
2024-11-23 08:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
2024-11-23 16:53:12 +00:00
|
|
|
if (in_array($class, $alreadyDisplay)) {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$alreadyDisplay[] = $class;
|
2024-11-23 08:15:34 +00:00
|
|
|
$iconCode = '<span class="'.$class.'" ></span>';
|
2026-03-15 13:54:59 +00:00
|
|
|
$iconLabel = !empty($iconData[2]) ? $iconData[2] : $iconData[0];
|
2024-11-23 08:15:34 +00:00
|
|
|
|
2025-03-25 09:57:15 +00:00
|
|
|
if ($displayMode == 'kanban') {
|
|
|
|
|
print '<div class="info-box ">
|
2024-11-23 08:15:34 +00:00
|
|
|
<span class="info-box-icon bg-infobox-expensereport">
|
2025-03-25 09:57:15 +00:00
|
|
|
' . $iconCode . '
|
2024-11-23 08:15:34 +00:00
|
|
|
</span>
|
|
|
|
|
<div class="info-box-content">
|
2026-03-15 13:54:59 +00:00
|
|
|
<div class="info-box-title" >' . $iconLabel . '</div>
|
2024-11-23 08:15:34 +00:00
|
|
|
<div class="info-box-lines">
|
|
|
|
|
<div class="info-box-line spanoverflow nowrap">
|
|
|
|
|
<div class="inline-block nowraponall">
|
2025-03-25 09:57:15 +00:00
|
|
|
<div class="documentation-code"><pre>' . dol_htmlentities($iconCode) . '</pre></div>
|
2024-11-23 08:15:34 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!-- /.info-box-lines -->
|
|
|
|
|
</div><!-- /.info-box-content -->
|
|
|
|
|
</div>';
|
2025-03-25 09:57:15 +00:00
|
|
|
} else {
|
2025-04-22 17:12:25 +00:00
|
|
|
$tooltip = '<u>'.$langs->trans("DocCodeForMenuOrModuleBuilder").':</u><br>'.$class;
|
2025-03-25 09:57:15 +00:00
|
|
|
print '<span class="doc-icon-list-item classfortooltip" title="'.dol_escape_htmltag($tooltip).'">'.$iconCode.'<span class="doc-icon-hidden-name-for-search">'.$class.'</span></span>';
|
|
|
|
|
}
|
2024-11-23 08:15:34 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
2025-03-25 09:57:15 +00:00
|
|
|
|
|
|
|
|
<div class="search-tool-no-results center hidden-search-result" ><?php print $langs->trans('NoResults') ?></div>
|
2024-11-23 08:15:34 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
// Output close body + html
|
|
|
|
|
$documentation->docFooter();
|
2025-10-10 12:45:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get all usage icon key usable for img_picto(..., key)
|
|
|
|
|
*
|
|
|
|
|
* @return string[]
|
|
|
|
|
* @see getImgPictoConv()
|
|
|
|
|
*/
|
|
|
|
|
function getImgPictoNameList()
|
|
|
|
|
{
|
2026-04-15 12:36:52 +00:00
|
|
|
$imgpicto = array_merge(array_keys(getImgPictoConv()), array(
|
|
|
|
|
// Keep in this list only picto that are NOT already into getImgPictoConv()
|
2025-10-10 12:45:07 +00:00
|
|
|
'1downarrow',
|
|
|
|
|
'1uparrow',
|
|
|
|
|
'1leftarrow',
|
|
|
|
|
'1rightarrow',
|
|
|
|
|
'1uparrow_selected',
|
|
|
|
|
'1downarrow_selected',
|
|
|
|
|
'1leftarrow_selected',
|
|
|
|
|
'1rightarrow_selected',
|
|
|
|
|
'angle-double-down',
|
|
|
|
|
'angle-double-up',
|
|
|
|
|
'barcode',
|
|
|
|
|
'bank',
|
|
|
|
|
'bell',
|
|
|
|
|
'birthday-cake',
|
|
|
|
|
'briefcase-medical',
|
|
|
|
|
'bug',
|
|
|
|
|
'building',
|
|
|
|
|
'hourglass',
|
|
|
|
|
'cash-register',
|
|
|
|
|
'clock',
|
|
|
|
|
'clone',
|
|
|
|
|
'code',
|
|
|
|
|
'cog',
|
|
|
|
|
'cron',
|
|
|
|
|
'cubes',
|
|
|
|
|
'check-circle',
|
|
|
|
|
'check-square',
|
|
|
|
|
'circle',
|
|
|
|
|
'chevron-left',
|
|
|
|
|
'chevron-right',
|
|
|
|
|
'chevron-down',
|
|
|
|
|
'chevron-up',
|
|
|
|
|
'dolly',
|
|
|
|
|
'download',
|
|
|
|
|
'ellipsis-h',
|
|
|
|
|
'envelope',
|
|
|
|
|
'eraser',
|
|
|
|
|
'external-link-alt',
|
|
|
|
|
'external-link-square-alt',
|
|
|
|
|
'eye',
|
|
|
|
|
'file',
|
|
|
|
|
'file-code',
|
|
|
|
|
'file-export',
|
|
|
|
|
'file-import',
|
|
|
|
|
'file-upload',
|
|
|
|
|
'autofill',
|
|
|
|
|
'folder',
|
|
|
|
|
'folder-open',
|
|
|
|
|
'folder-plus',
|
|
|
|
|
'font',
|
|
|
|
|
'generic',
|
|
|
|
|
'globe-americas',
|
|
|
|
|
'hands-helping',
|
|
|
|
|
'id-card',
|
|
|
|
|
'images',
|
|
|
|
|
'key',
|
|
|
|
|
'language',
|
|
|
|
|
'link',
|
|
|
|
|
'list',
|
|
|
|
|
'listlight',
|
|
|
|
|
'lock',
|
|
|
|
|
'long-arrow-alt-right',
|
|
|
|
|
'map-marker-alt',
|
|
|
|
|
'minus',
|
|
|
|
|
'money-bill-alt',
|
|
|
|
|
'note',
|
|
|
|
|
'off',
|
|
|
|
|
'on',
|
|
|
|
|
'paragraph',
|
|
|
|
|
'play',
|
|
|
|
|
'phone',
|
|
|
|
|
'search',
|
|
|
|
|
'share-alt',
|
|
|
|
|
'stripe-s',
|
|
|
|
|
'unlink',
|
|
|
|
|
'user',
|
|
|
|
|
'user-tie',
|
|
|
|
|
'wrench',
|
|
|
|
|
'discord',
|
|
|
|
|
'facebook',
|
|
|
|
|
'flickr',
|
|
|
|
|
'instagram',
|
|
|
|
|
'linkedin',
|
|
|
|
|
'github',
|
|
|
|
|
'google',
|
|
|
|
|
'meetup',
|
|
|
|
|
'microsoft',
|
|
|
|
|
'skype',
|
|
|
|
|
'slack',
|
|
|
|
|
'twitter',
|
|
|
|
|
'pinterest',
|
|
|
|
|
'reddit',
|
|
|
|
|
'snapchat',
|
|
|
|
|
'tumblr',
|
|
|
|
|
'youtube',
|
|
|
|
|
'viadeo',
|
|
|
|
|
'google-plus-g',
|
|
|
|
|
'whatsapp',
|
|
|
|
|
'home',
|
|
|
|
|
'pencil-ruler',
|
|
|
|
|
'question',
|
|
|
|
|
'rss',
|
|
|
|
|
'search-plus',
|
|
|
|
|
'shapes',
|
|
|
|
|
'square',
|
|
|
|
|
'sort-numeric-down',
|
|
|
|
|
'supplier_invoice',
|
|
|
|
|
'terminal',
|
|
|
|
|
'undo',
|
|
|
|
|
'user-cog',
|
|
|
|
|
'user-injured',
|
|
|
|
|
'user-md',
|
|
|
|
|
'upload',
|
|
|
|
|
'stamp',
|
2026-04-15 12:36:52 +00:00
|
|
|
'signature'
|
2025-10-10 12:45:07 +00:00
|
|
|
));
|
2026-04-15 12:36:52 +00:00
|
|
|
|
|
|
|
|
asort($imgpicto);
|
|
|
|
|
|
2026-04-23 13:26:53 +00:00
|
|
|
return array_unique($imgpicto); // @phpstan-ignore return.type
|
2025-10-10 12:45:07 +00:00
|
|
|
}
|