Completed
Push — development ( 8b0877...a93cfb )
by Nils
08:44
created
items.load.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -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>&nbsp;';
501
+            pwd_error = '<span class="fa fa-warning fa-sm mi-red tip" title="<?php echo addslashes($LANG['pw_encryption_error']); ?>"></span>&nbsp;';
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>&nbsp;&nbsp;';
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>&nbsp;&nbsp;';
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>&nbsp;';
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>&nbsp;';
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>&nbsp;';
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>&nbsp;';
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 = '&nbsp;<span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']);?>"></span>&nbsp;';
522
+                pwd_error = '&nbsp;<span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']); ?>"></span>&nbsp;';
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">&nbsp;<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
-                '&nbsp;<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>&nbsp;</span>'
2349
+                '<span class="delete_me">&nbsp;<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
+                '&nbsp;<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>&nbsp;</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
                 //
Please login to merge, or discard this patch.