Skip to content

Commit

Permalink
fix(form): use font awesome
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Nov 19, 2021
1 parent 59ea8b7 commit 15c66f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions inc/formlist.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ static function getMenuContent() {
$menu['title'] = static::getTypeName(2);
$menu['page'] = '/' . Plugin::getWebDir('formcreator', false) . '/front/formlist.php';
$menu['icon'] = 'fas fa-edit';
$image = '<img src="' . FORMCREATOR_ROOTDOC . '/pics/check.png"
$image = '<i class="fa fa-check-square"
title="' . __('Forms waiting for validation', 'formcreator') . '"
alt="' . __('Forms waiting for validation', 'formcreator') . '">';
alt="' . __('Forms waiting for validation', 'formcreator') . '"></i>';

$menu['links']['search'] = PluginFormcreatorFormList::getSearchURL(false);
if (PluginFormcreatorForm::canCreate()) {
Expand All @@ -64,5 +64,4 @@ static function getMenuContent() {

return $menu;
}

}

0 comments on commit 15c66f8

Please sign in to comment.