@@ -759,7 +759,7 @@ |
||
759 | 759 | utf8_encode( |
760 | 760 | "<?php |
761 | 761 | global \$SETTINGS; |
762 | -\$SETTINGS = array (" . $config_text . " |
|
762 | +\$SETTINGS = array (" . $config_text." |
|
763 | 763 | );" |
764 | 764 | ) |
765 | 765 | ); |
@@ -455,28 +455,28 @@ discard block |
||
455 | 455 | |
456 | 456 | // Prepare error message |
457 | 457 | if (value.pw_status === "encryption_error") { |
458 | - pwd_error = '<span class="fa fa-warning fa-sm mi-red tip" title="<?php echo addslashes($LANG['pw_encryption_error']);?>"></span> '; |
|
458 | + pwd_error = '<span class="fa fa-warning fa-sm mi-red tip" title="<?php echo addslashes($LANG['pw_encryption_error']); ?>"></span> '; |
|
459 | 459 | } |
460 | 460 | |
461 | 461 | // Prepare anyone can modify icon |
462 | 462 | if (value.anyone_can_modify === "1") { |
463 | - icon_all_can_modify = '<span class="fa fa-pencil fa-sm mi-grey-1 pointer tip" title="<?php echo addslashes($LANG['item_menu_collab_enable']);?>" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \''+value.open_edit+'\', \''+value.reload+'\', \''+value.tree_id+'\')"></span> '; |
|
463 | + icon_all_can_modify = '<span class="fa fa-pencil fa-sm mi-grey-1 pointer tip" title="<?php echo addslashes($LANG['item_menu_collab_enable']); ?>" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \''+value.open_edit+'\', \''+value.reload+'\', \''+value.tree_id+'\')"></span> '; |
|
464 | 464 | } |
465 | 465 | |
466 | 466 | // Prepare mini icons |
467 | 467 | if (value.copy_to_clipboard_small_icons === "1") { |
468 | 468 | // Login icon |
469 | 469 | if (value.login !== "") { |
470 | - icon_login = '<span class="fa fa-sm fa-user mi-black mini_login" data-clipboard-text="'+sanitizeString(value.login)+'" title="<?php echo addslashes($LANG['item_menu_copy_login']);?>" id="minilogin_'+value.item_id+'"></span> '; |
|
470 | + icon_login = '<span class="fa fa-sm fa-user mi-black mini_login" data-clipboard-text="'+sanitizeString(value.login)+'" title="<?php echo addslashes($LANG['item_menu_copy_login']); ?>" id="minilogin_'+value.item_id+'"></span> '; |
|
471 | 471 | } |
472 | 472 | // Pwd icon |
473 | 473 | if (value.pw !== "") { |
474 | - icon_pwd = '<span class="fa fa-sm fa-lock mi-black mini_pw" data-clipboard-text="'+sanitizeString(value.pw)+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']);?>" data-clipboard-id="'+value.item_id+'" id="minipwd_'+value.item_id+'"></span> '; |
|
474 | + icon_pwd = '<span class="fa fa-sm fa-lock mi-black mini_pw" data-clipboard-text="'+sanitizeString(value.pw)+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']); ?>" data-clipboard-id="'+value.item_id+'" id="minipwd_'+value.item_id+'"></span> '; |
|
475 | 475 | } |
476 | 476 | |
477 | 477 | // Now check if pwd is empty. If it is then warn user |
478 | 478 | if (value.pw === "") { |
479 | - pwd_error = ' <span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']);?>"></span> '; |
|
479 | + pwd_error = ' <span class="fa fa-exclamation-circle fa-sm mi-yellow tip" title="<?php echo addslashes($LANG['password_is_empty']); ?>"></span> '; |
|
480 | 480 | } |
481 | 481 | } |
482 | 482 | |
@@ -2351,8 +2351,8 @@ discard block |
||
2351 | 2351 | $("#delete-edit-file_"+file_id) |
2352 | 2352 | .hide() |
2353 | 2353 | .after( |
2354 | - '<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>' + |
|
2355 | - ' <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>' |
|
2354 | + '<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>' + |
|
2355 | + ' <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>' |
|
2356 | 2356 | ); |
2357 | 2357 | $(".tip").tooltipster({multiple: true}); |
2358 | 2358 | } |
@@ -2573,9 +2573,9 @@ discard block |
||
2573 | 2573 | |
2574 | 2574 | // Shall we show the root folder |
2575 | 2575 | if (data.html_json.can_create_root_folder === 1) { |
2576 | - html_visible = '<option value="0"><?php echo addslashes($LANG['root']);?></option>'; |
|
2577 | - html_full_visible = '<option value="0"><?php echo addslashes($LANG['root']);?></option>'; |
|
2578 | - html_active_visible = '<option value="0"><?php echo addslashes($LANG['root']);?></option>'; |
|
2576 | + html_visible = '<option value="0"><?php echo addslashes($LANG['root']); ?></option>'; |
|
2577 | + html_full_visible = '<option value="0"><?php echo addslashes($LANG['root']); ?></option>'; |
|
2578 | + html_active_visible = '<option value="0"><?php echo addslashes($LANG['root']); ?></option>'; |
|
2579 | 2579 | } |
2580 | 2580 | |
2581 | 2581 | // |
@@ -4506,20 +4506,20 @@ discard block |
||
4506 | 4506 | if (value.copy_to_clipboard_small_icons === "1") { |
4507 | 4507 | // Prepare Login |
4508 | 4508 | if (value.login !== "") { |
4509 | - value.login = '<span class="fa fa-user fa-lg mi-black mini_login tip" data-clipboard-text="'+value.login+'" title="<?php echo addslashes($LANG['item_menu_copy_login']);?>"></span> '; |
|
4509 | + value.login = '<span class="fa fa-user fa-lg mi-black mini_login tip" data-clipboard-text="'+value.login+'" title="<?php echo addslashes($LANG['item_menu_copy_login']); ?>"></span> '; |
|
4510 | 4510 | } |
4511 | 4511 | |
4512 | 4512 | // Prepare PWD |
4513 | 4513 | if (value.pw !== "") { |
4514 | - value.pw = '<span class="fa fa-lock fa-lg mi-black mini_pw tip" data-clipboard-text="'+value.pw+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']);?>"></span> ' |
|
4514 | + value.pw = '<span class="fa fa-lock fa-lg mi-black mini_pw tip" data-clipboard-text="'+value.pw+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']); ?>"></span> ' |
|
4515 | 4515 | } |
4516 | 4516 | |
4517 | 4517 | // Prepare favorite |
4518 | 4518 | if (value.enable_favourites === "1") { |
4519 | 4519 | if (value.is_favorite === 1) { |
4520 | - icon_favorite = '<span class="fa fa-star fa-lg mi-yellow tip" onclick="ActionOnQuickIcon('+value.item_id+',0)" class="tip" title="<?php echo addslashes($LANG['item_menu_del_from_fav']);?>"></span>'; |
|
4520 | + icon_favorite = '<span class="fa fa-star fa-lg mi-yellow tip" onclick="ActionOnQuickIcon('+value.item_id+',0)" class="tip" title="<?php echo addslashes($LANG['item_menu_del_from_fav']); ?>"></span>'; |
|
4521 | 4521 | } else { |
4522 | - icon_favorite = '<span class="fa fa-star-o fa-lg tip" onclick="ActionOnQuickIcon('+value.item_id+',1)" class="tip" title="<?php echo addslashes($LANG['item_menu_add_to_fav']);?>"></span>'; |
|
4522 | + icon_favorite = '<span class="fa fa-star-o fa-lg tip" onclick="ActionOnQuickIcon('+value.item_id+',1)" class="tip" title="<?php echo addslashes($LANG['item_menu_add_to_fav']); ?>"></span>'; |
|
4523 | 4523 | } |
4524 | 4524 | } else { |
4525 | 4525 | icon_favorite = ''; |
@@ -4533,7 +4533,7 @@ discard block |
||
4533 | 4533 | // Append |
4534 | 4534 | $("#full_items_list").append( |
4535 | 4535 | '<li class="item trunc_line" id="'+value.item_id+'"><a id="fileclass'+value.item_id+'" class="file_search">' + |
4536 | - '<span class="fa fa-key mi-yellow tip" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \''+value.open_edit+'\', \''+value.reload+'\', \''+value.tree_id+'\')" title="<?php echo addslashes($LANG['click_to_edit']);?>"></span> ' + |
|
4536 | + '<span class="fa fa-key mi-yellow tip" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \''+value.open_edit+'\', \''+value.reload+'\', \''+value.tree_id+'\')" title="<?php echo addslashes($LANG['click_to_edit']); ?>"></span> ' + |
|
4537 | 4537 | '<span class="truncate" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \'\', \''+value.reload+'\', \''+value.tree_id+'\')">'+value.label + |
4538 | 4538 | value.desc + |
4539 | 4539 | ' <span style="font-size:11px;font-style:italic;"><i class="fa fa-folder-o"></i> '+value.folder+'</span>' + |
@@ -4591,20 +4591,20 @@ discard block |
||
4591 | 4591 | if (value.copy_to_clipboard_small_icons === "1") { |
4592 | 4592 | // Prepare Login |
4593 | 4593 | if (value.login !== "") { |
4594 | - value.login = '<span class="fa fa-user fa-lg mi-black mini_login tip" data-clipboard-text="'+value.login+'" title="<?php echo addslashes($LANG['item_menu_copy_login']);?>"></span> '; |
|
4594 | + value.login = '<span class="fa fa-user fa-lg mi-black mini_login tip" data-clipboard-text="'+value.login+'" title="<?php echo addslashes($LANG['item_menu_copy_login']); ?>"></span> '; |
|
4595 | 4595 | } |
4596 | 4596 | |
4597 | 4597 | // Prepare PWD |
4598 | 4598 | if (value.pw !== "") { |
4599 | - value.pw = '<span class="fa fa-lock fa-lg mi-black mini_pw tip" data-clipboard-text="'+value.pw+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']);?>"></span> ' |
|
4599 | + value.pw = '<span class="fa fa-lock fa-lg mi-black mini_pw tip" data-clipboard-text="'+value.pw+'" title="<?php echo addslashes($LANG['item_menu_copy_pw']); ?>"></span> ' |
|
4600 | 4600 | } |
4601 | 4601 | |
4602 | 4602 | // Prepare favorite |
4603 | 4603 | if (value.enable_favourites === "1") { |
4604 | 4604 | if (value.is_favorite === 1) { |
4605 | - icon_favorite = '<span class="fa fa-star fa-lg mi-yellow tip" onclick="ActionOnQuickIcon('+value.item_id+',0)" class="tip" title="<?php echo addslashes($LANG['item_menu_del_from_fav']);?>"></span>'; |
|
4605 | + icon_favorite = '<span class="fa fa-star fa-lg mi-yellow tip" onclick="ActionOnQuickIcon('+value.item_id+',0)" class="tip" title="<?php echo addslashes($LANG['item_menu_del_from_fav']); ?>"></span>'; |
|
4606 | 4606 | } else { |
4607 | - icon_favorite = '<span class="fa fa-star-o fa-lg tip" onclick="ActionOnQuickIcon('+value.item_id+',1)" class="tip" title="<?php echo addslashes($LANG['item_menu_add_to_fav']);?>"></span>'; |
|
4607 | + icon_favorite = '<span class="fa fa-star-o fa-lg tip" onclick="ActionOnQuickIcon('+value.item_id+',1)" class="tip" title="<?php echo addslashes($LANG['item_menu_add_to_fav']); ?>"></span>'; |
|
4608 | 4608 | } |
4609 | 4609 | } else { |
4610 | 4610 | icon_favorite = ''; |
@@ -4618,7 +4618,7 @@ discard block |
||
4618 | 4618 | // Append |
4619 | 4619 | $("#full_items_list").append( |
4620 | 4620 | '<li class="item trunc_line" id="'+value.item_id+'"><a id="fileclass'+value.item_id+'" class="file_search">' + |
4621 | - '<span class="fa fa-key mi-yellow tip" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \''+value.open_edit+'\', \''+value.reload+'\', \''+value.tree_id+'\')" title="<?php echo addslashes($LANG['click_to_edit']);?>"></span> ' + |
|
4621 | + '<span class="fa fa-key mi-yellow tip" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \''+value.open_edit+'\', \''+value.reload+'\', \''+value.tree_id+'\')" title="<?php echo addslashes($LANG['click_to_edit']); ?>"></span> ' + |
|
4622 | 4622 | '<span class="truncate" onclick="AfficherDetailsItem(\''+value.item_id+'\',\''+value.sk+'\',\''+value.expired+'\', \''+value.restricted+'\', \''+value.display+'\', \'\', \''+value.reload+'\', \''+value.tree_id+'\')">'+value.label + |
4623 | 4623 | value.desc + |
4624 | 4624 | ' <span style="font-size:11px;font-style:italic;"><i class="fa fa-folder-o"></i> '+value.folder+'</span>' + |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'deselect_all' => 'Deselect all', |
18 | 18 | 'newly_created_user_is_administrated_by' => 'Newly created user is administrated by', |
19 | 19 | 'error_security_level_not_reached' => 'Expected level of security not reached!', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'deselect_all' => 'Deselect all', |
18 | 18 | 'newly_created_user_is_administrated_by' => 'Newly created user is administrated by', |
19 | 19 | 'error_security_level_not_reached' => 'Expected level of security not reached!', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'deselect_all' => 'Deselect all', |
18 | 18 | 'newly_created_user_is_administrated_by' => 'Newly created user is administrated by', |
19 | 19 | 'error_security_level_not_reached' => 'Expected level of security not reached!', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'deselect_all' => 'Deselect all', |
18 | 18 | 'newly_created_user_is_administrated_by' => 'Newly created user is administrated by', |
19 | 19 | 'error_security_level_not_reached' => 'Expected level of security not reached!', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'deselect_all' => 'Deselect all', |
18 | 18 | 'newly_created_user_is_administrated_by' => 'Newly created user is administrated by', |
19 | 19 | 'error_security_level_not_reached' => 'Expected level of security not reached!', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'deselect_all' => 'Deselect all', |
18 | 18 | 'newly_created_user_is_administrated_by' => 'Newly created user is administrated by', |
19 | 19 | 'error_security_level_not_reached' => 'Expected level of security not reached!', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'deselect_all' => 'Deselect all', |
18 | 18 | 'newly_created_user_is_administrated_by' => 'Newly created user is administrated by', |
19 | 19 | 'error_security_level_not_reached' => 'Expected level of security not reached!', |