Vorlage:BV-Admin
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
| (Der Versionsvergleich bezieht 3 dazwischenliegende Versionen mit ein.) | |||
| Zeile 18: | Zeile 18: | ||
</noinclude><includeonly><nowiki | </noinclude><includeonly><nowiki | ||
/><html><script type="text/javascript"> | /><html><script type="text/javascript"> | ||
| + | bvStatus = 0; // 0 = BV deaktiviert; 1 = BV aktiv und angezeigt; 2 = BV aktiv aber ausgeblendet | ||
| + | for (var g = 0; g < wgUserGroups.length; g++) | ||
| + | if (wgUserGroups[g] == 'GBV') bvStatus = 1; | ||
| + | if (bvStatus > 0) { | ||
| + | if (localStorage.getItem('BVConfig_EinAus') == 'AUS') | ||
| + | bvStatus = 2; | ||
| + | } | ||
function bvCfgEinAusInit() | function bvCfgEinAusInit() | ||
{ | { | ||
| Zeile 24: | Zeile 31: | ||
if (bvStatus > 0) { | if (bvStatus > 0) { | ||
ebvcfgBVEinAus.disabled = false; | ebvcfgBVEinAus.disabled = false; | ||
| - | ebvcfgBVEinAus.checked = (localStorage.getItem('BVConfig_EinAus')==' | + | ebvcfgBVEinAus.checked = (localStorage.getItem('BVConfig_EinAus')=='AUS' ? false : true); |
} else { | } else { | ||
ebvcfgBVEinAus.disabled = true; | ebvcfgBVEinAus.disabled = true; | ||
| Zeile 47: | Zeile 54: | ||
|-valign="top" style="background:#FCFCFC" | |-valign="top" style="background:#FCFCFC" | ||
|<html><label><input type="checkbox" name="BVEinAus" id="bvcfgBVEinAus" onchange="bvConfigOnClick(this);">Bestandsverwaltung auf allen Seiten anzeigen</label></html> | |<html><label><input type="checkbox" name="BVEinAus" id="bvcfgBVEinAus" onchange="bvConfigOnClick(this);">Bestandsverwaltung auf allen Seiten anzeigen</label></html> | ||
| + | Spalten in der Bogenseite: | ||
| + | {|style="background:transparent" cellpadding="0" cellspacing="0" | ||
| + | |<html> | ||
| + | <select name="top5" size="10"> | ||
| + | <option>WikiUser</option> | ||
| + | <option>Gebiet</option> | ||
| + | <option>Gebiet1</option> | ||
| + | <option>KatNr</option> | ||
| + | <option>BogenNr</option> | ||
| + | <option>Erhaltung</option> | ||
| + | <option>Zustand</option> | ||
| + | <option>Status</option> | ||
| + | <option>BogenWiki</option> | ||
| + | <option>Scan</option> | ||
| + | <option>Album</option> | ||
| + | <option>Zugang</option> | ||
| + | <option>Abgang</option> | ||
| + | <option>BRS</option> | ||
| + | <option>Merkmale</option> | ||
| + | <option>Abweichungen</option> | ||
| + | </select> | ||
| + | </html> | ||
| + | | | ||
| + | |<html> | ||
| + | <select name="top5" size="10"> | ||
| + | <option>WikiUser</option> | ||
| + | </select> | ||
| + | </html> | ||
| + | |} | ||
|} | |} | ||
<html><script type="text/javascript"> | <html><script type="text/javascript"> | ||
bvCfgEinAusInit(); | bvCfgEinAusInit(); | ||
</script></html></includeonly> | </script></html></includeonly> | ||
Aktuelle Version vom 09:06, 12. Nov. 2018
Beschreibung
| |||||||
Beispiele
| |||||||
| Zurück zur Referenzliste der Vorlagen |
