|
@@ -393,28 +393,28 @@ discard block |
|
|
block discarded – undo |
|
393
|
393
|
|
|
394
|
394
|
// Prepare error message |
|
395
|
395
|
if (value.pw_status === "encryption_error") { |
|
396
|
|
- pwd_error = '<span class="fa fa-warning fa-sm mi-red tip" title="<?php echo addslashes($LANG['pw_encryption_error']);?>"></span> '; |
|
|
396
|
+ pwd_error = '<span class="fa fa-warning fa-sm mi-red tip" title="<?php echo addslashes($LANG['pw_encryption_error']); ?>"></span> '; |
|
397
|
397
|
} |
|
398
|
398
|
|
|
399
|
399
|
// Prepare anyone can modify icon |
|
400
|
400
|
if (value.anyone_can_modify === "1") { |
|
401
|
|
- icon_all_can_modify = '<span class="fa fa-pencil fa-sm mi-grey-1 tip" title="<?php echo addslashes($LANG['item_menu_collab_enable']);?>"></span> '; |
|
|
401
|
+ icon_all_can_modify = '<span class="fa fa-pencil fa-sm mi-grey-1 tip" title="<?php echo addslashes($LANG['item_menu_collab_enable']); ?>"></span> '; |
|
402
|
402
|
} |
|
403
|
403
|
|
|
404
|
404
|
// Prepare mini icons |
|
405
|
405
|
if (value.copy_to_clipboard_small_icons === "1") { |
|
406
|
406
|
// Login icon |
|
407
|
407
|
if (value.login !== "") { |
|
408
|
|
- icon_login = '<span class="fa fa-sm fa-user mi-black mini_login" data-clipboard-text="'+value.login+'" title="<?php echo addslashes($LANG['item_menu_copy_login']);?>"></span> '; |
|
|
408
|
+ icon_login = '<span class="fa fa-sm fa-user mi-black mini_login" data-clipboard-text="'+value.login+'" title="<?php echo addslashes($LANG['item_menu_copy_login']); ?>"></span> '; |
|
409
|
409
|
} |
|
410
|
410
|
// Pwd icon |
|
411
|
411
|
if (value.pw !== "") { |
|
412
|
|
- icon_pwd = '<span class="fa fa-sm fa-lock mi-black mini_pw" data-clipboard-text="'+value.pw+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']);?>" data-clipboard-id="'+value.item_id+'"></span> '; |
|
|
412
|
+ icon_pwd = '<span class="fa fa-sm fa-lock mi-black mini_pw" data-clipboard-text="'+value.pw+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']); ?>" data-clipboard-id="'+value.item_id+'"></span> '; |
|
413
|
413
|
} |
|
414
|
414
|
|
|
415
|
415
|
// Now check if pwd is empty. If it is then warn user |
|
416
|
416
|
if (value.pw === "") { |
|
417
|
|
- pwd_error = ' <span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']);?>"></span> '; |
|
|
417
|
+ pwd_error = ' <span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']); ?>"></span> '; |
|
418
|
418
|
} |
|
419
|
419
|
} |
|
420
|
420
|
|
|
@@ -2289,8 +2289,8 @@ discard block |
|
|
block discarded – undo |
|
2289
|
2289
|
$("#delete-edit-file_"+file_id) |
|
2290
|
2290
|
.hide() |
|
2291
|
2291
|
.after( |
|
2292
|
|
- '<span class="delete_me"> <span id="confirm-delete-edit-file_'+file_id+'" class="fa fa-thumbs-up tip" style="cursor:pointer;" onclick="delete_attached_file('+file_id+', 1)" title="<?php echo addslashes($LANG['confirm']);?>"></span>' + |
|
2293
|
|
- ' <span id="cancel-delete-edit-file_'+file_id+'" class="fa fa-thumbs-down tip" style="cursor:pointer;" onclick="cancel_delete_attached_file('+file_id+')" title="<?php echo addslashes($LANG['cancel']);?>"></span> </span>' |
|
|
2292
|
+ '<span class="delete_me"> <span id="confirm-delete-edit-file_'+file_id+'" class="fa fa-thumbs-up tip" style="cursor:pointer;" onclick="delete_attached_file('+file_id+', 1)" title="<?php echo addslashes($LANG['confirm']); ?>"></span>' + |
|
|
2293
|
+ ' <span id="cancel-delete-edit-file_'+file_id+'" class="fa fa-thumbs-down tip" style="cursor:pointer;" onclick="cancel_delete_attached_file('+file_id+')" title="<?php echo addslashes($LANG['cancel']); ?>"></span> </span>' |
|
2294
|
2294
|
); |
|
2295
|
2295
|
$(".tip").tooltipster({multiple: true}); |
|
2296
|
2296
|
} |