//Menue editieren // // Neue Glabals müssen nur 2x eingtragen werden // eGlobals['Globals_TITEL'] = new Array(); // eGlobals['Globals_TITEL'][u_i] = Globals_TITEL; // im Rewriteprogramm wird das automatisch erkannt und richtig eingetragen // in allen basis-sprachenfiles Eintragen mit leer ... // // i_z = 0; i_zto = 0; akt_menu_reload = false; akt_sprache = 0; l_sprache = false; emenuetxt = 'Bitte warten - Das Menu wird aufgebaut '; emenue_txt = new Array(); eGlobals = new Object(); eGlobals['Globals_TITEL'] = new Array(); eGlobals['Globals_ERRORPAGETEXT'] = new Array(); eGlobals['Globals_ERRORMSG'] = new Array(); eGlobals['Globals_TEXTSPRACHEBUTTON'] = new Array(); eGlobals['Globals_VERZ_HILFE'] = new Array(); eGlobals['Globals_VERZ_HTML'] = new Array(); eGlobals['Globals_VERZ_INFO'] = new Array(); eGlobals['Globals_VERZ_RTF'] = new Array(); eGlobals['Globals_VERZ_XML'] = new Array(); eGlobals['Globals_VERZ_IMG'] = new Array(); eGlobals['Globals_VERZ_INCL'] = new Array(); eGlobals['Globals_DEFAULT_IMG'] = new Array(); eGlobals['Globals_LEER_IMG'] = new Array(); eGlobals['Globals_ABBRECHEN'] = new Array(); eGlobals['Globals_AKTIVIEREN'] = new Array(); eGlobals['Globals_SEITE_NICHT_GEFUNDEN'] = new Array(); eGlobals['Globals_NOCHNICHTFREIGESCHALTEN'] = new Array(); eGlobals['Globals_KEINMENUEEINTRAG'] = new Array(); eGlobals['Globals_STARTSEITENNICHTGEFUNDEN'] = new Array(); eGlobals['Globals_TITELNICHTGEFUNDEN'] = new Array(); eGlobals['Globals_DATENNICHTGEFUNDEN'] = new Array(); eGlobals['Globals_AUFBAUENMENUE'] = new Array(); eGlobals['Globals_NAVKNOTEN'] = new Array(); eGlobals['Globals_HTMLKNOTEN'] = new Array(); eGlobals['Globals_UNBEKANNTEFUNKTION'] = new Array(); eGlobals['Globals_UNBEKANNTEMENUEKLASSE'] = new Array(); eGlobals['Globals_UNBEKANNTERTYP'] = new Array(); eGlobals['Globals_BITTEWARTEN'] = new Array(); eGlobals['Globals_KEIN_FILE_ZUM_EDITIEREN'] = new Array(); eGlobals['Globals_BUTTON_IMG'] = new Array(); eGlobals['Globals_ERRBUTTON_IMG'] = new Array(); eGlobals['Globals_BUTTON_RTF'] = new Array(); eGlobals['Globals_ERRBUTTON_RTF'] = new Array(); eGlobals['Globals_SUCHLISTE_UEBERSCHRIFT'] = new Array(); eGlobals['Globals_SUCHLISTE_MAX'] = new Array(); eGlobals['Globals_MAXSUCHLISTE_ERREICHT'] = new Array(); //eGlobals['Globals_MAXFENSTER_ERREICHT'] = new Array(); eGlobals['Globals_FAVORITEN_UEBERSCHRIFT'] = new Array(); eGlobals['Globals_HILFE_UEBERSCHRIFT'] = new Array(); eGlobals['Globals_BUTTON_SCHLIESSEN'] = new Array(); eGlobals['Globals_BUTTON_ALLESCHLIESSEN'] = new Array(); eGlobals['Globals_BUTTON_TOTOP'] = new Array(); eGlobals['Globals_BUTTON_WSCHLIESSEN'] = new Array(); eGlobals['Globals_BUTTON_WOEFFNEN'] = new Array(); eGlobals['Globals_BUTTON_SUCHEN'] = new Array(); eGlobals['Globals_BUTTON_FIXIEREN'] = new Array(); eGlobals['Globals_BUTTON_FREIGEBEN'] = new Array(); eGlobals['Globals_BUTTON_DEFPOSITION'] = new Array(); eGlobals['Globals_BUTTON_FAVORITEN'] = new Array(); eGlobals['Globals_BUTTON_SORTIERUNG'] = new Array(); eGlobals['Globals_BUTTON_HILFE'] = new Array(); eGlobals['Globals_BUTTON_FLOESCHEN'] = new Array(); eGlobals['Globals_BUTTON_FUP'] = new Array(); eGlobals['Globals_BUTTON_FDOWN'] = new Array(); eGlobals['Globals_BUTTON_FDAZU'] = new Array(); eGlobals['Globals_BUTTON_RELOADML'] = new Array(); eGlobals['Globals_BUTTON_RELOADPG'] = new Array(); eGlobals['Globals_BUTTON_RELOADSUCHE'] = new Array(); eGlobals['Globals_ERRBUTTON_XML'] = new Array(); eGlobals['Globals_BUTTON_XML'] = new Array(); eGlobals['Globals_FORM_SUCHEN'] = new Array(); eGlobals['Globals_FORM_SUCHENFELD'] = new Array(); eGlobals['Globals_FORM_SUCHEN_NIX'] = new Array(); eGlobals['Globals_FORM_SUCHEN_ZUKURZ'] = new Array(); eGlobals['Globals_ZEILEN_MAX'] = new Array(); eGlobals['Globals_FAVORIT_SCHON_DA'] = new Array(); eGlobals['Globals_SUCHE_AKTIV'] = new Array(); function editMenue_return(readDaten,u_i){ eval(readDaten); emenue_txt[u_i] = new Array(); for( var i=0;i RECURSIVEMAXZAEHLER){ FehlerAnzeigen('Timeout','Lese Menuedaten'); return; }else{ window.setTimeout("editMenueStart()", RECURSIVETIMEOUT); return; } } if (EDITMENUE == false){ EDITMENUE = true; loescheMenue(); htmlKnoten.innerHTML = '
'+emenuetxt+'

