Wikipedia:Monobook.js/LiveRC.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 621:
var options = "";
var lstNs = new Array();
for (i=0; i<len; i++) {
id = nss[i].getAttribute('id');
Riga 630:
if (id == 0) ns = "(Principale)";
//Select namespace (default = *)
options += '<option value="' + id + '">' + ns + '</option>';▼
if (checkNamespace && checkNamespace == id)
options += '<option value="' + id + ' SELECTED ' + '">' + ns + '</option>';
else
▲ options += '<option value="' + id + '">' + ns + '</option>';
lstNs.push(id);
}
options = '<option value="' + lstNs.join('|') + '">*</option>' + options;
document.getElementById('selectNS').innerHTML = '<label for="showNS0">'+lang_menu[0].NAMESP+' </label><select id="showNS0">' + options + '</select>';
liveWatch();
}
Riga 1 572 ⟶ 1 576:
'<a href="javascript:;" onClick="supprLigne(\'n\');" style="color: rgb(178, 243, 113); font-weight: bold;">X</a>' +
'<input id="stopLive" type="checkbox" value="true" />' +
'<label for="stopLive">' + lang_menu[0].PAUSE + '</label>'
'<input id="shidPrev" type="checkbox" onclick="showHideObj(this, \'divLivePreview\');" />' +▼
//Anteprima (default = not checked)
'<label for="shidPrev">' + lang_menu[0].PREVIEW + '</label>' +▼
if (checkAnteprima && checkAnteprima == "1")
'<input id="shidList" type="checkbox" onclick="showHideObj(this, \'liveFollow\');" />' +▼
lvPreviewFoot.innerHTML += '<input id="shidPrev" type="checkbox" checked onclick="showHideObj(this, \'divLivePreview\');" />';
'<label for="shidList">' + lang_menu[0].LISTS + '</label>' +▼
else
'<input id="showDiffR" type="checkbox" />' +▼
▲ lvPreviewFoot.innerHTML += '<input id="shidPrev" type="checkbox" onclick="showHideObj(this, \'divLivePreview\');" />'
'<label for="showDiffR">'+ lang_menu[0].LOWDIFF + '</label>' +▼
'<input id="shidRC" type="checkbox" checked onclick="showHideObj(this, \'divTabRC\');" />' +▼
'<label for="shidRC">' + lang_menu[0].RCLABEL + '</label>' +▼
if (checkListe && checkListe == "1")
'<label for="showBot">' + lang_menu[0].NOBOTS + '</label>' + ▼
lvPreviewFoot.innerHTML += '<input id="
else
'<label for="showIP">' + lang_menu[0].IPONLY + ' • </label>' +▼
lvPreviewFoot.innerHTML += '<input id="
lvPreviewFoot.innerHTML += '<label for="
'<input id="showLog" type="checkbox" checked />' +▼
//Modifiche minori (default = not checked)
'<label for="showLog">' + lang_menu[0].LOGSHOW + ' • </label>' +▼
if (checkModificheMinori && checkModificheMinori == "1")
lvPreviewFoot.innerHTML += '<input id="showDiffR" type="checkbox" checked />';
else
//Pannello (default = checked)
if (checkPannello && checkPannello == "0")
▲ lvPreviewFoot.innerHTML += '<input id="
else
▲ lvPreviewFoot.innerHTML += '<input id="shidRC" type="checkbox" checked onclick="showHideObj(this, \'divTabRC\');" />'
//Show Bot (default = checked)
if (checkNienteBot && checkNienteBot == "0")
lvPreviewFoot.innerHTML += '<input id="showBot" type="checkbox" />';
else
lvPreviewFoot.innerHTML += '<input id="showBot" type="checkbox" checked />';
▲ lvPreviewFoot.innerHTML += '<label for="
//Solo IP (default = not checked)
if (checkSoloIP && checkSoloIP == "1")
lvPreviewFoot.innerHTML += '<input id="showIP" type="checkbox" checked />';
else
lvPreviewFoot.innerHTML += '<input id="showIP" type="checkbox" />';
//RC (default = checked)
if (checkRC && checkRC == "0")
lvPreviewFoot.innerHTML += '<input id="showRC" type="checkbox" />';
else
lvPreviewFoot.innerHTML += '<input id="showRC" type="checkbox" checked />';
▲ lvPreviewFoot.innerHTML += '<label for="
//Log (default = checked)
if (checkLog && checkLog == "0")
lvPreviewFoot.innerHTML += '<input id="showLog" type="checkbox" />' +
else
▲ lvPreviewFoot.innerHTML += '<input id="showLog" type="checkbox" checked />' +
▲ lvPreviewFoot.innerHTML += '<label for="
'<span id="selectNS" />';
if (lrcPreviewHeight) document.getElementById('livePreview').style.height = lrcPreviewHeight;
|