|
@@ -498,28 +498,28 @@ discard block |
|
|
block discarded – undo |
|
498
|
498
|
|
|
499
|
499
|
// Prepare error message |
|
500
|
500
|
if (value.pw_status === "encryption_error") { |
|
501
|
|
- pwd_error = '<span class="fa fa-warning fa-sm mi-red tip" title="<?php echo addslashes($LANG['pw_encryption_error']);?>"></span> '; |
|
|
501
|
+ pwd_error = '<span class="fa fa-warning fa-sm mi-red tip" title="<?php echo addslashes($LANG['pw_encryption_error']); ?>"></span> '; |
|
502
|
502
|
} |
|
503
|
503
|
|
|
504
|
504
|
// Prepare anyone can modify icon |
|
505
|
505
|
if (value.anyone_can_modify === "1") { |
|
506
|
|
- 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> '; |
|
|
506
|
+ 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> '; |
|
507
|
507
|
} |
|
508
|
508
|
|
|
509
|
509
|
// Prepare mini icons |
|
510
|
510
|
if (value.copy_to_clipboard_small_icons === "1") { |
|
511
|
511
|
// Login icon |
|
512
|
512
|
if (value.login !== "") { |
|
513
|
|
- 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> '; |
|
|
513
|
+ 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> '; |
|
514
|
514
|
} |
|
515
|
515
|
// Pwd icon |
|
516
|
516
|
if (value.pw !== "") { |
|
517
|
|
- 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> '; |
|
|
517
|
+ 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> '; |
|
518
|
518
|
} |
|
519
|
519
|
|
|
520
|
520
|
// Now check if pwd is empty. If it is then warn user |
|
521
|
521
|
if (value.pw === "") { |
|
522
|
|
- pwd_error = ' <span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']);?>"></span> '; |
|
|
522
|
+ pwd_error = ' <span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']); ?>"></span> '; |
|
523
|
523
|
} |
|
524
|
524
|
} |
|
525
|
525
|
|
|
@@ -2346,8 +2346,8 @@ discard block |
|
|
block discarded – undo |
|
2346
|
2346
|
$("#delete-edit-file_"+file_id) |
|
2347
|
2347
|
.hide() |
|
2348
|
2348
|
.after( |
|
2349
|
|
- '<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>' + |
|
2350
|
|
- ' <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>' |
|
|
2349
|
+ '<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>' + |
|
|
2350
|
+ ' <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>' |
|
2351
|
2351
|
); |
|
2352
|
2352
|
$(".tip").tooltipster({multiple: true}); |
|
2353
|
2353
|
} |
|
@@ -2568,9 +2568,9 @@ discard block |
|
|
block discarded – undo |
|
2568
|
2568
|
|
|
2569
|
2569
|
// Shall we show the root folder |
|
2570
|
2570
|
if (data.html_json.can_create_root_folder === 1) { |
|
2571
|
|
- html_visible = '<option value="0"><?php echo addslashes($LANG['root']);?></option>'; |
|
2572
|
|
- html_full_visible = '<option value="0"><?php echo addslashes($LANG['root']);?></option>'; |
|
2573
|
|
- html_active_visible = '<option value="0"><?php echo addslashes($LANG['root']);?></option>'; |
|
|
2571
|
+ html_visible = '<option value="0"><?php echo addslashes($LANG['root']); ?></option>'; |
|
|
2572
|
+ html_full_visible = '<option value="0"><?php echo addslashes($LANG['root']); ?></option>'; |
|
|
2573
|
+ html_active_visible = '<option value="0"><?php echo addslashes($LANG['root']); ?></option>'; |
|
2574
|
2574
|
} |
|
2575
|
2575
|
|
|
2576
|
2576
|
// |