Fixed a typo in a comment
This commit is contained in:
parent
3069415a2b
commit
eb831bb177
1 changed files with 4 additions and 8 deletions
|
@ -23,7 +23,7 @@ $debug.='REQUEST_URI: '.$_SERVER['REQUEST_URI'].N;
|
||||||
$debug.='$_GET: '.print_r($_GET,1);
|
$debug.='$_GET: '.print_r($_GET,1);
|
||||||
$debug.='LOCALE: '.$locale.N;
|
$debug.='LOCALE: '.$locale.N;
|
||||||
|
|
||||||
// an instance is displayed as "New" if its age, relative to the InsertTS field, is less or equal than this (currently 31 days)
|
// an instance is displayed as "New" if its age, relative to the InsertTS field, is less or equal than this (currently 30 days)
|
||||||
$oldline=30*24*60*60;
|
$oldline=30*24*60*60;
|
||||||
|
|
||||||
// an instance is considered dead if the last time it responded is before the graceline (see code below); we fix it at start of today - $gracetime
|
// an instance is considered dead if the last time it responded is before the graceline (see code below); we fix it at start of today - $gracetime
|
||||||
|
@ -133,15 +133,10 @@ function sethid(obj) {
|
||||||
|
|
||||||
function updord() {
|
function updord() {
|
||||||
let langsel=document.getElementById("lang"), ordsel=document.getElementById("ord");
|
let langsel=document.getElementById("lang"), ordsel=document.getElementById("ord");
|
||||||
console.log(langswri);
|
if (langswri.indexOf(langsel.value)>=0)
|
||||||
console.log(langsel.value);
|
|
||||||
if (langswri.indexOf(langsel.value)>=0) {
|
|
||||||
console.log("si");
|
|
||||||
ordsel.options[0].innerHTML="'._('Random, recommended first').'";
|
ordsel.options[0].innerHTML="'._('Random, recommended first').'";
|
||||||
} else {
|
else
|
||||||
console.log("no");
|
|
||||||
ordsel.options[0].innerHTML="'._('Random').'";
|
ordsel.options[0].innerHTML="'._('Random').'";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function nocrit() {
|
function nocrit() {
|
||||||
|
@ -161,6 +156,7 @@ function nocrit() {
|
||||||
sethid("exappr");
|
sethid("exappr");
|
||||||
document.getElementById("cbexlcko").checked=false;
|
document.getElementById("cbexlcko").checked=false;
|
||||||
sethid("exlcko");
|
sethid("exlcko");
|
||||||
|
updord();
|
||||||
}
|
}
|
||||||
|
|
||||||
function presub() {
|
function presub() {
|
||||||
|
|
Loading…
Reference in a new issue