// Popup-Fenster öffnen (ohne Menu, Symbolleiste, Statusleiste) function popup(url,width,height,top,left,paraStr,winName){ return window.open(url,winName,"width=" + width + ",height=" + height + ",top=" + top + ",left=" + left + ",menubar=no,locationbar=no,statusbar=no,toolbar=no" + paraStr); } function goToPage(eID,editMode,MID,menu,lang,p1,p2,pN){ var cmsForm = document.forms["clientForm"]; cmsForm.action = "s" + eID + "_" + lang + ".php"; cmsForm.p1.value = (p1?p1:""); cmsForm.p2.value = (p2?p2:""); cmsForm.pN.value = (pN?pN:""); cmsForm.submit(); } function goToEntry(eID,editMode,MID,menu,lang,p1,p2,pN,anchorName){ if(editMode >= 2){ var action = "GoTo"; if(parent.genAll.genDone==undefined){ parent.genAll.location.href = 'null.htm'; parent.toolbox.document.getElementById("genCnt").style.color = "#FF0000"; parent.toolbox.document.getElementById("genCnt").innerHTML = "Generierung unterbrochen
Bitte klicken Sie erneut auf den Menupunkt"; return; } if(top.workframe.b_saveFlag){ var tools_save = showModalDialog("../admin/user/tools/save.php", window, "dialogTop:150px; dialogLeft:150px; dialogHeight:160px; dialogWidth:320px; status:no; scroll:no"); switch(top.workframe.b_userSave){ case 0: return false; break; case 1: break; case 2: action = "Save"; break; } } var cmsForm = top.worksheet.cmsForm; cmsForm.f_goto.value = eID; cmsForm.f_gotoLang.value = lang; cmsForm.p1.value = (p1?p1:""); cmsForm.p2.value = (p2?p2:""); cmsForm.pN.value = (pN?pN:""); top.frames.toolbox.cmsButton(action,false,""); } else { if(document.forms.clientForm){ if(document.forms.clientForm.autoProcData){ if(trim(document.forms.clientForm.autoProcData.value) != ""){ if(pN == "" || !pN){ pN = document.forms.clientForm.autoProcData.value + "=" + document.forms.clientForm.autoProcDataVal.value; } } } } if(menu==0){ window.location.href = "../" + sFolder + "/s" + SiteID + "_" + eID + "_" + lang + ".htm" + (anchorName!="" && anchorName!=undefined?"#" + anchorName:""); } else { reloadMenu(eID,editMode,MID,menu); loadContent(eID, editMode, MID, lang, p1, p2, pN); } } } function reloadMenu(eID,editMode,MID,menu){ for(i=menu;i<10;i++){ if(top.frames["menu" + (i+1)]==true){ alert(1); top.frames["menu" + (i+1)].location.href = "menu.php?mtype=" + i + "&actEntry=" + eID + "&editMode=" + editMode + "&MID=" + MID; } else { break; } } } function loadContent(eID, editMode, MID, lang, p1, p2, pN){ var p_basePath = ""; var b_reload=false; if(pN != '' && pN){ a_pNParts = new Array(); a_pN = pN.split("&"); for(i=0;i0)){ if(window.XMLHttpRequest){ http = new XMLHttpRequest(); } else if (window.ActiveXObject){ http = new ActiveXObject("Microsoft.XMLHTTP"); } if(http != null){ http.open("GET","linkCounter.php?Dateiname=" + f.substr(f.lastIndexOf("/")+1),true); http.send(null); } http = null; } } } }