Skip to content

Commit 596b792

Browse files
3.0.0.13
Improved Fontawesome icons in tree and item definition
1 parent 9d99612 commit 596b792

30 files changed

+49
-40
lines changed

includes/language/arabic.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
$LANG = array(
1717
'icon' => 'Icon',
1818
'icon_on_selection' => 'Icon on selection',
19-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
19+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2020
'user_specific_right' => 'User specific right',
2121
'email_debug_level' => 'Select a debug level',
2222
'email_debug_client' => 'Client commands',

includes/language/bulgarian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/catalan.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/chinese.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/czech.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/dutch.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/english.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'settings_ldap_user_dn_attribute' => 'User Distinguished Name',
2929
'settings_ldap_user_dn_attribute_tip' => 'The attribute label for the user Distinguished Name (DN) in the AD. Example: dn, distinguishedname, or any other label used in the AD.',
3030
'at_creation' => 'Creation',

includes/language/estonian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/german.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/greek.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/hungarian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/italian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/japanese.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/norwegian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/polish.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/portuguese.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/portuguese_br.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/romanian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/russian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/spanish.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/swedish.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
$LANG = array(
1717
'icon' => 'Icon',
1818
'icon_on_selection' => 'Icon on selection',
19-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
19+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2020
'user_specific_right' => 'User specific right',
2121
'email_debug_level' => 'Select a debug level',
2222
'email_debug_client' => 'Client commands',

includes/language/turkish.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/ukrainian.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

includes/language/vietnamese.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
return array(
2525
'icon' => 'Icon',
2626
'icon_on_selection' => 'Icon on selection',
27-
'folder_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
27+
'fontawesome_icon_tip' => 'You can specify a Font Awesome icon code selected in <a href="https://fontawesome.com/v5.15/icons?d=gallery&p=2&s=solid&m=free" target="_blank">Free and Solid icons</a>. Leave empty for default icon.',
2828
'at_creation' => 'Creation',
2929
'at_add_file' => 'File added',
3030
'at_del_file' => 'File deleted',

install/install.queries.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ function encryptFollowingDefuse($message, $ascii_key)
987987

988988
// add lanaguages
989989
$tmp = mysqli_num_rows(mysqli_query($dbTmp, "SELECT * FROM `" . $var['tbl_prefix'] . "languages` WHERE name = 'french'"));
990-
if ($tmp[0] == 0) {
990+
if ($tmp[0] === 0) {
991991
$mysql_result = mysqli_query(
992992
$dbTmp,
993993
"INSERT INTO `" . $var['tbl_prefix'] . "languages` (`name`, `label`, `code`, `flag`) VALUES

install/upgrade_run_3.0.0.php

+7
Original file line numberDiff line numberDiff line change
@@ -643,5 +643,12 @@
643643
}
644644
//---<
645645

646+
647+
//---> 3.0.0.13
648+
mysqli_num_rows(mysqli_query($db_link, "UPDATE `" . $pre . "nested_tree` SET `fa_icon` = 'fas fa-folder' WHERE fa_icon = 'fa-folder'"));
649+
mysqli_num_rows(mysqli_query($db_link, "UPDATE `" . $pre . "nested_tree` SET `fa_icon_selected` = 'fas fa-folder-open' WHERE fa_icon_selected = 'fa-folder-open'"));
650+
//---<
651+
652+
646653
// Finished
647654
echo '[{"finish":"1" , "next":"", "error":""}]';

pages/items.js.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@
156156

157157
// remove selected on previous folder
158158
$($('#fld_'+previousSelectedFolder).children('.tree-folder'))
159-
.addClass($('#fld_'+previousSelectedFolder).children('.tree-folder').attr('data-folder'))
160-
.removeClass($('#fld_'+previousSelectedFolder).children('.tree-folder').attr('data-folder-selected'));
159+
.removeClass($('#fld_'+previousSelectedFolder).children('.tree-folder').attr('data-folder-selected'))
160+
.addClass($('#fld_'+previousSelectedFolder).children('.tree-folder').attr('data-folder'));
161161
// show selected icon
162162
$('#fld_'+selectedFolderId).children('.tree-folder')
163-
.addClass(selectedFolderIconSelected)
164-
.removeClass(selectedFolderIcon);
163+
.removeClass(selectedFolderIcon)
164+
.addClass(selectedFolderIconSelected);
165165

166166
if (debugJavascript === true) {
167167
console.info('SELECTED NODE ' + selectedFolderId + " -- " + startedItemsListQuery);
@@ -3843,7 +3843,7 @@ function(teampassApplication) {
38433843
// Show user that password is badly encrypted
38443844
(value.pw_status === 'encryption_error' ? '<i class="fas fa-exclamation-triangle fa-xs text-danger infotip mr-1" title="<?php echo langHdl('pw_encryption_error'); ?>"></i>' : '') +
38453845
// Show item fa_icon if set
3846-
(value.fa_icon !== '' ? '<i class="fas '+value.fa_icon+' mr-1"></i>' : '') +
3846+
(value.fa_icon !== '' ? '<i class="'+value.fa_icon+' mr-1"></i>' : '') +
38473847
// Prepare item info
38483848
'<span class="list-item-clicktoshow' + (value.rights === 10 ? '' : ' pointer') + '" data-item-id="' + value.item_id + '">' +
38493849
'<span class="list-item-row-description' + (value.rights === 10 ? ' font-weight-light' : '') + '">' + value.label + '</span>' + (value.rights === 10 ? '' : value.desc) + '</span>' +
@@ -4353,7 +4353,7 @@ function(teampassItem) {
43534353
$('#pwd-definition-size').val(data.pw.length);
43544354

43554355
// Prepare card
4356-
const itemIcon = (data.fa_icon !== "") ? '<i class="fas '+data.fa_icon+' mr-1"></i>' : '';
4356+
const itemIcon = (data.fa_icon !== "") ? '<i class="'+data.fa_icon+' mr-1"></i>' : '';
43574357
$('#card-item-label, #form-item-title').html(itemIcon + data.label);
43584358
$('#form-item-label, #form-item-suggestion-label').val(data.label);
43594359
$('#card-item-description, #form-item-suggestion-description').html(data.description);

0 commit comments

Comments
 (0)