clearer language
This commit is contained in:
+6
-6
@@ -175,11 +175,11 @@ function toggleLock(filename, type, elem) {
|
|||||||
if(this.responseText == "OK"){
|
if(this.responseText == "OK"){
|
||||||
if(type == "add") {
|
if(type == "add") {
|
||||||
elem.setAttribute("src","images/lock.svg");
|
elem.setAttribute("src","images/lock.svg");
|
||||||
elem.setAttribute("title", "This file is delete protected.");
|
elem.setAttribute("title", "This file is excluded from being purged.");
|
||||||
elem.setAttribute("onclick", elem.getAttribute("onclick").replace("add","del"));
|
elem.setAttribute("onclick", elem.getAttribute("onclick").replace("add","del"));
|
||||||
} else {
|
} else {
|
||||||
elem.setAttribute("src","images/unlock.svg");
|
elem.setAttribute("src","images/unlock.svg");
|
||||||
elem.setAttribute("title", "This file is not delete protected.");
|
elem.setAttribute("title", "This file is not excluded from being purged.");
|
||||||
elem.setAttribute("onclick", elem.getAttribute("onclick").replace("del","add"));
|
elem.setAttribute("onclick", elem.getAttribute("onclick").replace("del","add"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -325,11 +325,11 @@ echo "<table>
|
|||||||
if($config["FULL_DISK"] == "purge") {
|
if($config["FULL_DISK"] == "purge") {
|
||||||
if(!in_array($filename_formatted, $disk_check_exclude_arr)) {
|
if(!in_array($filename_formatted, $disk_check_exclude_arr)) {
|
||||||
$imageicon = "images/unlock.svg";
|
$imageicon = "images/unlock.svg";
|
||||||
$title = "This file is not delete protected.";
|
$title = "This file is not excluded from being purged.";
|
||||||
$type = "add";
|
$type = "add";
|
||||||
} else {
|
} else {
|
||||||
$imageicon = "images/lock.svg";
|
$imageicon = "images/lock.svg";
|
||||||
$title = "This file is delete protected.";
|
$title = "This file is excluded from being purged.";
|
||||||
$type = "del";
|
$type = "del";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -379,11 +379,11 @@ echo "<table>
|
|||||||
if($config["FULL_DISK"] == "purge") {
|
if($config["FULL_DISK"] == "purge") {
|
||||||
if(!in_array($filename_formatted, $disk_check_exclude_arr)) {
|
if(!in_array($filename_formatted, $disk_check_exclude_arr)) {
|
||||||
$imageicon = "images/unlock.svg";
|
$imageicon = "images/unlock.svg";
|
||||||
$title = "This file is not delete protected.";
|
$title = "This file is not excluded from being purged.";
|
||||||
$type = "add";
|
$type = "add";
|
||||||
} else {
|
} else {
|
||||||
$imageicon = "images/lock.svg";
|
$imageicon = "images/lock.svg";
|
||||||
$title = "This file is delete protected.";
|
$title = "This file is excluded from being purged.";
|
||||||
$type = "del";
|
$type = "del";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user