'; infoKnoten.innerHTML = '
'; var GenerierenObj = document.getElementById('Generieren'); if (GenerierenObj != null){ htmltext = '
'; GenerierenObj.innerHTML = htmltext; } var AuswCssObj = document.getElementById('CssAktivieren'); if (AuswCssObj != null){ htmltext = '
'; AuswCssObj.innerHTML = htmltext; } } i_zto = 0; if (i_z < Sprache_Auswahl.length){ // nächstes Menue laden if (Sprache_Auswahl[i_z] == SPRACHE){ akt_sprache = i_z; } l_sprache = true; leseDaten('js/basis-'+Sprache_Auswahl[i_z]+'.js','editMenue_return',NOERRORSEITE,i_z++); window.setTimeout("editMenueStart()", RECURSIVETIMEOUT); return; } if (!akt_menu_reload){ // Aktuelles menue zum schluss zurückladen l_sprache = true; akt_menu_reload = true; leseDaten('js/basis-'+Sprache_Auswahl[akt_sprache]+'.js','editMenue_return',NOERRORSEITE,akt_sprache); window.setTimeout("editMenueStart()", RECURSIVETIMEOUT); return; } MenueAufbauen(); // Altes Menue erneut aufbauen for( var i=0;i

'; menueForm(); delAnker(); } // // Zeilen Einfärben je nach Menueklasse // function holeMenuTD(u_menue){ var htmlText = ''; switch(u_menue){ case 'HM': case 'AHM': htmlText = ''; break; case 'HK': case 'AHK': htmlText = ''; break; default: htmlText = ''; } return (htmlText); } // // Zeilen Einfärben je nach Menueklasse // function checkMenue(){ for (var i=0;i'; htmlText += ''; // ->Dehnungsfuge htmlText += '' + getButton(5,'yellow','updMenueEintrag(' + i + ')',Globals_AKTIVIEREN) + ''; htmlText += ''; htmlText += ''; htmlText += '
'; htmlText += '
'; htmlText += '
'; htmlText += ''; htmlText += ''; for (var j=0;j'; } htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; // ->Dehnungsfuge htmlText += ''; htmlText += ''; // ->Dehnungsfuge htmlText += ''; htmlText += ''; // ->Dehnungsfuge htmlText += ''; htmlText += ''; // ->Dehnungsfuge htmlText += ''; htmlText += ''; // ->Dehnungsfuge htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; for (var i=0; i'; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; // ->Dehnungsfuge htmlText += ''; // Je 1 Zeile für eine sprache for (var j=0;j'; htmlText += ''; htmlText += ''; htmlText += ''; } htmlText += ''; htmlText += ''; htmlText += ''; } htmlText += '
KEYHTML / TXTINFOFUNKTIONKLASSE
 
' + getButton(1,'blue','upMenueEintrag(' + i + ')','UP') + '' + getButton(1,'blue','dnMenueEintrag(' + i + ')','DN') + '' + getButton(1,'green','insMenueEintrag(' + i + ')','INS') + '
 


'; htmlText += ''; htmlText += ''; // Globalen texte htmlText += ''; htmlText += ''; htmlText += ''; htmlText += ''; for (i in eGlobals){ htmlText += ''; htmlText += ''; htmlText += ''; for (var j=0;j'; }else{ htmlText += ''; } htmlText += ''; htmlText += ''; htmlText += ''; } } htmlText += ''; htmlText += '
'; htmlText += '
'; htmlText += '
Globale DefinitionsnamenSpracheInhalt nach Sprache
 
'+Sprache_Auswahl[j]+'
'; htmlText += ''; htmlText += ''; htmlText += ''; // ->Dehnungsfuge htmlText += ''; htmlText += ''; htmlText += '
' + getButton(5,'gray','abrMenueEintrag()',Globals_ABBRECHEN) + '' + getButton(5,'yellow','updMenueEintrag(' + i + ')',Globals_AKTIVIEREN) + '
'; htmlText += '
'; htmlText += '
'; htmlKnoten.innerHTML = htmlText; infoKnoten.innerHTML = '
'; } // // Abbrechen // function abrMenueEintrag(){ EDITMENUE = false; if (window.location.href.search(/#/) != -1){ document.location.href = window.location.href.slice(0,window.location.href.search(/#/)); }else{ document.location.href = window.location.href; } } // // Vor dem Abschicken alle Felder Menue überprufen // function updMenueEintrag(){ if (!checkMenue()){ return; } EDITMENUE = false; document.forms.menue.submit(); } // // Formularfelder einlesen // function leseFormularfelderein(){ for (var i=0;iu_i;i--){ menue_key[i] = menue_key[i-1]; menue_html[i] = menue_html[i-1]; menue_htmlobjekt[i] = menue_htmlobjekt[i-1]; menue_info[i] = menue_info[i-1]; menue_infoobjekt[i] = menue_infoobjekt[i-1]; menue_funktion[i] = menue_funktion[i-1]; menue_ebene[i] = menue_ebene[i-1]; menue_objekt[i] = menue_objekt[i-1]; for (var j=0;j