Persönliche Werkzeuge

Vorlage:BV-Admin

Aus BogenWiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
(Der Versionsvergleich bezieht 5 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')=='EIN' ? true : false);
+
         ebvcfgBVEinAus.checked = (localStorage.getItem('BVConfig_EinAus')=='AUS' ? false : true);
       } else {
       } else {
         ebvcfgBVEinAus.disabled = true;
         ebvcfgBVEinAus.disabled = true;
Zeile 36: Zeile 43:
     switch (eConfig.id) {
     switch (eConfig.id) {
     case 'bvcfgBVEinAus':
     case 'bvcfgBVEinAus':
-
       localStorage.setItem('BVConfig_EinAus',(ebvcfgBVEinAus.checked ? 'EIN' : 'AUS'));
+
       localStorage.setItem('BVConfig_EinAus',(eConfig.checked ? 'EIN' : 'AUS'));
-
       alert('ebvcfgBVEinAus.checked='+ebvcfgBVEinAus.checked);
+
       alert('bvcfgBVEinAus.checked='+eConfig.checked);
       break;
       break;
     }
     }
   }
   }
-
  bvCfgEinAusInit();
 
</script></html>
</script></html>
{|style="background:#C0C0C0" cellpadding="6" cellspacing="1" width="100%"
{|style="background:#C0C0C0" cellpadding="6" cellspacing="1" width="100%"
Zeile 48: 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>
 +
|&nbsp;&nbsp;&nbsp;&nbsp;
 +
|<html>
 +
<select name="top5" size="10">
 +
  <option>WikiUser</option>
 +
</select>
 +
</html>
|}
|}
-
</includeonly>
+
|}
 +
<html><script type="text/javascript">
 +
  bvCfgEinAusInit();
 +
</script></html></includeonly>

Aktuelle Version vom 09:06, 12. Nov. 2018

Beschreibung
Name: BD-Satz-Kopf
Beschreibung: Konfiguration der Bestandsverwaltung.
Parameter: keine
Beispiele
{{BV-Admin}}
Bestandsverwaltung - Konfiguration

Spalten in der Bogenseite:

    

Zurück zur Referenzliste der Vorlagen