Skip to content

Commit fb2c711

Browse files
committed
fix(ui): compatibility issue with internet explorer 11
fix #936
1 parent 4fae5c5 commit fb2c711

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

inc/wizard.class.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ public static function header($title) {
9898
echo '<li class="' . ($activeMenuItem == self::MENU_CATALOG ? 'plugin_formcreator_selectedMenuItem' : '') . '">';
9999
echo '<a href="' . $CFG_GLPI["root_doc"].'/plugins/formcreator/front/wizard.php' . '">';
100100
echo '<span class="fa fa-paper-plane-o fc_list_icon" title="'.__('Seek assistance', 'formcreator').'"></span>';
101-
echo '<label>'.__('Seek assistance', 'formcreator').'</label>';
101+
echo __('Seek assistance', 'formcreator');
102102
echo '</a></li>';
103103

104104
echo '<li class="' . ($activeMenuItem == self::MENU_LAST_FORMS ? 'plugin_formcreator_selectedMenuItem' : '') . '">';
105105
echo '<a href="' . $CFG_GLPI["root_doc"].'/plugins/formcreator/front/issue.php?reset=reset' . '">';
106106
echo '<span class="fa fa-list fc_list_icon" title="'.__('My requests for assistance', 'formcreator').'"></span>';
107-
echo '<label>'.__('My requests for assistance', 'formcreator').'</label>';
107+
echo __('My requests for assistance', 'formcreator');
108108
echo '</a></li>';
109109

110110
if (Session::haveRight("reservation", ReservationItem::RESERVEANITEM)) {
@@ -116,7 +116,7 @@ public static function header($title) {
116116
echo '<li class="' . ($activeMenuItem == self::MENU_RESERVATIONS ? 'plugin_formcreator_selectedMenuItem' : '') . '">';
117117
echo '<a href="' . $CFG_GLPI["root_doc"].'/plugins/formcreator/front/reservationitem.php' . '">';
118118
echo '<span class="fa fa-calendar-check-o fc_list_icon" title="'.__('Book an asset', 'formcreator').'"></span>';
119-
echo '<label>'.__('Book an asset', 'formcreator').'</label>';
119+
echo __('Book an asset', 'formcreator');
120120
echo '</a></li>';
121121
}
122122
}
@@ -125,7 +125,7 @@ public static function header($title) {
125125
echo '<li class="' . ($activeMenuItem == self::MENU_FEEDS ? 'plugin_formcreator_selectedMenuItem' : '') . '">';
126126
echo '<a href="' . $CFG_GLPI["root_doc"].'/plugins/formcreator/front/wizardfeeds.php' . '">';
127127
echo '<span class="fa fa-rss fc_list_icon" title="'.__('Consult feeds', 'formcreator').'"></span>';
128-
echo '<label>'.__('Consult feeds', 'formcreator').'</label>';
128+
echo __('Consult feeds', 'formcreator');
129129
echo '</a></li>';
130130
}
131131

@@ -170,7 +170,7 @@ public static function header($title) {
170170
echo '<li class="' . ($activeMenuItem == self::MENU_HELP ? 'plugin_formcreator_selectedMenuItem' : '') . 'plugin_formcreator_helpIcon">';
171171
echo '<a href="' . $CFG_GLPI["helpdesk_doc_url"] . '" target="_blank">';
172172
echo '<span class="fa fa-question fc_list_icon" title="' . __s('Help') . '"></span>';
173-
echo '<label>' . __s('Help') . '</label>';
173+
echo __('Help');
174174
echo '</a>';
175175
echo '</li>';
176176
}

0 commit comments

Comments
 (0)