---------------------------------------- 2020-07-14 20:57:33,759 [19] INFO - --------- 2020-07-14 20:57:35,204 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1627. 2020-07-14 20:57:35,204 [19] INFO - --------- 2020-07-14 20:57:35,205 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,205 [19] INFO - --------- 2020-07-14 20:57:35,206 [19] INFO - function SE637303570552058113() {} SE637303570552058113.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552058113().executeScript(); 2020-07-14 20:57:35,206 [19] INFO - --------- 2020-07-14 20:57:35,208 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,209 [19] INFO - --------- 2020-07-14 20:57:35,209 [19] INFO - function SE637303570552058113() {} SE637303570552058113.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552058113().executeScript(); 2020-07-14 20:57:35,209 [19] INFO - --------- 2020-07-14 20:57:35,210 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1628. 2020-07-14 20:57:35,210 [19] INFO - --------- 2020-07-14 20:57:35,211 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,211 [19] INFO - --------- 2020-07-14 20:57:35,211 [19] INFO - function SE637303570552118116() {} SE637303570552118116.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552118116().executeScript(); 2020-07-14 20:57:35,212 [19] INFO - --------- 2020-07-14 20:57:35,214 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,215 [19] INFO - --------- 2020-07-14 20:57:35,215 [19] INFO - function SE637303570552118116() {} SE637303570552118116.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552118116().executeScript(); 2020-07-14 20:57:35,215 [19] INFO - --------- 2020-07-14 20:57:35,216 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1629. 2020-07-14 20:57:35,216 [19] INFO - --------- 2020-07-14 20:57:35,217 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,217 [19] INFO - --------- 2020-07-14 20:57:35,217 [19] INFO - function SE637303570552178120() {} SE637303570552178120.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552178120().executeScript(); 2020-07-14 20:57:35,218 [19] INFO - --------- 2020-07-14 20:57:35,219 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,219 [19] INFO - --------- 2020-07-14 20:57:35,219 [19] INFO - function SE637303570552178120() {} SE637303570552178120.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552178120().executeScript(); 2020-07-14 20:57:35,220 [19] INFO - --------- 2020-07-14 20:57:35,220 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1630. 2020-07-14 20:57:35,220 [19] INFO - --------- 2020-07-14 20:57:35,221 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,222 [19] INFO - --------- 2020-07-14 20:57:35,222 [19] INFO - function SE637303570537407275() {} SE637303570537407275.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570537407275().executeScript(); 2020-07-14 20:57:35,222 [19] INFO - --------- 2020-07-14 20:57:35,223 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1631. 2020-07-14 20:57:35,223 [19] INFO - --------- 2020-07-14 20:57:35,251 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,251 [19] INFO - --------- 2020-07-14 20:57:35,251 [19] INFO - function SE637303570552518139() {} SE637303570552518139.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\tBild in Lightbox öffnen (open image in lightbox).\r\n\t\t\t\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552518139().executeScript(); 2020-07-14 20:57:35,253 [19] INFO - --------- 2020-07-14 20:57:35,271 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,271 [19] INFO - --------- 2020-07-14 20:57:35,271 [19] INFO - function SE637303570552718150() {} SE637303570552718150.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552718150().executeScript(); 2020-07-14 20:57:35,272 [19] INFO - --------- 2020-07-14 20:57:35,280 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,280 [19] INFO - --------- 2020-07-14 20:57:35,281 [19] INFO - function SE637303570552718150() {} SE637303570552718150.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552718150().executeScript(); 2020-07-14 20:57:35,281 [19] INFO - --------- 2020-07-14 20:57:35,282 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1632. 2020-07-14 20:57:35,282 [19] INFO - --------- 2020-07-14 20:57:35,284 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,285 [19] INFO - --------- 2020-07-14 20:57:35,285 [19] INFO - function SE637303570552518139() {} SE637303570552518139.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570552518139().executeScript(); 2020-07-14 20:57:35,286 [19] INFO - --------- 2020-07-14 20:57:35,286 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1633. 2020-07-14 20:57:35,287 [19] INFO - --------- 2020-07-14 20:57:35,315 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,315 [19] INFO - --------- 2020-07-14 20:57:35,315 [19] INFO - function SE637303570553158176() {} SE637303570553158176.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553158176().executeScript(); 2020-07-14 20:57:35,316 [19] INFO - --------- 2020-07-14 20:57:35,317 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,318 [19] INFO - --------- 2020-07-14 20:57:35,318 [19] INFO - function SE637303570553178177() {} SE637303570553178177.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553178177().executeScript(); 2020-07-14 20:57:35,318 [19] INFO - --------- 2020-07-14 20:57:35,329 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,329 [19] INFO - --------- 2020-07-14 20:57:35,329 [19] INFO - function SE637303570553178177() {} SE637303570553178177.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553178177().executeScript(); 2020-07-14 20:57:35,330 [19] INFO - --------- 2020-07-14 20:57:35,330 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1634. 2020-07-14 20:57:35,331 [19] INFO - --------- 2020-07-14 20:57:35,331 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,332 [19] INFO - --------- 2020-07-14 20:57:35,332 [19] INFO - function SE637303570553318185() {} SE637303570553318185.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553318185().executeScript(); 2020-07-14 20:57:35,333 [19] INFO - --------- 2020-07-14 20:57:35,336 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,336 [19] INFO - --------- 2020-07-14 20:57:35,337 [19] INFO - function SE637303570553318185() {} SE637303570553318185.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553318185().executeScript(); 2020-07-14 20:57:35,337 [19] INFO - --------- 2020-07-14 20:57:35,338 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1635. 2020-07-14 20:57:35,338 [19] INFO - --------- 2020-07-14 20:57:35,339 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,339 [19] INFO - --------- 2020-07-14 20:57:35,340 [19] INFO - function SE637303570553398189() {} SE637303570553398189.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553398189().executeScript(); 2020-07-14 20:57:35,340 [19] INFO - --------- 2020-07-14 20:57:35,342 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,343 [19] INFO - --------- 2020-07-14 20:57:35,343 [19] INFO - function SE637303570553398189() {} SE637303570553398189.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553398189().executeScript(); 2020-07-14 20:57:35,344 [19] INFO - --------- 2020-07-14 20:57:35,344 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1636. 2020-07-14 20:57:35,344 [19] INFO - --------- 2020-07-14 20:57:35,345 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,345 [19] INFO - --------- 2020-07-14 20:57:35,346 [19] INFO - function SE637303570553458193() {} SE637303570553458193.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553458193().executeScript(); 2020-07-14 20:57:35,346 [19] INFO - --------- 2020-07-14 20:57:35,347 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,347 [19] INFO - --------- 2020-07-14 20:57:35,348 [19] INFO - function SE637303570553458193() {} SE637303570553458193.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553458193().executeScript(); 2020-07-14 20:57:35,348 [19] INFO - --------- 2020-07-14 20:57:35,348 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1637. 2020-07-14 20:57:35,349 [19] INFO - --------- 2020-07-14 20:57:35,350 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,350 [19] INFO - --------- 2020-07-14 20:57:35,351 [19] INFO - function SE637303570553158176() {} SE637303570553158176.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553158176().executeScript(); 2020-07-14 20:57:35,351 [19] INFO - --------- 2020-07-14 20:57:35,351 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1638. 2020-07-14 20:57:35,352 [19] INFO - --------- 2020-07-14 20:57:35,378 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,379 [19] INFO - --------- 2020-07-14 20:57:35,379 [19] INFO - function SE637303570553788212() {} SE637303570553788212.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553788212().executeScript(); 2020-07-14 20:57:35,380 [19] INFO - --------- 2020-07-14 20:57:35,412 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,412 [19] INFO - --------- 2020-07-14 20:57:35,413 [19] INFO - function SE637303570554128231() {} SE637303570554128231.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554128231().executeScript(); 2020-07-14 20:57:35,413 [19] INFO - --------- 2020-07-14 20:57:35,421 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,422 [19] INFO - --------- 2020-07-14 20:57:35,422 [19] INFO - function SE637303570554128231() {} SE637303570554128231.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554128231().executeScript(); 2020-07-14 20:57:35,422 [19] INFO - --------- 2020-07-14 20:57:35,423 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1639. 2020-07-14 20:57:35,423 [19] INFO - --------- 2020-07-14 20:57:35,426 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,426 [19] INFO - --------- 2020-07-14 20:57:35,426 [19] INFO - function SE637303570553788212() {} SE637303570553788212.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570553788212().executeScript(); 2020-07-14 20:57:35,427 [19] INFO - --------- 2020-07-14 20:57:35,428 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1640. 2020-07-14 20:57:35,428 [19] INFO - --------- 2020-07-14 20:57:35,438 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,439 [19] INFO - --------- 2020-07-14 20:57:35,439 [19] INFO - function SE637303570554388246() {} SE637303570554388246.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554388246().executeScript(); 2020-07-14 20:57:35,440 [19] INFO - --------- 2020-07-14 20:57:35,457 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,457 [19] INFO - --------- 2020-07-14 20:57:35,458 [19] INFO - function SE637303570554578257() {} SE637303570554578257.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554578257().executeScript(); 2020-07-14 20:57:35,458 [19] INFO - --------- 2020-07-14 20:57:35,466 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,467 [19] INFO - --------- 2020-07-14 20:57:35,467 [19] INFO - function SE637303570554578257() {} SE637303570554578257.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554578257().executeScript(); 2020-07-14 20:57:35,467 [19] INFO - --------- 2020-07-14 20:57:35,468 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1641. 2020-07-14 20:57:35,468 [19] INFO - --------- 2020-07-14 20:57:35,471 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,471 [19] INFO - --------- 2020-07-14 20:57:35,471 [19] INFO - function SE637303570554388246() {} SE637303570554388246.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554388246().executeScript(); 2020-07-14 20:57:35,472 [19] INFO - --------- 2020-07-14 20:57:35,473 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1642. 2020-07-14 20:57:35,473 [19] INFO - --------- 2020-07-14 20:57:35,499 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,499 [19] INFO - --------- 2020-07-14 20:57:35,500 [19] INFO - function SE637303570554998281() {} SE637303570554998281.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554998281().executeScript(); 2020-07-14 20:57:35,500 [19] INFO - --------- 2020-07-14 20:57:35,501 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,502 [19] INFO - --------- 2020-07-14 20:57:35,502 [19] INFO - function SE637303570555018282() {} SE637303570555018282.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555018282().executeScript(); 2020-07-14 20:57:35,503 [19] INFO - --------- 2020-07-14 20:57:35,513 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,513 [19] INFO - --------- 2020-07-14 20:57:35,513 [19] INFO - function SE637303570555018282() {} SE637303570555018282.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555018282().executeScript(); 2020-07-14 20:57:35,514 [19] INFO - --------- 2020-07-14 20:57:35,514 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1643. 2020-07-14 20:57:35,515 [19] INFO - --------- 2020-07-14 20:57:35,516 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,516 [19] INFO - --------- 2020-07-14 20:57:35,516 [19] INFO - function SE637303570555158290() {} SE637303570555158290.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555158290().executeScript(); 2020-07-14 20:57:35,517 [19] INFO - --------- 2020-07-14 20:57:35,518 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,519 [19] INFO - --------- 2020-07-14 20:57:35,519 [19] INFO - function SE637303570555158290() {} SE637303570555158290.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555158290().executeScript(); 2020-07-14 20:57:35,519 [19] INFO - --------- 2020-07-14 20:57:35,520 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1644. 2020-07-14 20:57:35,520 [19] INFO - --------- 2020-07-14 20:57:35,521 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,521 [19] INFO - --------- 2020-07-14 20:57:35,521 [19] INFO - function SE637303570555218293() {} SE637303570555218293.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555218293().executeScript(); 2020-07-14 20:57:35,522 [19] INFO - --------- 2020-07-14 20:57:35,524 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,525 [19] INFO - --------- 2020-07-14 20:57:35,525 [19] INFO - function SE637303570555218293() {} SE637303570555218293.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555218293().executeScript(); 2020-07-14 20:57:35,525 [19] INFO - --------- 2020-07-14 20:57:35,526 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1645. 2020-07-14 20:57:35,526 [19] INFO - --------- 2020-07-14 20:57:35,527 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,527 [19] INFO - --------- 2020-07-14 20:57:35,528 [19] INFO - function SE637303570555278297() {} SE637303570555278297.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555278297().executeScript(); 2020-07-14 20:57:35,528 [19] INFO - --------- 2020-07-14 20:57:35,529 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,529 [19] INFO - --------- 2020-07-14 20:57:35,530 [19] INFO - function SE637303570555278297() {} SE637303570555278297.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555278297().executeScript(); 2020-07-14 20:57:35,530 [19] INFO - --------- 2020-07-14 20:57:35,530 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1646. 2020-07-14 20:57:35,531 [19] INFO - --------- 2020-07-14 20:57:35,532 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,532 [19] INFO - --------- 2020-07-14 20:57:35,533 [19] INFO - function SE637303570554998281() {} SE637303570554998281.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570554998281().executeScript(); 2020-07-14 20:57:35,533 [19] INFO - --------- 2020-07-14 20:57:35,533 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1647. 2020-07-14 20:57:35,533 [19] INFO - --------- 2020-07-14 20:57:35,536 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,536 [19] INFO - --------- 2020-07-14 20:57:35,536 [19] INFO - function SE637303570555368302() {} SE637303570555368302.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. var imagesPerPage = parseInt(article.value("imagesperpage", 0)); var isPaging = false; var contentImageWidth = "890"; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl hohlen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || 960; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } // if page contains a news area, we only approximate a 2/3 1/3 size layout in order to calculate thumbnails if ( article.area.toLowerCase() == "news" ){ gridCols = 4; } else if ( page.anyAreaArticles("News") ){ gridCols = 8; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } var showSlideshow = article.value("slideshow"); var albumId = article.value("album"); var images = project.getAlbumImages(albumId); var thumbnailWidth = article.value("width"); var thumbnailHeight = article.value("height"); var titlePosition = article.value("titleposition"); var thumbTitlePosition = article.value("thumbtitleposition", "off"); var imageMargin = parseInt(article.value("margin", "0")); // figure out if images have a border set in layout-settings and compensate for it, if the article doesn't have a custom class "noborder" set var imageBorder = 0; var tmpArticleCssClass = " " + article.cssClass; if ( tmpArticleCssClass.indexOf("noborder") == -1 && "" != "0" && "" != "" ) { imageBorder = parseInt(""); } var generateThumbs = true; if ( titlePosition !== "off" ) { var titleShow = "1"; } else { var titleShow = "0"; } if ( "de" == "en" ) { var lang = "en"; } else { var lang = "de"; } var backgroundImage = backgroundWidth = backgroundHeight = backgroundLeft = backgroundTop = ""; if ( showSlideshow && article.valueRaw("slideshowtemplate") !== "none" ) { backgroundImage = article.value("slideshowtemplate", ""); if ( backgroundImage.indexOf("/laptop.png") > -1 ) { backgroundImage = "assets/js/img/laptop.png"; var backgroundWidth = "801"; var backgroundHeight = "469"; var backgroundLeft= "104"; var backgroundTop = "31"; thumbnailWidth = "590"; thumbnailHeight = "369"; } else if ( backgroundImage.indexOf("/laptop_klein.png") > -1 ) { backgroundImage = "assets/js/img/laptop_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "268"; var backgroundLeft= "59"; var backgroundTop = "18"; thumbnailWidth = "338"; thumbnailHeight = "211"; } else if ( backgroundImage.indexOf("/rahmen.png") > -1 ) { backgroundImage = "assets/js/img/rahmen.png"; var backgroundWidth = "758"; var backgroundHeight = "469"; var backgroundLeft= "55"; var backgroundTop = "57"; thumbnailWidth = "648"; thumbnailHeight = "356"; } else if ( backgroundImage.indexOf("/rahmen_klein.png") > -1 ) { backgroundImage = "assets/js/img/rahmen_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "283"; var backgroundLeft= "33"; var backgroundTop = "34"; thumbnailWidth = "392"; thumbnailHeight = "214"; } } else if ( showSlideshow && article.valueRaw("slideshowtemplate") == "none" ) { thumbnailWidth = columnWidth; //generateThumbs = false; } if ( system.preview ){ //system.log(images.count == 1 ? (" 1 Bild...") : (" " + images.count + " Bilder...")); } var gridFactor = 12 / gridCols; var maxcols = Math.ceil((contentImageWidth / (thumbnailWidth+imageMargin)) / gridFactor); var onecolumnbreakpoint = 479; var maxmobilecols = Math.ceil(onecolumnbreakpoint / thumbnailWidth); var mobilecontainerwidth = 100 / maxmobilecols; var headstyle = "/* test */"; headstyle += "\ #igal" + article.id + ":not(.zpSlideshow){\n\ margin-left: -" + imageMargin/2 + "px !important;\n\ margin-right: -" + imageMargin/2 + "px !important;\n\ }\n\ /* below is to accomodates for IE rounding errors which caused the cols not to fit into the row */\n\ .ie #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc((100% / "+ maxcols +") - " + parseInt(imageMargin/2)*2 + ".1px) !important;\n\ margin: " + parseInt(imageMargin/2) + "px !important;\n\ }\n\ \n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item,\n\ #igal" + article.id + ":not(.zpSlideshow) > a,\n\ #igal" + article.id + ":not(.zpSlideshow) .slide > a{\n\ display: block;\n\ float: left;\n\ width: calc((100% / "+ maxcols +") - " + imageMargin + "px);\n\ max-width: "+ thumbnailWidth +"px;\n\ height: auto;\n\ margin: " + imageMargin / 2 + "px;\n\ }\n\ #igal" + article.id +" > a > img{\n\ max-width: 100%;\n\ display: block;\n\ }\n\ "; for ( var i = 1; i < maxcols - 1; i++){ var breakpoint = contentImageWidth - (i * thumbnailWidth); if ( breakpoint <= onecolumnbreakpoint ){ // if we reach the point, where the ZP Grid will display rows in 1-column, we break and need to use a different logic (see next for-loop) break; } var containerwidth = 100 / ( maxcols - i); headstyle += "\n\ @media screen and (max-width: " + breakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + containerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; } // mobile display 2+-column-rows. for ( var i = 1; i < maxmobilecols; i++){ headstyle += "\n\ @media screen and (max-width: " + onecolumnbreakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + mobilecontainerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; onecolumnbreakpoint = ( maxmobilecols -i ) * thumbnailWidth; mobilecontainerwidth = 100 / ( maxmobilecols -i ); } // mobile display 1-column-row. headstyle += "\n\ @media screen and (max-width: " + (thumbnailWidth+imageMargin) +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(100% - " + imageMargin + "px);\n\ }\n\ }\n\ "; headstyle += ""; system.addHtmlHeadElement(headstyle); // polyfill for JSON.stringify() // https://gist.github.com/uupaa/5562297 function _toJSONEscapedString(str) { // @arg String: // @ret String: // @inner: to JSON escaped string if (typeof(str)==='undefined') str = ""; if ( str == ""){ return ""; } else{ var JSON_ESCAPE = { '\b': '\\b', // backspace U+0008 '\t': '\\t', // tab U+0009 '\n': '\\n', // line feed U+000A '\f': '\\f', // form feed U+000C '\r': '\\r', // carriage return U+000D '"': '\\"', // quotation mark U+0022 '\\': '\\\\' // reverse solidus U+005C }; return str.replace(/(?:[\b\t\n\f\r\"]|\\)/g, function(_) { return JSON_ESCAPE[_]; }).replace(/(?:[\x00-\x1f])/g, function(_) { return "\\u00" + ("0" + _.charCodeAt(0).toString(16)).slice(-2); }); } } context.write("\r\n\r\n"); // normales Bilderalbum mit thumbnails, ohne ContentCopy if ( !showSlideshow ) { // only activate paging via json-data when more than one page of images to show exists if ( imagesPerPage > 0 && images.count > imagesPerPage ){ isPaging = true; } context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\r\n\t\t
999999 ){ context.write("style=\"margin-right: -"); context.write( imageMargin ); context.write("px;\" "); } context.write("\r\n\t\t\tdata-article-id=\""); context.write(article.id); context.write("\" \r\n\t\t\tdata-prevtext=\"Zurück\" \r\n\t\t\tdata-nexttext=\"Weiter\" \r\n\t\t\tdata-pagetext=\"Seite {0} von {1}\" \r\n\t\t\tdata-ispaging=\""); context.write(isPaging); context.write("\" \r\n\t\t\tdata-imageeffect=\""); context.write(effectClass); context.write("\" \r\n\t\t\tdata-imagesperpage=\""); context.write(imagesPerPage); context.write("\" \r\n\t\t\tdata-kind=\"gallery\" \r\n\t\t\tdata-width=\""); context.write( thumbnailWidth ); context.write("\"\r\n\t\t\tdata-height=\""); context.write( thumbnailHeight ); context.write("\"\r\n\t\t\tdata-margin=\""); context.write( article.value("margin", "") ); context.write("\"\r\n\t\t\tdata-maxcols=\""); context.write( maxcols ); context.write("\"\r\n\t\t\tdata-bordercolor=\"default\"\r\n\t\t\tdata-borderwidth=\"0\"\r\n\t\t\tdata-numbershow=\"0\" \r\n\t\t\tdata-template=\"\" \r\n\t\t\tdata-titleshow=\""); context.write( titleShow ); context.write("\"\r\n\t\t\tdata-titleposition=\""); context.write( article.value("titleposition", "") ); context.write("\"\r\n\t\t\tdata-transition=\""); context.write( article.value("zoom", "") ); context.write("\"\r\n\t\t\tdata-inner-transition=\""); context.write( article.value("transition", "") ); context.write("\"\r\n\t\t\tdata-slideshow=\"0\"\r\n\t\t\tdata-slideshowinterval=\"0\"\r\n\t\t\tdata-lang=\""); context.write( lang ); context.write("\">\r\n\t\r\n\t\t\t"); if ( isPaging ) { context.write("\r\n\t\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\t\t
\r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } else { context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\r\n\t\t\r\n\t\t"); // Slideshow mit Hintergrundbild aus Template (Laptop etc.), ohne Contentcopy if ( backgroundImage !== "" && backgroundImage !== "Keine" ) { context.write("\r\n\t\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t\t\t\t\"\"\r\n\t\t\r\n\t\t\t\t\t"); var descriptionSlide1, altText1, encodedDescription1, imageSlide1; for ( var indexSlide1=0; indexSlide1 < images.count; ++indexSlide1 ) { imageSlide1 = images.item(indexSlide1); imageSlide1.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy descriptionSlide1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.description)); encodedDescription1 = system.htmlEncode(imageSlide1.description); altText1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.altText)); if ( imageSlide1.createThumb(thumbnailWidth, thumbnailHeight) ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide1.thumbPath(thumbnailWidth, thumbnailHeight).split("/").pop()); } } context.write("\r\n\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide1.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t"); context.write( imageSlide1.description ); context.write("\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t
\r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\r\n\t\t"); } // Slideshow ohne Hintergrundbild (Nur Bild), ohne Contentcopy else { context.write("\r\n\r\n\t\t\t"); var maxThumbnailHeight = 0; var maxThumbnailWidth = 0; for (var indexThumbnailHeight=0; indexThumbnailHeight < images.count; ++indexThumbnailHeight ) { var imageThumbnailHeight = images.item(indexThumbnailHeight); imageThumbnailHeight.skipContentCopy(); var currentThumbnailHeight = imageThumbnailHeight.createThumbWithInfo(columnWidth); if ( currentThumbnailHeight.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageThumbnailHeight.thumbPath(columnWidth).split("/").pop()); } } if ( currentThumbnailHeight.height > maxThumbnailHeight ) { maxThumbnailHeight = currentThumbnailHeight.height; } if ( currentThumbnailHeight.width > maxThumbnailWidth ) { maxThumbnailWidth = currentThumbnailHeight.width; } } context.write("\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t"); var descriptionSlide2, encodedDescription2, imageSlide2; for ( var indexSlide2=0; indexSlide2 < images.count; ++indexSlide2 ) { imageSlide2 = images.item(indexSlide2); imageSlide2.skipContentCopy(); descriptionSlide2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.description)); encodedDescription2 = system.htmlEncode(imageSlide2.description); altText2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.altText)); var tni = imageSlide2.createThumbWithInfo(columnWidth); if ( tni.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide2.thumbPath(columnWidth).split("/").pop()); } } var tmpWidth = parseInt(tni.ThumbnailWidth); var tmpHeight = parseInt(tni.ThumbnailHeight); var tmpSrc = imageSlide2.thumbPath(columnWidth); context.write("\r\n\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide2.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t"); context.write( imageSlide2.description ); context.write("\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
\r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\r\n\t\t"); } context.write("\r\n\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555368302().executeScript(); 2020-07-14 20:57:35,539 [19] INFO - --------- 2020-07-14 20:57:35,555 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,556 [19] INFO - --------- 2020-07-14 20:57:35,556 [19] INFO - function SE637303570555558313() {} SE637303570555558313.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555558313().executeScript(); 2020-07-14 20:57:35,557 [19] INFO - --------- 2020-07-14 20:57:35,565 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,565 [19] INFO - --------- 2020-07-14 20:57:35,566 [19] INFO - function SE637303570555558313() {} SE637303570555558313.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555558313().executeScript(); 2020-07-14 20:57:35,566 [19] INFO - --------- 2020-07-14 20:57:35,567 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1648. 2020-07-14 20:57:35,567 [19] INFO - --------- 2020-07-14 20:57:35,568 [19] INFO - About to execute the following script: 2020-07-14 20:57:35,568 [19] INFO - --------- 2020-07-14 20:57:35,568 [19] INFO - function SE637303570555688320() {} SE637303570555688320.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555688320().executeScript(); 2020-07-14 20:57:35,569 [19] INFO - --------- 2020-07-14 20:57:35,571 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,571 [19] INFO - --------- 2020-07-14 20:57:35,572 [19] INFO - function SE637303570555688320() {} SE637303570555688320.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555688320().executeScript(); 2020-07-14 20:57:35,572 [19] INFO - --------- 2020-07-14 20:57:35,573 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1649. 2020-07-14 20:57:35,573 [19] INFO - --------- 2020-07-14 20:57:35,655 [19] INFO - Finished executing the following script: 2020-07-14 20:57:35,655 [19] INFO - --------- 2020-07-14 20:57:35,655 [19] INFO - function SE637303570555368302() {} SE637303570555368302.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. var imagesPerPage = parseInt(article.value("imagesperpage", 0)); var isPaging = false; var contentImageWidth = "890"; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl hohlen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || 960; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } // if page contains a news area, we only approximate a 2/3 1/3 size layout in order to calculate thumbnails if ( article.area.toLowerCase() == "news" ){ gridCols = 4; } else if ( page.anyAreaArticles("News") ){ gridCols = 8; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } var showSlideshow = article.value("slideshow"); var albumId = article.value("album"); var images = project.getAlbumImages(albumId); var thumbnailWidth = article.value("width"); var thumbnailHeight = article.value("height"); var titlePosition = article.value("titleposition"); var thumbTitlePosition = article.value("thumbtitleposition", "off"); var imageMargin = parseInt(article.value("margin", "0")); // figure out if images have a border set in layout-settings and compensate for it, if the article doesn't have a custom class "noborder" set var imageBorder = 0; var tmpArticleCssClass = " " + article.cssClass; if ( tmpArticleCssClass.indexOf("noborder") == -1 && "" != "0" && "" != "" ) { imageBorder = parseInt(""); } var generateThumbs = true; if ( titlePosition !== "off" ) { var titleShow = "1"; } else { var titleShow = "0"; } if ( "de" == "en" ) { var lang = "en"; } else { var lang = "de"; } var backgroundImage = backgroundWidth = backgroundHeight = backgroundLeft = backgroundTop = ""; if ( showSlideshow && article.valueRaw("slideshowtemplate") !== "none" ) { backgroundImage = article.value("slideshowtemplate", ""); if ( backgroundImage.indexOf("/laptop.png") > -1 ) { backgroundImage = "assets/js/img/laptop.png"; var backgroundWidth = "801"; var backgroundHeight = "469"; var backgroundLeft= "104"; var backgroundTop = "31"; thumbnailWidth = "590"; thumbnailHeight = "369"; } else if ( backgroundImage.indexOf("/laptop_klein.png") > -1 ) { backgroundImage = "assets/js/img/laptop_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "268"; var backgroundLeft= "59"; var backgroundTop = "18"; thumbnailWidth = "338"; thumbnailHeight = "211"; } else if ( backgroundImage.indexOf("/rahmen.png") > -1 ) { backgroundImage = "assets/js/img/rahmen.png"; var backgroundWidth = "758"; var backgroundHeight = "469"; var backgroundLeft= "55"; var backgroundTop = "57"; thumbnailWidth = "648"; thumbnailHeight = "356"; } else if ( backgroundImage.indexOf("/rahmen_klein.png") > -1 ) { backgroundImage = "assets/js/img/rahmen_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "283"; var backgroundLeft= "33"; var backgroundTop = "34"; thumbnailWidth = "392"; thumbnailHeight = "214"; } } else if ( showSlideshow && article.valueRaw("slideshowtemplate") == "none" ) { thumbnailWidth = columnWidth; //generateThumbs = false; } if ( system.preview ){ //system.log(images.count == 1 ? (" 1 Bild...") : (" " + images.count + " Bilder...")); } var gridFactor = 12 / gridCols; var maxcols = Math.ceil((contentImageWidth / (thumbnailWidth+imageMargin)) / gridFactor); var onecolumnbreakpoint = 479; var maxmobilecols = Math.ceil(onecolumnbreakpoint / thumbnailWidth); var mobilecontainerwidth = 100 / maxmobilecols; var headstyle = "/* test */"; headstyle += "\ #igal" + article.id + ":not(.zpSlideshow){\n\ margin-left: -" + imageMargin/2 + "px !important;\n\ margin-right: -" + imageMargin/2 + "px !important;\n\ }\n\ /* below is to accomodates for IE rounding errors which caused the cols not to fit into the row */\n\ .ie #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc((100% / "+ maxcols +") - " + parseInt(imageMargin/2)*2 + ".1px) !important;\n\ margin: " + parseInt(imageMargin/2) + "px !important;\n\ }\n\ \n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item,\n\ #igal" + article.id + ":not(.zpSlideshow) > a,\n\ #igal" + article.id + ":not(.zpSlideshow) .slide > a{\n\ display: block;\n\ float: left;\n\ width: calc((100% / "+ maxcols +") - " + imageMargin + "px);\n\ max-width: "+ thumbnailWidth +"px;\n\ height: auto;\n\ margin: " + imageMargin / 2 + "px;\n\ }\n\ #igal" + article.id +" > a > img{\n\ max-width: 100%;\n\ display: block;\n\ }\n\ "; for ( var i = 1; i < maxcols - 1; i++){ var breakpoint = contentImageWidth - (i * thumbnailWidth); if ( breakpoint <= onecolumnbreakpoint ){ // if we reach the point, where the ZP Grid will display rows in 1-column, we break and need to use a different logic (see next for-loop) break; } var containerwidth = 100 / ( maxcols - i); headstyle += "\n\ @media screen and (max-width: " + breakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + containerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; } // mobile display 2+-column-rows. for ( var i = 1; i < maxmobilecols; i++){ headstyle += "\n\ @media screen and (max-width: " + onecolumnbreakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + mobilecontainerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; onecolumnbreakpoint = ( maxmobilecols -i ) * thumbnailWidth; mobilecontainerwidth = 100 / ( maxmobilecols -i ); } // mobile display 1-column-row. headstyle += "\n\ @media screen and (max-width: " + (thumbnailWidth+imageMargin) +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(100% - " + imageMargin + "px);\n\ }\n\ }\n\ "; headstyle += ""; system.addHtmlHeadElement(headstyle); // polyfill for JSON.stringify() // https://gist.github.com/uupaa/5562297 function _toJSONEscapedString(str) { // @arg String: // @ret String: // @inner: to JSON escaped string if (typeof(str)==='undefined') str = ""; if ( str == ""){ return ""; } else{ var JSON_ESCAPE = { '\b': '\\b', // backspace U+0008 '\t': '\\t', // tab U+0009 '\n': '\\n', // line feed U+000A '\f': '\\f', // form feed U+000C '\r': '\\r', // carriage return U+000D '"': '\\"', // quotation mark U+0022 '\\': '\\\\' // reverse solidus U+005C }; return str.replace(/(?:[\b\t\n\f\r\"]|\\)/g, function(_) { return JSON_ESCAPE[_]; }).replace(/(?:[\x00-\x1f])/g, function(_) { return "\\u00" + ("0" + _.charCodeAt(0).toString(16)).slice(-2); }); } } context.write("\r\n\r\n"); // normales Bilderalbum mit thumbnails, ohne ContentCopy if ( !showSlideshow ) { // only activate paging via json-data when more than one page of images to show exists if ( imagesPerPage > 0 && images.count > imagesPerPage ){ isPaging = true; } context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\r\n\t\t
999999 ){ context.write("style=\"margin-right: -"); context.write( imageMargin ); context.write("px;\" "); } context.write("\r\n\t\t\tdata-article-id=\""); context.write(article.id); context.write("\" \r\n\t\t\tdata-prevtext=\"Zurück\" \r\n\t\t\tdata-nexttext=\"Weiter\" \r\n\t\t\tdata-pagetext=\"Seite {0} von {1}\" \r\n\t\t\tdata-ispaging=\""); context.write(isPaging); context.write("\" \r\n\t\t\tdata-imageeffect=\""); context.write(effectClass); context.write("\" \r\n\t\t\tdata-imagesperpage=\""); context.write(imagesPerPage); context.write("\" \r\n\t\t\tdata-kind=\"gallery\" \r\n\t\t\tdata-width=\""); context.write( thumbnailWidth ); context.write("\"\r\n\t\t\tdata-height=\""); context.write( thumbnailHeight ); context.write("\"\r\n\t\t\tdata-margin=\""); context.write( article.value("margin", "") ); context.write("\"\r\n\t\t\tdata-maxcols=\""); context.write( maxcols ); context.write("\"\r\n\t\t\tdata-bordercolor=\"default\"\r\n\t\t\tdata-borderwidth=\"0\"\r\n\t\t\tdata-numbershow=\"0\" \r\n\t\t\tdata-template=\"\" \r\n\t\t\tdata-titleshow=\""); context.write( titleShow ); context.write("\"\r\n\t\t\tdata-titleposition=\""); context.write( article.value("titleposition", "") ); context.write("\"\r\n\t\t\tdata-transition=\""); context.write( article.value("zoom", "") ); context.write("\"\r\n\t\t\tdata-inner-transition=\""); context.write( article.value("transition", "") ); context.write("\"\r\n\t\t\tdata-slideshow=\"0\"\r\n\t\t\tdata-slideshowinterval=\"0\"\r\n\t\t\tdata-lang=\""); context.write( lang ); context.write("\">\r\n\t\r\n\t\t\t"); if ( isPaging ) { context.write("\r\n\t\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\t\t
\r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } else { context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\r\n\t\t\r\n\t\t"); // Slideshow mit Hintergrundbild aus Template (Laptop etc.), ohne Contentcopy if ( backgroundImage !== "" && backgroundImage !== "Keine" ) { context.write("\r\n\t\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t\t\t\t\"\"\r\n\t\t\r\n\t\t\t\t\t"); var descriptionSlide1, altText1, encodedDescription1, imageSlide1; for ( var indexSlide1=0; indexSlide1 < images.count; ++indexSlide1 ) { imageSlide1 = images.item(indexSlide1); imageSlide1.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy descriptionSlide1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.description)); encodedDescription1 = system.htmlEncode(imageSlide1.description); altText1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.altText)); if ( imageSlide1.createThumb(thumbnailWidth, thumbnailHeight) ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide1.thumbPath(thumbnailWidth, thumbnailHeight).split("/").pop()); } } context.write("\r\n\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide1.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t"); context.write( imageSlide1.description ); context.write("\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t
\r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\r\n\t\t"); } // Slideshow ohne Hintergrundbild (Nur Bild), ohne Contentcopy else { context.write("\r\n\r\n\t\t\t"); var maxThumbnailHeight = 0; var maxThumbnailWidth = 0; for (var indexThumbnailHeight=0; indexThumbnailHeight < images.count; ++indexThumbnailHeight ) { var imageThumbnailHeight = images.item(indexThumbnailHeight); imageThumbnailHeight.skipContentCopy(); var currentThumbnailHeight = imageThumbnailHeight.createThumbWithInfo(columnWidth); if ( currentThumbnailHeight.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageThumbnailHeight.thumbPath(columnWidth).split("/").pop()); } } if ( currentThumbnailHeight.height > maxThumbnailHeight ) { maxThumbnailHeight = currentThumbnailHeight.height; } if ( currentThumbnailHeight.width > maxThumbnailWidth ) { maxThumbnailWidth = currentThumbnailHeight.width; } } context.write("\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t"); var descriptionSlide2, encodedDescription2, imageSlide2; for ( var indexSlide2=0; indexSlide2 < images.count; ++indexSlide2 ) { imageSlide2 = images.item(indexSlide2); imageSlide2.skipContentCopy(); descriptionSlide2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.description)); encodedDescription2 = system.htmlEncode(imageSlide2.description); altText2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.altText)); var tni = imageSlide2.createThumbWithInfo(columnWidth); if ( tni.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide2.thumbPath(columnWidth).split("/").pop()); } } var tmpWidth = parseInt(tni.ThumbnailWidth); var tmpHeight = parseInt(tni.ThumbnailHeight); var tmpSrc = imageSlide2.thumbPath(columnWidth); context.write("\r\n\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide2.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t"); context.write( imageSlide2.description ); context.write("\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
\r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\r\n\t\t"); } context.write("\r\n\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570555368302().executeScript(); 2020-07-14 20:57:36,838 [19] INFO - --------- 2020-07-14 20:57:36,838 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1650. 2020-07-14 20:57:36,839 [19] INFO - --------- 2020-07-14 20:57:36,864 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,864 [19] INFO - --------- 2020-07-14 20:57:36,865 [19] INFO - function SE637303570568649062() {} SE637303570568649062.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568649062().executeScript(); 2020-07-14 20:57:36,865 [19] INFO - --------- 2020-07-14 20:57:36,867 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,867 [19] INFO - --------- 2020-07-14 20:57:36,867 [19] INFO - function SE637303570568679063() {} SE637303570568679063.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568679063().executeScript(); 2020-07-14 20:57:36,868 [19] INFO - --------- 2020-07-14 20:57:36,878 [19] INFO - Finished executing the following script: 2020-07-14 20:57:36,878 [19] INFO - --------- 2020-07-14 20:57:36,878 [19] INFO - function SE637303570568679063() {} SE637303570568679063.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568679063().executeScript(); 2020-07-14 20:57:36,879 [19] INFO - --------- 2020-07-14 20:57:36,879 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1651. 2020-07-14 20:57:36,879 [19] INFO - --------- 2020-07-14 20:57:36,880 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,881 [19] INFO - --------- 2020-07-14 20:57:36,881 [19] INFO - function SE637303570568809071() {} SE637303570568809071.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568809071().executeScript(); 2020-07-14 20:57:36,881 [19] INFO - --------- 2020-07-14 20:57:36,885 [19] INFO - Finished executing the following script: 2020-07-14 20:57:36,885 [19] INFO - --------- 2020-07-14 20:57:36,885 [19] INFO - function SE637303570568809071() {} SE637303570568809071.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568809071().executeScript(); 2020-07-14 20:57:36,886 [19] INFO - --------- 2020-07-14 20:57:36,886 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1652. 2020-07-14 20:57:36,887 [19] INFO - --------- 2020-07-14 20:57:36,888 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,888 [19] INFO - --------- 2020-07-14 20:57:36,888 [19] INFO - function SE637303570568889075() {} SE637303570568889075.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568889075().executeScript(); 2020-07-14 20:57:36,889 [19] INFO - --------- 2020-07-14 20:57:36,891 [19] INFO - Finished executing the following script: 2020-07-14 20:57:36,892 [19] INFO - --------- 2020-07-14 20:57:36,892 [19] INFO - function SE637303570568889075() {} SE637303570568889075.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568889075().executeScript(); 2020-07-14 20:57:36,892 [19] INFO - --------- 2020-07-14 20:57:36,893 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1653. 2020-07-14 20:57:36,893 [19] INFO - --------- 2020-07-14 20:57:36,894 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,894 [19] INFO - --------- 2020-07-14 20:57:36,894 [19] INFO - function SE637303570568949079() {} SE637303570568949079.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568949079().executeScript(); 2020-07-14 20:57:36,894 [19] INFO - --------- 2020-07-14 20:57:36,896 [19] INFO - Finished executing the following script: 2020-07-14 20:57:36,896 [19] INFO - --------- 2020-07-14 20:57:36,896 [19] INFO - function SE637303570568949079() {} SE637303570568949079.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568949079().executeScript(); 2020-07-14 20:57:36,897 [19] INFO - --------- 2020-07-14 20:57:36,897 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1654. 2020-07-14 20:57:36,897 [19] INFO - --------- 2020-07-14 20:57:36,898 [19] INFO - Finished executing the following script: 2020-07-14 20:57:36,899 [19] INFO - --------- 2020-07-14 20:57:36,899 [19] INFO - function SE637303570568649062() {} SE637303570568649062.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570568649062().executeScript(); 2020-07-14 20:57:36,899 [19] INFO - --------- 2020-07-14 20:57:36,900 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1655. 2020-07-14 20:57:36,900 [19] INFO - --------- 2020-07-14 20:57:36,926 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,926 [19] INFO - --------- 2020-07-14 20:57:36,926 [19] INFO - function SE637303570569259096() {} SE637303570569259096.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569259096().executeScript(); 2020-07-14 20:57:36,927 [19] INFO - --------- 2020-07-14 20:57:36,945 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,945 [19] INFO - --------- 2020-07-14 20:57:36,945 [19] INFO - function SE637303570569459108() {} SE637303570569459108.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569459108().executeScript(); 2020-07-14 20:57:36,946 [19] INFO - --------- 2020-07-14 20:57:36,954 [19] INFO - Finished executing the following script: 2020-07-14 20:57:36,954 [19] INFO - --------- 2020-07-14 20:57:36,955 [19] INFO - function SE637303570569459108() {} SE637303570569459108.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569459108().executeScript(); 2020-07-14 20:57:36,955 [19] INFO - --------- 2020-07-14 20:57:36,955 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1656. 2020-07-14 20:57:36,956 [19] INFO - --------- 2020-07-14 20:57:36,958 [19] INFO - Finished executing the following script: 2020-07-14 20:57:36,959 [19] INFO - --------- 2020-07-14 20:57:36,959 [19] INFO - function SE637303570569259096() {} SE637303570569259096.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569259096().executeScript(); 2020-07-14 20:57:36,960 [19] INFO - --------- 2020-07-14 20:57:36,960 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1657. 2020-07-14 20:57:36,961 [19] INFO - --------- 2020-07-14 20:57:36,971 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,971 [19] INFO - --------- 2020-07-14 20:57:36,971 [19] INFO - function SE637303570569719123() {} SE637303570569719123.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569719123().executeScript(); 2020-07-14 20:57:36,973 [19] INFO - --------- 2020-07-14 20:57:36,990 [19] INFO - About to execute the following script: 2020-07-14 20:57:36,990 [19] INFO - --------- 2020-07-14 20:57:36,991 [19] INFO - function SE637303570569909134() {} SE637303570569909134.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569909134().executeScript(); 2020-07-14 20:57:36,991 [19] INFO - --------- 2020-07-14 20:57:36,999 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,000 [19] INFO - --------- 2020-07-14 20:57:37,000 [19] INFO - function SE637303570569909134() {} SE637303570569909134.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569909134().executeScript(); 2020-07-14 20:57:37,001 [19] INFO - --------- 2020-07-14 20:57:37,001 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1658. 2020-07-14 20:57:37,001 [19] INFO - --------- 2020-07-14 20:57:37,006 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,007 [19] INFO - --------- 2020-07-14 20:57:37,007 [19] INFO - function SE637303570569719123() {} SE637303570569719123.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570569719123().executeScript(); 2020-07-14 20:57:37,008 [19] INFO - --------- 2020-07-14 20:57:37,008 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1659. 2020-07-14 20:57:37,009 [19] INFO - --------- 2020-07-14 20:57:37,033 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,033 [19] INFO - --------- 2020-07-14 20:57:37,034 [19] INFO - function SE637303570570339158() {} SE637303570570339158.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570339158().executeScript(); 2020-07-14 20:57:37,034 [19] INFO - --------- 2020-07-14 20:57:37,036 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,036 [19] INFO - --------- 2020-07-14 20:57:37,036 [19] INFO - function SE637303570570369160() {} SE637303570570369160.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570369160().executeScript(); 2020-07-14 20:57:37,037 [19] INFO - --------- 2020-07-14 20:57:37,047 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,047 [19] INFO - --------- 2020-07-14 20:57:37,047 [19] INFO - function SE637303570570369160() {} SE637303570570369160.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570369160().executeScript(); 2020-07-14 20:57:37,048 [19] INFO - --------- 2020-07-14 20:57:37,048 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1660. 2020-07-14 20:57:37,048 [19] INFO - --------- 2020-07-14 20:57:37,049 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,050 [19] INFO - --------- 2020-07-14 20:57:37,050 [19] INFO - function SE637303570570499167() {} SE637303570570499167.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570499167().executeScript(); 2020-07-14 20:57:37,050 [19] INFO - --------- 2020-07-14 20:57:37,054 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,054 [19] INFO - --------- 2020-07-14 20:57:37,055 [19] INFO - function SE637303570570499167() {} SE637303570570499167.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570499167().executeScript(); 2020-07-14 20:57:37,055 [19] INFO - --------- 2020-07-14 20:57:37,055 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1661. 2020-07-14 20:57:37,056 [19] INFO - --------- 2020-07-14 20:57:37,056 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,057 [19] INFO - --------- 2020-07-14 20:57:37,057 [19] INFO - function SE637303570570569171() {} SE637303570570569171.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570569171().executeScript(); 2020-07-14 20:57:37,058 [19] INFO - --------- 2020-07-14 20:57:37,060 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,060 [19] INFO - --------- 2020-07-14 20:57:37,060 [19] INFO - function SE637303570570569171() {} SE637303570570569171.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570569171().executeScript(); 2020-07-14 20:57:37,061 [19] INFO - --------- 2020-07-14 20:57:37,061 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1662. 2020-07-14 20:57:37,061 [19] INFO - --------- 2020-07-14 20:57:37,062 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,063 [19] INFO - --------- 2020-07-14 20:57:37,063 [19] INFO - function SE637303570570629175() {} SE637303570570629175.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570629175().executeScript(); 2020-07-14 20:57:37,063 [19] INFO - --------- 2020-07-14 20:57:37,064 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,065 [19] INFO - --------- 2020-07-14 20:57:37,065 [19] INFO - function SE637303570570629175() {} SE637303570570629175.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570629175().executeScript(); 2020-07-14 20:57:37,065 [19] INFO - --------- 2020-07-14 20:57:37,066 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1663. 2020-07-14 20:57:37,066 [19] INFO - --------- 2020-07-14 20:57:37,067 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,067 [19] INFO - --------- 2020-07-14 20:57:37,068 [19] INFO - function SE637303570570339158() {} SE637303570570339158.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570339158().executeScript(); 2020-07-14 20:57:37,068 [19] INFO - --------- 2020-07-14 20:57:37,068 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1664. 2020-07-14 20:57:37,069 [19] INFO - --------- 2020-07-14 20:57:37,096 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,096 [19] INFO - --------- 2020-07-14 20:57:37,096 [19] INFO - function SE637303570570969194() {} SE637303570570969194.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570969194().executeScript(); 2020-07-14 20:57:37,098 [19] INFO - --------- 2020-07-14 20:57:37,116 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,116 [19] INFO - --------- 2020-07-14 20:57:37,116 [19] INFO - function SE637303570571159205() {} SE637303570571159205.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571159205().executeScript(); 2020-07-14 20:57:37,117 [19] INFO - --------- 2020-07-14 20:57:37,125 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,125 [19] INFO - --------- 2020-07-14 20:57:37,126 [19] INFO - function SE637303570571159205() {} SE637303570571159205.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571159205().executeScript(); 2020-07-14 20:57:37,126 [19] INFO - --------- 2020-07-14 20:57:37,127 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1665. 2020-07-14 20:57:37,127 [19] INFO - --------- 2020-07-14 20:57:37,130 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,130 [19] INFO - --------- 2020-07-14 20:57:37,130 [19] INFO - function SE637303570570969194() {} SE637303570570969194.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570570969194().executeScript(); 2020-07-14 20:57:37,131 [19] INFO - --------- 2020-07-14 20:57:37,132 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1666. 2020-07-14 20:57:37,132 [19] INFO - --------- 2020-07-14 20:57:37,143 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,143 [19] INFO - --------- 2020-07-14 20:57:37,143 [19] INFO - function SE637303570571439221() {} SE637303570571439221.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571439221().executeScript(); 2020-07-14 20:57:37,144 [19] INFO - --------- 2020-07-14 20:57:37,162 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,162 [19] INFO - --------- 2020-07-14 20:57:37,163 [19] INFO - function SE637303570571629232() {} SE637303570571629232.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571629232().executeScript(); 2020-07-14 20:57:37,163 [19] INFO - --------- 2020-07-14 20:57:37,172 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,172 [19] INFO - --------- 2020-07-14 20:57:37,174 [19] INFO - function SE637303570571629232() {} SE637303570571629232.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571629232().executeScript(); 2020-07-14 20:57:37,175 [19] INFO - --------- 2020-07-14 20:57:37,176 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1667. 2020-07-14 20:57:37,176 [19] INFO - --------- 2020-07-14 20:57:37,179 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,179 [19] INFO - --------- 2020-07-14 20:57:37,179 [19] INFO - function SE637303570571439221() {} SE637303570571439221.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571439221().executeScript(); 2020-07-14 20:57:37,180 [19] INFO - --------- 2020-07-14 20:57:37,181 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1668. 2020-07-14 20:57:37,181 [19] INFO - --------- 2020-07-14 20:57:37,192 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,192 [19] INFO - --------- 2020-07-14 20:57:37,192 [19] INFO - function SE637303570571929249() {} SE637303570571929249.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571929249().executeScript(); 2020-07-14 20:57:37,194 [19] INFO - --------- 2020-07-14 20:57:37,212 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,213 [19] INFO - --------- 2020-07-14 20:57:37,213 [19] INFO - function SE637303570572129261() {} SE637303570572129261.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572129261().executeScript(); 2020-07-14 20:57:37,214 [19] INFO - --------- 2020-07-14 20:57:37,222 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,222 [19] INFO - --------- 2020-07-14 20:57:37,222 [19] INFO - function SE637303570572129261() {} SE637303570572129261.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572129261().executeScript(); 2020-07-14 20:57:37,223 [19] INFO - --------- 2020-07-14 20:57:37,223 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1669. 2020-07-14 20:57:37,224 [19] INFO - --------- 2020-07-14 20:57:37,227 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,227 [19] INFO - --------- 2020-07-14 20:57:37,227 [19] INFO - function SE637303570571929249() {} SE637303570571929249.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570571929249().executeScript(); 2020-07-14 20:57:37,228 [19] INFO - --------- 2020-07-14 20:57:37,229 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1670. 2020-07-14 20:57:37,229 [19] INFO - --------- 2020-07-14 20:57:37,255 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,255 [19] INFO - --------- 2020-07-14 20:57:37,255 [19] INFO - function SE637303570572559285() {} SE637303570572559285.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572559285().executeScript(); 2020-07-14 20:57:37,256 [19] INFO - --------- 2020-07-14 20:57:37,257 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,257 [19] INFO - --------- 2020-07-14 20:57:37,258 [19] INFO - function SE637303570572579286() {} SE637303570572579286.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572579286().executeScript(); 2020-07-14 20:57:37,258 [19] INFO - --------- 2020-07-14 20:57:37,268 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,269 [19] INFO - --------- 2020-07-14 20:57:37,269 [19] INFO - function SE637303570572579286() {} SE637303570572579286.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572579286().executeScript(); 2020-07-14 20:57:37,269 [19] INFO - --------- 2020-07-14 20:57:37,270 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1671. 2020-07-14 20:57:37,270 [19] INFO - --------- 2020-07-14 20:57:37,271 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,271 [19] INFO - --------- 2020-07-14 20:57:37,272 [19] INFO - function SE637303570572719294() {} SE637303570572719294.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572719294().executeScript(); 2020-07-14 20:57:37,272 [19] INFO - --------- 2020-07-14 20:57:37,276 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,276 [19] INFO - --------- 2020-07-14 20:57:37,276 [19] INFO - function SE637303570572719294() {} SE637303570572719294.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572719294().executeScript(); 2020-07-14 20:57:37,277 [19] INFO - --------- 2020-07-14 20:57:37,277 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1672. 2020-07-14 20:57:37,277 [19] INFO - --------- 2020-07-14 20:57:37,278 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,278 [19] INFO - --------- 2020-07-14 20:57:37,279 [19] INFO - function SE637303570572789298() {} SE637303570572789298.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572789298().executeScript(); 2020-07-14 20:57:37,279 [19] INFO - --------- 2020-07-14 20:57:37,281 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,282 [19] INFO - --------- 2020-07-14 20:57:37,282 [19] INFO - function SE637303570572789298() {} SE637303570572789298.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572789298().executeScript(); 2020-07-14 20:57:37,282 [19] INFO - --------- 2020-07-14 20:57:37,283 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1673. 2020-07-14 20:57:37,283 [19] INFO - --------- 2020-07-14 20:57:37,284 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,284 [19] INFO - --------- 2020-07-14 20:57:37,284 [19] INFO - function SE637303570572849302() {} SE637303570572849302.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572849302().executeScript(); 2020-07-14 20:57:37,285 [19] INFO - --------- 2020-07-14 20:57:37,286 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,286 [19] INFO - --------- 2020-07-14 20:57:37,286 [19] INFO - function SE637303570572849302() {} SE637303570572849302.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572849302().executeScript(); 2020-07-14 20:57:37,287 [19] INFO - --------- 2020-07-14 20:57:37,287 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1674. 2020-07-14 20:57:37,287 [19] INFO - --------- 2020-07-14 20:57:37,288 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,289 [19] INFO - --------- 2020-07-14 20:57:37,289 [19] INFO - function SE637303570572559285() {} SE637303570572559285.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570572559285().executeScript(); 2020-07-14 20:57:37,289 [19] INFO - --------- 2020-07-14 20:57:37,290 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1675. 2020-07-14 20:57:37,290 [19] INFO - --------- 2020-07-14 20:57:37,317 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,317 [19] INFO - --------- 2020-07-14 20:57:37,318 [19] INFO - function SE637303570573179321() {} SE637303570573179321.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573179321().executeScript(); 2020-07-14 20:57:37,319 [19] INFO - --------- 2020-07-14 20:57:37,337 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,337 [19] INFO - --------- 2020-07-14 20:57:37,337 [19] INFO - function SE637303570573379332() {} SE637303570573379332.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573379332().executeScript(); 2020-07-14 20:57:37,338 [19] INFO - --------- 2020-07-14 20:57:37,348 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,349 [19] INFO - --------- 2020-07-14 20:57:37,349 [19] INFO - function SE637303570573379332() {} SE637303570573379332.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573379332().executeScript(); 2020-07-14 20:57:37,350 [19] INFO - --------- 2020-07-14 20:57:37,350 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1676. 2020-07-14 20:57:37,350 [19] INFO - --------- 2020-07-14 20:57:37,353 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,353 [19] INFO - --------- 2020-07-14 20:57:37,353 [19] INFO - function SE637303570573179321() {} SE637303570573179321.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573179321().executeScript(); 2020-07-14 20:57:37,355 [19] INFO - --------- 2020-07-14 20:57:37,355 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1677. 2020-07-14 20:57:37,355 [19] INFO - --------- 2020-07-14 20:57:37,366 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,366 [19] INFO - --------- 2020-07-14 20:57:37,366 [19] INFO - function SE637303570573669349() {} SE637303570573669349.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573669349().executeScript(); 2020-07-14 20:57:37,368 [19] INFO - --------- 2020-07-14 20:57:37,385 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,385 [19] INFO - --------- 2020-07-14 20:57:37,385 [19] INFO - function SE637303570573859360() {} SE637303570573859360.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573859360().executeScript(); 2020-07-14 20:57:37,386 [19] INFO - --------- 2020-07-14 20:57:37,394 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,394 [19] INFO - --------- 2020-07-14 20:57:37,394 [19] INFO - function SE637303570573859360() {} SE637303570573859360.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573859360().executeScript(); 2020-07-14 20:57:37,395 [19] INFO - --------- 2020-07-14 20:57:37,395 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1678. 2020-07-14 20:57:37,396 [19] INFO - --------- 2020-07-14 20:57:37,398 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,398 [19] INFO - --------- 2020-07-14 20:57:37,399 [19] INFO - function SE637303570573669349() {} SE637303570573669349.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570573669349().executeScript(); 2020-07-14 20:57:37,400 [19] INFO - --------- 2020-07-14 20:57:37,401 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1679. 2020-07-14 20:57:37,401 [19] INFO - --------- 2020-07-14 20:57:37,402 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,403 [19] INFO - --------- 2020-07-14 20:57:37,403 [19] INFO - function SE637303570574029369() {} SE637303570574029369.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574029369().executeScript(); 2020-07-14 20:57:37,404 [19] INFO - --------- 2020-07-14 20:57:37,419 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,420 [19] INFO - --------- 2020-07-14 20:57:37,420 [19] INFO - function SE637303570574199379() {} SE637303570574199379.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574199379().executeScript(); 2020-07-14 20:57:37,420 [19] INFO - --------- 2020-07-14 20:57:37,428 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,428 [19] INFO - --------- 2020-07-14 20:57:37,429 [19] INFO - function SE637303570574199379() {} SE637303570574199379.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574199379().executeScript(); 2020-07-14 20:57:37,429 [19] INFO - --------- 2020-07-14 20:57:37,430 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1680. 2020-07-14 20:57:37,430 [19] INFO - --------- 2020-07-14 20:57:37,432 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,433 [19] INFO - --------- 2020-07-14 20:57:37,433 [19] INFO - function SE637303570574029369() {} SE637303570574029369.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

-Tags from description as

is not valid inside SPAN description = description.toString().replace(/

/g,""); description = description.toString().replace(/<\/p>/g,"
"); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

\r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

\r\n\t\t
\r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574029369().executeScript(); 2020-07-14 20:57:37,434 [19] INFO - --------- 2020-07-14 20:57:37,434 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1681. 2020-07-14 20:57:37,435 [19] INFO - --------- 2020-07-14 20:57:37,460 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,461 [19] INFO - --------- 2020-07-14 20:57:37,461 [19] INFO - function SE637303570574609402() {} SE637303570574609402.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574609402().executeScript(); 2020-07-14 20:57:37,461 [19] INFO - --------- 2020-07-14 20:57:37,463 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,463 [19] INFO - --------- 2020-07-14 20:57:37,463 [19] INFO - function SE637303570574639404() {} SE637303570574639404.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574639404().executeScript(); 2020-07-14 20:57:37,464 [19] INFO - --------- 2020-07-14 20:57:37,474 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,474 [19] INFO - --------- 2020-07-14 20:57:37,474 [19] INFO - function SE637303570574639404() {} SE637303570574639404.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574639404().executeScript(); 2020-07-14 20:57:37,475 [19] INFO - --------- 2020-07-14 20:57:37,475 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1682. 2020-07-14 20:57:37,476 [19] INFO - --------- 2020-07-14 20:57:37,477 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,477 [19] INFO - --------- 2020-07-14 20:57:37,477 [19] INFO - function SE637303570574779412() {} SE637303570574779412.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574779412().executeScript(); 2020-07-14 20:57:37,478 [19] INFO - --------- 2020-07-14 20:57:37,480 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,480 [19] INFO - --------- 2020-07-14 20:57:37,480 [19] INFO - function SE637303570574779412() {} SE637303570574779412.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574779412().executeScript(); 2020-07-14 20:57:37,481 [19] INFO - --------- 2020-07-14 20:57:37,481 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1683. 2020-07-14 20:57:37,481 [19] INFO - --------- 2020-07-14 20:57:37,482 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,482 [19] INFO - --------- 2020-07-14 20:57:37,483 [19] INFO - function SE637303570574829415() {} SE637303570574829415.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574829415().executeScript(); 2020-07-14 20:57:37,483 [19] INFO - --------- 2020-07-14 20:57:37,485 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,486 [19] INFO - --------- 2020-07-14 20:57:37,486 [19] INFO - function SE637303570574829415() {} SE637303570574829415.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574829415().executeScript(); 2020-07-14 20:57:37,487 [19] INFO - --------- 2020-07-14 20:57:37,487 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1684. 2020-07-14 20:57:37,487 [19] INFO - --------- 2020-07-14 20:57:37,488 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,488 [19] INFO - --------- 2020-07-14 20:57:37,489 [19] INFO - function SE637303570574889419() {} SE637303570574889419.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574889419().executeScript(); 2020-07-14 20:57:37,489 [19] INFO - --------- 2020-07-14 20:57:37,490 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,490 [19] INFO - --------- 2020-07-14 20:57:37,491 [19] INFO - function SE637303570574889419() {} SE637303570574889419.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574889419().executeScript(); 2020-07-14 20:57:37,491 [19] INFO - --------- 2020-07-14 20:57:37,491 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1685. 2020-07-14 20:57:37,492 [19] INFO - --------- 2020-07-14 20:57:37,493 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,493 [19] INFO - --------- 2020-07-14 20:57:37,493 [19] INFO - function SE637303570574609402() {} SE637303570574609402.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
"); context.write( article.value('Text') ); context.write("
\r\n\t\t
\r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570574609402().executeScript(); 2020-07-14 20:57:37,494 [19] INFO - --------- 2020-07-14 20:57:37,494 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1686. 2020-07-14 20:57:37,494 [19] INFO - --------- 2020-07-14 20:57:37,525 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,525 [19] INFO - --------- 2020-07-14 20:57:37,526 [19] INFO - function SE637303570575259440() {} SE637303570575259440.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

\r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575259440().executeScript(); 2020-07-14 20:57:37,526 [19] INFO - --------- 2020-07-14 20:57:37,529 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,529 [19] INFO - --------- 2020-07-14 20:57:37,529 [19] INFO - function SE637303570575289441() {} SE637303570575289441.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575289441().executeScript(); 2020-07-14 20:57:37,530 [19] INFO - --------- 2020-07-14 20:57:37,540 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,541 [19] INFO - --------- 2020-07-14 20:57:37,541 [19] INFO - function SE637303570575289441() {} SE637303570575289441.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575289441().executeScript(); 2020-07-14 20:57:37,542 [19] INFO - --------- 2020-07-14 20:57:37,542 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1687. 2020-07-14 20:57:37,542 [19] INFO - --------- 2020-07-14 20:57:37,543 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,543 [19] INFO - --------- 2020-07-14 20:57:37,544 [19] INFO - function SE637303570575439450() {} SE637303570575439450.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575439450().executeScript(); 2020-07-14 20:57:37,544 [19] INFO - --------- 2020-07-14 20:57:37,549 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,549 [19] INFO - --------- 2020-07-14 20:57:37,550 [19] INFO - function SE637303570575439450() {} SE637303570575439450.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575439450().executeScript(); 2020-07-14 20:57:37,550 [19] INFO - --------- 2020-07-14 20:57:37,550 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1688. 2020-07-14 20:57:37,551 [19] INFO - --------- 2020-07-14 20:57:37,552 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,552 [19] INFO - --------- 2020-07-14 20:57:37,553 [19] INFO - function SE637303570575259440() {} SE637303570575259440.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

\r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575259440().executeScript(); 2020-07-14 20:57:37,553 [19] INFO - --------- 2020-07-14 20:57:37,554 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1689. 2020-07-14 20:57:37,554 [19] INFO - --------- 2020-07-14 20:57:37,565 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,565 [19] INFO - --------- 2020-07-14 20:57:37,566 [19] INFO - function SE637303570575659463() {} SE637303570575659463.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

\r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575659463().executeScript(); 2020-07-14 20:57:37,566 [19] INFO - --------- 2020-07-14 20:57:37,568 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,569 [19] INFO - --------- 2020-07-14 20:57:37,569 [19] INFO - function SE637303570575689464() {} SE637303570575689464.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575689464().executeScript(); 2020-07-14 20:57:37,570 [19] INFO - --------- 2020-07-14 20:57:37,580 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,580 [19] INFO - --------- 2020-07-14 20:57:37,581 [19] INFO - function SE637303570575689464() {} SE637303570575689464.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575689464().executeScript(); 2020-07-14 20:57:37,581 [19] INFO - --------- 2020-07-14 20:57:37,582 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1690. 2020-07-14 20:57:37,582 [19] INFO - --------- 2020-07-14 20:57:37,583 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,583 [19] INFO - --------- 2020-07-14 20:57:37,583 [19] INFO - function SE637303570575839473() {} SE637303570575839473.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575839473().executeScript(); 2020-07-14 20:57:37,584 [19] INFO - --------- 2020-07-14 20:57:37,586 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,586 [19] INFO - --------- 2020-07-14 20:57:37,586 [19] INFO - function SE637303570575839473() {} SE637303570575839473.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575839473().executeScript(); 2020-07-14 20:57:37,587 [19] INFO - --------- 2020-07-14 20:57:37,587 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1691. 2020-07-14 20:57:37,588 [19] INFO - --------- 2020-07-14 20:57:37,589 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,589 [19] INFO - --------- 2020-07-14 20:57:37,590 [19] INFO - function SE637303570575659463() {} SE637303570575659463.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

\r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570575659463().executeScript(); 2020-07-14 20:57:37,590 [19] INFO - --------- 2020-07-14 20:57:37,591 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1692. 2020-07-14 20:57:37,591 [19] INFO - --------- 2020-07-14 20:57:37,601 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,602 [19] INFO - --------- 2020-07-14 20:57:37,602 [19] INFO - function SE637303570576019483() {} SE637303570576019483.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

\r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576019483().executeScript(); 2020-07-14 20:57:37,603 [19] INFO - --------- 2020-07-14 20:57:37,605 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,605 [19] INFO - --------- 2020-07-14 20:57:37,606 [19] INFO - function SE637303570576059485() {} SE637303570576059485.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576059485().executeScript(); 2020-07-14 20:57:37,606 [19] INFO - --------- 2020-07-14 20:57:37,618 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,619 [19] INFO - --------- 2020-07-14 20:57:37,619 [19] INFO - function SE637303570576059485() {} SE637303570576059485.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
\r\n\t
\r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576059485().executeScript(); 2020-07-14 20:57:37,620 [19] INFO - --------- 2020-07-14 20:57:37,620 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1693. 2020-07-14 20:57:37,620 [19] INFO - --------- 2020-07-14 20:57:37,621 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,621 [19] INFO - --------- 2020-07-14 20:57:37,622 [19] INFO - function SE637303570576219495() {} SE637303570576219495.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576219495().executeScript(); 2020-07-14 20:57:37,622 [19] INFO - --------- 2020-07-14 20:57:37,627 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,628 [19] INFO - --------- 2020-07-14 20:57:37,628 [19] INFO - function SE637303570576219495() {} SE637303570576219495.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576219495().executeScript(); 2020-07-14 20:57:37,629 [19] INFO - --------- 2020-07-14 20:57:37,629 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1694. 2020-07-14 20:57:37,629 [19] INFO - --------- 2020-07-14 20:57:37,630 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,630 [19] INFO - --------- 2020-07-14 20:57:37,631 [19] INFO - function SE637303570576019483() {} SE637303570576019483.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

\r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576019483().executeScript(); 2020-07-14 20:57:37,631 [19] INFO - --------- 2020-07-14 20:57:37,632 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1695. 2020-07-14 20:57:37,632 [19] INFO - --------- 2020-07-14 20:57:37,642 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,643 [19] INFO - --------- 2020-07-14 20:57:37,643 [19] INFO - function SE637303570533147031() {} SE637303570533147031.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. var areaName = context.param(0, "Standard"); var areaNameLc = areaName.toLowerCase(); var maxColumns = context.param(1, "0"); var cssRowClass = context.param(2, ""); var displayNumColumns = context.param(3, "12"); // number of columns to display. We always calculate with 12, but can display less var cssAreaClass = context.param(4, ""); var noBreakoutWithNews = context.param(5, true); var hideIeForArea = context.param(6, false); var canContainer = project.canContainer; var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas); var hasNews = page.hasArea("News") && (page.anyAreaArticles("News") || showEmptyArticleAreas); var hasNonSymlinkContainer = false; var lastContainerIsSymlink = false; if ( maxColumns == "1" ){ if ( cssRowClass == "" || cssRowClass == "noresize" ){ cssRowClass = "noresize"; } else{ cssRowClass += " noresize"; } } var intPreviewData = ''; if ( system.preview ){ // if internal preview, we add some additional data-attributes to the area // for access in JS (non internal scripting) intPreviewData += ' data-showemptyarticleareas="' + showEmptyArticleAreas + '"'; } context.write("\n\n
\n\t"); var containers = page.containers(areaName); var firstC = 0; var lastC = containers.count-1; //system.log("last: " + lastC + " of " + containers.count); if ( lastC > firstC && !containers.item(lastC).hasArticles ){ // last container has no articles and is not rendered, so find last visible one for ( var ilcon = lastC; ilcon > 1; --ilcon ){ var lastContainer = containers.item(ilcon); if ( lastContainer.hasArticles ){ lastC = ilcon; break; } } } for ( var icon = 0; icon < containers.count; ++icon ){ var container = containers.item(icon); // if current container doesn't contain any articles, we skip this loop // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content if ( !container.hasArticles && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ firstC++; continue; } // append container styles to head via css var cid = container.id; var output = ""; var isSection = container.value("issection") == "1"; var isStyled = false; if ( container.value("fontcolor", "") !== "" && container.value("fontcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output = cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + container.value("fontcolor") + ";"; output += "}\n"; } if ( container.value("linkcolor", "") !== "" && container.value("linkcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output += "\n\n" + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles)"; output += ", " + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles):hover{"; output += "color: " + container.value("linkcolor") + ";"; output += "}\n"; } if ( container.value("margin", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("margin-top") ){ output += "margin-top: " + container.value("margin-top") + " !important;"; } if ( container.value("margin-bottom") ){ output += "margin-bottom: " + container.value("margin-bottom") + " !important;" ; } output += "}\n"; } if ( container.value("padding", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("padding-top") ){ output += "padding-top: " + container.value("padding-top") + " !important;"; } if ( container.value("padding-bottom") ){ output += "padding-bottom: " + container.value("padding-bottom") + " !important;"; } if ( container.value("padding-left") ){ output += "padding-left: " + container.value("padding-left") + " !important;"; } if ( container.value("padding-right") ){ output += "padding-right: " + container.value("padding-right") + " !important;"; } output += "}\n"; } if ( container.value("bgcolor", "") !== "" && container.value("bgcolor", "") !== "transparent" ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-color: " + container.value("bgcolor") + " !important;"; output += "}\n"; } var image = container.cssBackgroundImage("bgimage"); if ( image.imageUrl ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-image: url(" + image.imageUrl + ") !important;"; output += "background-repeat: " + image.repeat + " !important;"; output += "background-size: " + image.size + " !important;"; output += "background-position: " + (image.position !== "" ? image.position : "center center") + " !important;"; output += "background-attachment: " + (image.attachment !== "" ? image.attachment : "scroll") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var containerstyle = container.inlineCss || ""; containerstyle = containerstyle.toString().replace(/^\s+|\s+$/gm,''); // trim() // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( containerstyle && containerstyle.slice(-1) !== ";" ){ containerstyle += ";"; } var initialContainerstyle = containerstyle; containerstyle = containerstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( containerstyle ){ containerstyle = ' style="' + containerstyle + '"'; } if ( noBreakoutWithNews && system.preview && container.value("breakout") == "1" && hasNews ){ system.warn("Die 'Randlos-Option' für einen Container kann nicht berücksichtigt werden, weil der 'Einfügen-Schalter' auf an steht oder die Seite auch Artikel im News-Bereich enthält."); } var containerTag = "div"; if ( isSection ){ containerTag = "section"; } var containerIsSymlink = container.symlink ? true : false; if ( !containerIsSymlink ){ hasNonSymlinkContainer = true; } else if ( icon == containers.count-1 ){ lastContainerIsSymlink = true; } context.write("\n\t\t\t<"); context.write( containerTag ); context.write(" id=\"container_"); context.write( container.id ); context.write("\" class=\"zpContainer"); if (icon==firstC){ context.write(" first"); } if (icon==lastC){ context.write(" last"); } if( container.value("animate", "") !== "" && container.value("animate") !== "off" ){ context.write(" zpanimate "); context.write( container.value("animate")); } if( isStyled ){ context.write(" styled"); } context.write(" "); if ( container.value("breakout") == "1" ){ context.write("zpBreakout "); } if( noBreakoutWithNews && hasNews ) { context.write(" hasNews"); } context.write(" "); context.write( container.cssClass ); context.write("\""); context.write( containerstyle ); context.write(" \n\t\t\t\t data-zpeleel=\"container\" data-zpleid=\""); context.write( container.id ); context.write("\">\n\t\t\t"); var paragraphs = container.paragraphs; for ( var ipar = 0; ipar < paragraphs.count; ++ipar ){ var additionalRowClass = ""; var paragraph = paragraphs.item(ipar); var columns = paragraph.columns; // if current paragraph doesn't contain articles, we skip the loop, so we don't print empty paragraphs // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content var articleCount = paragraph.articles.count; if ( articleCount < 1 && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ continue; } else if ( articleCount > 0 ){ // set special rowClass for Articles which are not visible, so we can remove any margins which might not be desired var firstWidgetName = paragraph.articles.item(0).widgetName; switch(firstWidgetName) { case "Info-Banner": additionalRowClass = " alertbanner"; break; case "Quelltext": additionalRowClass = " quelltext"; break; case "Slider": additionalRowClass = " zpwSlider"; break; case "Carousel": additionalRowClass = " zpwCarousel"; break; case "Navigationsmenü": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Navigationsmenü manuell": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Video-Hintergrund": additionalRowClass = " zpvideobg"; break; } // append row styles to head via css var rid = paragraph.id; var output = ""; if ( paragraph.value("margin", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("margin-top") ){ output += "margin-top: " + paragraph.value("margin-top", "initial") + " !important;"; } if ( paragraph.value("margin-bottom") ){ output += "margin-bottom: " + paragraph.value("margin-bottom", "initial") + " !important;" ; } output += "}\n"; } if ( paragraph.value("padding", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("padding-top") ){ output += "padding-top: " + paragraph.value("padding-top") + " !important;"; } if ( paragraph.value("padding-bottom") ){ output += "padding-bottom: " + paragraph.value("padding-bottom") + " !important;"; } if ( paragraph.value("padding-left") ){ output += "padding-left: " + paragraph.value("padding-left") + " !important;"; } if ( paragraph.value("padding-right") ){ output += "padding-right: " + paragraph.value("padding-right") + " !important;"; } output += "}\n"; } if ( paragraph.value("bgcolor", "") !== "" && paragraph.value("bgcolor", "") !== "transparent" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-color: " + paragraph.value("bgcolor") + " !important;"; output += "}\n"; } var pimage = paragraph.cssBackgroundImage("bgimage"); if ( pimage.imageUrl ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-image: url(" + pimage.imageUrl + ") !important;"; output += "background-repeat: " + pimage.repeat + " !important;"; output += "background-size: " + pimage.size + " !important;"; output += "background-position: " + (pimage.position !== "" ? pimage.position : "center center") + " !important;"; output += "background-attachment: " + (pimage.attachment !== "" ? pimage.attachment : "scroll") + ";"; output += "}\n"; } if ( paragraph.value("justifycontent", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "justify-content: " + paragraph.value("justifycontent") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } // paragraph styles var rowstyle = paragraph.inlineCss || ""; rowstyle = rowstyle.toString().replace(/^\s+|\s+$/gm,''); // trim(); // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( rowstyle && rowstyle.slice(-1) !== ";" ){ rowstyle += ";"; } context.write("\n\t\t\n\t\t\t\t\t"); if ( paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t\t\t
\n\t\t\t\t\t"); rowstyle = " width: 100%; margin: 0 auto; float: none;"; } rowstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( rowstyle ){ rowstyle = ' style="' + rowstyle + '"'; } } context.write("\n\t\t\t\t\t
\n\t\t\t\t\t>\n\t\t\n\t\t\t\t\t"); var evenodd = "even"; for ( var icol = 0; icol < columns.count; ++icol ){ var column = columns.item(icol); var articles = column.articles; var coid = column.id; var output = ""; var isStyled = false; var selectorPrefix = "#container_" + cid + " "; if ( column.value("bgcolor", "") !== "" && column.value("bgcolor", "") !== "transparent" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "background-color: " + column.value("bgcolor") + ";"; output += "padding-top: 15px;"; output += "padding-bottom: 15px;"; output += "}\n"; isStyled = true; } if ( column.value("fontcolor", "") !== "" && column.value("fontcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + column.value("fontcolor") + ";"; output += "}\n"; } if ( column.value("linkcolor", "") !== "" && column.value("linkcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += "\n\n" + cssSelector + " a:not(.button)"; output += ", " + cssSelector + " a:not(.button):hover{"; output += "color: " + column.value("linkcolor") + ";"; output += "}\n"; } if ( column.value("align-self", "") !== "" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "align-self: " + column.value("align-self") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var clearCss = column.value("clearLeft") ? "clear: left;" : ""; if ( column.articles.count > 0 ){ var firstWidgetName = articles.item(0).widgetName; } else{ var firstWidgetName = ""; } // used in a className, alternate between even and odd, not taking into account zpSpacer-Columns if( firstWidgetName !== "Spacer" ){ if( evenodd === "even" ){ evenodd = "odd"; } else{ evenodd = "even"; } var additionalColumnClass = " " + evenodd; } else{ var additionalColumnClass = ""; } // if a spacer-widget is alone in a column, we set a class .zpSpacer, so we can set the width of spacer-widgets responsively in zpgrid.less accordingly if ( firstWidgetName == "Spacer" && column.articles.count < 2 ){ additionalColumnClass += " zpSpacer"; } else if ( firstWidgetName == "Navigationsmenü" ){ additionalColumnClass += " zpnavmenu"; } // TODO move adding of missing classes to converter and remove next 4 lines var columnCssClass = column.cssClass; if ( !column.cssClass || !column.cssClass.match(/\bc[1-9][0-2]?\b/) ){ columnCssClass = "c" + String(Math.round(12 / columns.count - 0.1)) ; } if ( column.value("clearLeft") ){ context.write("\n\t\t\t\t\t\t
\n\t\t\t\t\t\t"); } context.write("\n\t\t\t\t\t\t
\n\t\t\t\t\t\t>\n\t\t\t\n\t\t\t\t\t\t\t"); for ( var iart = 0; iart < articles.count; ++iart ){ var a = articles.item(iart); context.write(a.render()); } context.write("\n\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\n\t\t\t\t\t\t"); } // insert zp-ad-box in last row of last container on impressum pages if ( system.isFreeware && areaName.toLowerCase() == "standard" && page.isSpecialPage("legal") && icon == containers.count-1 && ipar == paragraphs.count-1 ){ context.write("\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t"); context.write( system.partial("zpinfolegal.html") ); context.write("\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t"); } context.write("\n\n\t\t\t\t\t
\n\t\t\t\t"); if ( articleCount > 0 && paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t
\n\t\t\t\t"); } context.write("\n\t\t\n\t\t\t\t"); } context.write(""); } context.write("\n\t"); if ( !hideIeForArea ) { context.write("\n\t\t\n\t"); } context.write("\n
\n\n"); // insert overlay on startpage if ( !system.preview && system.isFreeware && areaName.toLowerCase() == "standard" && projectFolder.startPage && projectFolder.startPage.id == page.id ){ context.write("\n\t\t"); context.write( system.partial("zpinfooverlay.html") ); context.write("\n\t\t"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570533147031().executeScript(); 2020-07-14 20:57:37,645 [19] INFO - --------- 2020-07-14 20:57:37,645 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1696. 2020-07-14 20:57:37,646 [19] INFO - --------- 2020-07-14 20:57:37,648 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,648 [19] INFO - --------- 2020-07-14 20:57:37,648 [19] INFO - function SE637303570576489510() {} SE637303570576489510.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=2 ) { return; } context.write("\r\n\r\n\r\n\t"); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n\t\t\t"); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n\t\t\t "); context.write( system.partial("submenu1.html", p.id, 2) ); context.write("\r\n\t\t\t"); } context.write("\r\n\r\n\t"); } } context.write("\r\n\r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576489510().executeScript(); 2020-07-14 20:57:37,649 [19] INFO - --------- 2020-07-14 20:57:37,661 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,662 [19] INFO - --------- 2020-07-14 20:57:37,662 [19] INFO - function SE637303570576619517() {} SE637303570576619517.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
\r\n\t
    \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu1-aktiv.html", p.id, 2) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu1.html", p.id, 2) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t
\r\n
\r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576619517().executeScript(); 2020-07-14 20:57:37,662 [19] INFO - --------- 2020-07-14 20:57:37,666 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,667 [19] INFO - --------- 2020-07-14 20:57:37,667 [19] INFO - function SE637303570576669520() {} SE637303570576669520.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("\r\n"); context.write( system.partial("submenu2.html", p.id) ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576669520().executeScript(); 2020-07-14 20:57:37,667 [19] INFO - --------- 2020-07-14 20:57:37,670 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,670 [19] INFO - --------- 2020-07-14 20:57:37,670 [19] INFO - function SE637303570576709523() {} SE637303570576709523.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } //if ( !isNull(p) && p.level!=3 ) { return; } context.write("\r\n\t\t
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu2-aktiv.html", p.id, 3) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu2.html", p.id, 3) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t\t
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576709523().executeScript(); 2020-07-14 20:57:37,671 [19] INFO - --------- 2020-07-14 20:57:37,672 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,672 [19] INFO - --------- 2020-07-14 20:57:37,673 [19] INFO - function SE637303570576709523() {} SE637303570576709523.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } //if ( !isNull(p) && p.level!=3 ) { return; } context.write("\r\n\t\t
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu2-aktiv.html", p.id, 3) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu2.html", p.id, 3) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t\t
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576709523().executeScript(); 2020-07-14 20:57:37,673 [19] INFO - --------- 2020-07-14 20:57:37,673 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1697. 2020-07-14 20:57:37,674 [19] INFO - --------- 2020-07-14 20:57:37,674 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,675 [19] INFO - --------- 2020-07-14 20:57:37,675 [19] INFO - function SE637303570576669520() {} SE637303570576669520.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("\r\n"); context.write( system.partial("submenu2.html", p.id) ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576669520().executeScript(); 2020-07-14 20:57:37,676 [19] INFO - --------- 2020-07-14 20:57:37,676 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1698. 2020-07-14 20:57:37,677 [19] INFO - --------- 2020-07-14 20:57:37,679 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,679 [19] INFO - --------- 2020-07-14 20:57:37,679 [19] INFO - function SE637303570576799528() {} SE637303570576799528.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576799528().executeScript(); 2020-07-14 20:57:37,680 [19] INFO - --------- 2020-07-14 20:57:37,681 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,682 [19] INFO - --------- 2020-07-14 20:57:37,682 [19] INFO - function SE637303570576799528() {} SE637303570576799528.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576799528().executeScript(); 2020-07-14 20:57:37,682 [19] INFO - --------- 2020-07-14 20:57:37,683 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1699. 2020-07-14 20:57:37,683 [19] INFO - --------- 2020-07-14 20:57:37,685 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,685 [19] INFO - --------- 2020-07-14 20:57:37,685 [19] INFO - function SE637303570576859531() {} SE637303570576859531.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576859531().executeScript(); 2020-07-14 20:57:37,686 [19] INFO - --------- 2020-07-14 20:57:37,691 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,691 [19] INFO - --------- 2020-07-14 20:57:37,692 [19] INFO - function SE637303570576859531() {} SE637303570576859531.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576859531().executeScript(); 2020-07-14 20:57:37,692 [19] INFO - --------- 2020-07-14 20:57:37,692 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1700. 2020-07-14 20:57:37,693 [19] INFO - --------- 2020-07-14 20:57:37,694 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,695 [19] INFO - --------- 2020-07-14 20:57:37,695 [19] INFO - function SE637303570576949536() {} SE637303570576949536.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576949536().executeScript(); 2020-07-14 20:57:37,695 [19] INFO - --------- 2020-07-14 20:57:37,697 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,697 [19] INFO - --------- 2020-07-14 20:57:37,698 [19] INFO - function SE637303570576949536() {} SE637303570576949536.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576949536().executeScript(); 2020-07-14 20:57:37,698 [19] INFO - --------- 2020-07-14 20:57:37,698 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1701. 2020-07-14 20:57:37,699 [19] INFO - --------- 2020-07-14 20:57:37,701 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,702 [19] INFO - --------- 2020-07-14 20:57:37,702 [19] INFO - function SE637303570577019540() {} SE637303570577019540.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577019540().executeScript(); 2020-07-14 20:57:37,702 [19] INFO - --------- 2020-07-14 20:57:37,706 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,706 [19] INFO - --------- 2020-07-14 20:57:37,707 [19] INFO - function SE637303570577019540() {} SE637303570577019540.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577019540().executeScript(); 2020-07-14 20:57:37,707 [19] INFO - --------- 2020-07-14 20:57:37,707 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1702. 2020-07-14 20:57:37,708 [19] INFO - --------- 2020-07-14 20:57:37,710 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,710 [19] INFO - --------- 2020-07-14 20:57:37,710 [19] INFO - function SE637303570577099545() {} SE637303570577099545.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577099545().executeScript(); 2020-07-14 20:57:37,710 [19] INFO - --------- 2020-07-14 20:57:37,716 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,716 [19] INFO - --------- 2020-07-14 20:57:37,717 [19] INFO - function SE637303570577099545() {} SE637303570577099545.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577099545().executeScript(); 2020-07-14 20:57:37,717 [19] INFO - --------- 2020-07-14 20:57:37,717 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1703. 2020-07-14 20:57:37,717 [19] INFO - --------- 2020-07-14 20:57:37,719 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,720 [19] INFO - --------- 2020-07-14 20:57:37,720 [19] INFO - function SE637303570577199551() {} SE637303570577199551.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577199551().executeScript(); 2020-07-14 20:57:37,720 [19] INFO - --------- 2020-07-14 20:57:37,724 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,724 [19] INFO - --------- 2020-07-14 20:57:37,725 [19] INFO - function SE637303570577199551() {} SE637303570577199551.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577199551().executeScript(); 2020-07-14 20:57:37,725 [19] INFO - --------- 2020-07-14 20:57:37,726 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1704. 2020-07-14 20:57:37,726 [19] INFO - --------- 2020-07-14 20:57:37,728 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,729 [19] INFO - --------- 2020-07-14 20:57:37,729 [19] INFO - function SE637303570577289556() {} SE637303570577289556.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577289556().executeScript(); 2020-07-14 20:57:37,729 [19] INFO - --------- 2020-07-14 20:57:37,731 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,731 [19] INFO - --------- 2020-07-14 20:57:37,732 [19] INFO - function SE637303570577289556() {} SE637303570577289556.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577289556().executeScript(); 2020-07-14 20:57:37,732 [19] INFO - --------- 2020-07-14 20:57:37,732 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1705. 2020-07-14 20:57:37,733 [19] INFO - --------- 2020-07-14 20:57:37,735 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,736 [19] INFO - --------- 2020-07-14 20:57:37,736 [19] INFO - function SE637303570577359560() {} SE637303570577359560.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577359560().executeScript(); 2020-07-14 20:57:37,736 [19] INFO - --------- 2020-07-14 20:57:37,739 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,739 [19] INFO - --------- 2020-07-14 20:57:37,740 [19] INFO - function SE637303570577359560() {} SE637303570577359560.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577359560().executeScript(); 2020-07-14 20:57:37,740 [19] INFO - --------- 2020-07-14 20:57:37,740 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1706. 2020-07-14 20:57:37,741 [19] INFO - --------- 2020-07-14 20:57:37,741 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,742 [19] INFO - --------- 2020-07-14 20:57:37,742 [19] INFO - function SE637303570576619517() {} SE637303570576619517.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
    \r\n\t
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu1-aktiv.html", p.id, 2) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu1.html", p.id, 2) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t
    \r\n
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576619517().executeScript(); 2020-07-14 20:57:37,743 [19] INFO - --------- 2020-07-14 20:57:37,743 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1707. 2020-07-14 20:57:37,743 [19] INFO - --------- 2020-07-14 20:57:37,749 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,749 [19] INFO - --------- 2020-07-14 20:57:37,749 [19] INFO - function SE637303570576489510() {} SE637303570576489510.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=2 ) { return; } context.write("\r\n\r\n\r\n\t"); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n\t\t\t"); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n\t\t\t "); context.write( system.partial("submenu1.html", p.id, 2) ); context.write("\r\n\t\t\t"); } context.write("\r\n\r\n\t"); } } context.write("\r\n\r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570576489510().executeScript(); 2020-07-14 20:57:37,750 [19] INFO - --------- 2020-07-14 20:57:37,750 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1708. 2020-07-14 20:57:37,750 [19] INFO - --------- 2020-07-14 20:57:37,754 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,754 [19] INFO - --------- 2020-07-14 20:57:37,754 [19] INFO - function SE637303570577549571() {} SE637303570577549571.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. var areaName = context.param(0, "Standard"); var areaNameLc = areaName.toLowerCase(); var maxColumns = context.param(1, "0"); var cssRowClass = context.param(2, ""); var displayNumColumns = context.param(3, "12"); // number of columns to display. We always calculate with 12, but can display less var cssAreaClass = context.param(4, ""); var noBreakoutWithNews = context.param(5, true); var hideIeForArea = context.param(6, false); var canContainer = project.canContainer; var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas); var hasNews = page.hasArea("News") && (page.anyAreaArticles("News") || showEmptyArticleAreas); var hasNonSymlinkContainer = false; var lastContainerIsSymlink = false; if ( maxColumns == "1" ){ if ( cssRowClass == "" || cssRowClass == "noresize" ){ cssRowClass = "noresize"; } else{ cssRowClass += " noresize"; } } var intPreviewData = ''; if ( system.preview ){ // if internal preview, we add some additional data-attributes to the area // for access in JS (non internal scripting) intPreviewData += ' data-showemptyarticleareas="' + showEmptyArticleAreas + '"'; } context.write("\n\n
    \n\t"); var containers = page.containers(areaName); var firstC = 0; var lastC = containers.count-1; //system.log("last: " + lastC + " of " + containers.count); if ( lastC > firstC && !containers.item(lastC).hasArticles ){ // last container has no articles and is not rendered, so find last visible one for ( var ilcon = lastC; ilcon > 1; --ilcon ){ var lastContainer = containers.item(ilcon); if ( lastContainer.hasArticles ){ lastC = ilcon; break; } } } for ( var icon = 0; icon < containers.count; ++icon ){ var container = containers.item(icon); // if current container doesn't contain any articles, we skip this loop // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content if ( !container.hasArticles && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ firstC++; continue; } // append container styles to head via css var cid = container.id; var output = ""; var isSection = container.value("issection") == "1"; var isStyled = false; if ( container.value("fontcolor", "") !== "" && container.value("fontcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output = cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + container.value("fontcolor") + ";"; output += "}\n"; } if ( container.value("linkcolor", "") !== "" && container.value("linkcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output += "\n\n" + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles)"; output += ", " + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles):hover{"; output += "color: " + container.value("linkcolor") + ";"; output += "}\n"; } if ( container.value("margin", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("margin-top") ){ output += "margin-top: " + container.value("margin-top") + " !important;"; } if ( container.value("margin-bottom") ){ output += "margin-bottom: " + container.value("margin-bottom") + " !important;" ; } output += "}\n"; } if ( container.value("padding", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("padding-top") ){ output += "padding-top: " + container.value("padding-top") + " !important;"; } if ( container.value("padding-bottom") ){ output += "padding-bottom: " + container.value("padding-bottom") + " !important;"; } if ( container.value("padding-left") ){ output += "padding-left: " + container.value("padding-left") + " !important;"; } if ( container.value("padding-right") ){ output += "padding-right: " + container.value("padding-right") + " !important;"; } output += "}\n"; } if ( container.value("bgcolor", "") !== "" && container.value("bgcolor", "") !== "transparent" ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-color: " + container.value("bgcolor") + " !important;"; output += "}\n"; } var image = container.cssBackgroundImage("bgimage"); if ( image.imageUrl ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-image: url(" + image.imageUrl + ") !important;"; output += "background-repeat: " + image.repeat + " !important;"; output += "background-size: " + image.size + " !important;"; output += "background-position: " + (image.position !== "" ? image.position : "center center") + " !important;"; output += "background-attachment: " + (image.attachment !== "" ? image.attachment : "scroll") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var containerstyle = container.inlineCss || ""; containerstyle = containerstyle.toString().replace(/^\s+|\s+$/gm,''); // trim() // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( containerstyle && containerstyle.slice(-1) !== ";" ){ containerstyle += ";"; } var initialContainerstyle = containerstyle; containerstyle = containerstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( containerstyle ){ containerstyle = ' style="' + containerstyle + '"'; } if ( noBreakoutWithNews && system.preview && container.value("breakout") == "1" && hasNews ){ system.warn("Die 'Randlos-Option' für einen Container kann nicht berücksichtigt werden, weil der 'Einfügen-Schalter' auf an steht oder die Seite auch Artikel im News-Bereich enthält."); } var containerTag = "div"; if ( isSection ){ containerTag = "section"; } var containerIsSymlink = container.symlink ? true : false; if ( !containerIsSymlink ){ hasNonSymlinkContainer = true; } else if ( icon == containers.count-1 ){ lastContainerIsSymlink = true; } context.write("\n\t\t\t<"); context.write( containerTag ); context.write(" id=\"container_"); context.write( container.id ); context.write("\" class=\"zpContainer"); if (icon==firstC){ context.write(" first"); } if (icon==lastC){ context.write(" last"); } if( container.value("animate", "") !== "" && container.value("animate") !== "off" ){ context.write(" zpanimate "); context.write( container.value("animate")); } if( isStyled ){ context.write(" styled"); } context.write(" "); if ( container.value("breakout") == "1" ){ context.write("zpBreakout "); } if( noBreakoutWithNews && hasNews ) { context.write(" hasNews"); } context.write(" "); context.write( container.cssClass ); context.write("\""); context.write( containerstyle ); context.write(" \n\t\t\t\t data-zpeleel=\"container\" data-zpleid=\""); context.write( container.id ); context.write("\">\n\t\t\t"); var paragraphs = container.paragraphs; for ( var ipar = 0; ipar < paragraphs.count; ++ipar ){ var additionalRowClass = ""; var paragraph = paragraphs.item(ipar); var columns = paragraph.columns; // if current paragraph doesn't contain articles, we skip the loop, so we don't print empty paragraphs // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content var articleCount = paragraph.articles.count; if ( articleCount < 1 && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ continue; } else if ( articleCount > 0 ){ // set special rowClass for Articles which are not visible, so we can remove any margins which might not be desired var firstWidgetName = paragraph.articles.item(0).widgetName; switch(firstWidgetName) { case "Info-Banner": additionalRowClass = " alertbanner"; break; case "Quelltext": additionalRowClass = " quelltext"; break; case "Slider": additionalRowClass = " zpwSlider"; break; case "Carousel": additionalRowClass = " zpwCarousel"; break; case "Navigationsmenü": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Navigationsmenü manuell": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Video-Hintergrund": additionalRowClass = " zpvideobg"; break; } // append row styles to head via css var rid = paragraph.id; var output = ""; if ( paragraph.value("margin", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("margin-top") ){ output += "margin-top: " + paragraph.value("margin-top", "initial") + " !important;"; } if ( paragraph.value("margin-bottom") ){ output += "margin-bottom: " + paragraph.value("margin-bottom", "initial") + " !important;" ; } output += "}\n"; } if ( paragraph.value("padding", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("padding-top") ){ output += "padding-top: " + paragraph.value("padding-top") + " !important;"; } if ( paragraph.value("padding-bottom") ){ output += "padding-bottom: " + paragraph.value("padding-bottom") + " !important;"; } if ( paragraph.value("padding-left") ){ output += "padding-left: " + paragraph.value("padding-left") + " !important;"; } if ( paragraph.value("padding-right") ){ output += "padding-right: " + paragraph.value("padding-right") + " !important;"; } output += "}\n"; } if ( paragraph.value("bgcolor", "") !== "" && paragraph.value("bgcolor", "") !== "transparent" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-color: " + paragraph.value("bgcolor") + " !important;"; output += "}\n"; } var pimage = paragraph.cssBackgroundImage("bgimage"); if ( pimage.imageUrl ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-image: url(" + pimage.imageUrl + ") !important;"; output += "background-repeat: " + pimage.repeat + " !important;"; output += "background-size: " + pimage.size + " !important;"; output += "background-position: " + (pimage.position !== "" ? pimage.position : "center center") + " !important;"; output += "background-attachment: " + (pimage.attachment !== "" ? pimage.attachment : "scroll") + ";"; output += "}\n"; } if ( paragraph.value("justifycontent", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "justify-content: " + paragraph.value("justifycontent") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } // paragraph styles var rowstyle = paragraph.inlineCss || ""; rowstyle = rowstyle.toString().replace(/^\s+|\s+$/gm,''); // trim(); // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( rowstyle && rowstyle.slice(-1) !== ";" ){ rowstyle += ";"; } context.write("\n\t\t\n\t\t\t\t\t"); if ( paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t"); rowstyle = " width: 100%; margin: 0 auto; float: none;"; } rowstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( rowstyle ){ rowstyle = ' style="' + rowstyle + '"'; } } context.write("\n\t\t\t\t\t
    \n\t\t\t\t\t>\n\t\t\n\t\t\t\t\t"); var evenodd = "even"; for ( var icol = 0; icol < columns.count; ++icol ){ var column = columns.item(icol); var articles = column.articles; var coid = column.id; var output = ""; var isStyled = false; var selectorPrefix = "#container_" + cid + " "; if ( column.value("bgcolor", "") !== "" && column.value("bgcolor", "") !== "transparent" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "background-color: " + column.value("bgcolor") + ";"; output += "padding-top: 15px;"; output += "padding-bottom: 15px;"; output += "}\n"; isStyled = true; } if ( column.value("fontcolor", "") !== "" && column.value("fontcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + column.value("fontcolor") + ";"; output += "}\n"; } if ( column.value("linkcolor", "") !== "" && column.value("linkcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += "\n\n" + cssSelector + " a:not(.button)"; output += ", " + cssSelector + " a:not(.button):hover{"; output += "color: " + column.value("linkcolor") + ";"; output += "}\n"; } if ( column.value("align-self", "") !== "" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "align-self: " + column.value("align-self") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var clearCss = column.value("clearLeft") ? "clear: left;" : ""; if ( column.articles.count > 0 ){ var firstWidgetName = articles.item(0).widgetName; } else{ var firstWidgetName = ""; } // used in a className, alternate between even and odd, not taking into account zpSpacer-Columns if( firstWidgetName !== "Spacer" ){ if( evenodd === "even" ){ evenodd = "odd"; } else{ evenodd = "even"; } var additionalColumnClass = " " + evenodd; } else{ var additionalColumnClass = ""; } // if a spacer-widget is alone in a column, we set a class .zpSpacer, so we can set the width of spacer-widgets responsively in zpgrid.less accordingly if ( firstWidgetName == "Spacer" && column.articles.count < 2 ){ additionalColumnClass += " zpSpacer"; } else if ( firstWidgetName == "Navigationsmenü" ){ additionalColumnClass += " zpnavmenu"; } // TODO move adding of missing classes to converter and remove next 4 lines var columnCssClass = column.cssClass; if ( !column.cssClass || !column.cssClass.match(/\bc[1-9][0-2]?\b/) ){ columnCssClass = "c" + String(Math.round(12 / columns.count - 0.1)) ; } if ( column.value("clearLeft") ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t>\n\t\t\t\n\t\t\t\t\t\t\t"); for ( var iart = 0; iart < articles.count; ++iart ){ var a = articles.item(iart); context.write(a.render()); } context.write("\n\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\n\t\t\t\t\t\t"); } // insert zp-ad-box in last row of last container on impressum pages if ( system.isFreeware && areaName.toLowerCase() == "standard" && page.isSpecialPage("legal") && icon == containers.count-1 && ipar == paragraphs.count-1 ){ context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t"); context.write( system.partial("zpinfolegal.html") ); context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\n\t\t\t\t\t
    \n\t\t\t\t"); if ( articleCount > 0 && paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t
    \n\t\t\t\t"); } context.write("\n\t\t\n\t\t\t\t"); } context.write(""); } context.write("\n\t"); if ( !hideIeForArea ) { context.write("\n\t\t\n\t"); } context.write("\n
    \n\n"); // insert overlay on startpage if ( !system.preview && system.isFreeware && areaName.toLowerCase() == "standard" && projectFolder.startPage && projectFolder.startPage.id == page.id ){ context.write("\n\t\t"); context.write( system.partial("zpinfooverlay.html") ); context.write("\n\t\t"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577549571().executeScript(); 2020-07-14 20:57:37,756 [19] INFO - --------- 2020-07-14 20:57:37,774 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,774 [19] INFO - --------- 2020-07-14 20:57:37,775 [19] INFO - function SE637303570577549571() {} SE637303570577549571.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. var areaName = context.param(0, "Standard"); var areaNameLc = areaName.toLowerCase(); var maxColumns = context.param(1, "0"); var cssRowClass = context.param(2, ""); var displayNumColumns = context.param(3, "12"); // number of columns to display. We always calculate with 12, but can display less var cssAreaClass = context.param(4, ""); var noBreakoutWithNews = context.param(5, true); var hideIeForArea = context.param(6, false); var canContainer = project.canContainer; var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas); var hasNews = page.hasArea("News") && (page.anyAreaArticles("News") || showEmptyArticleAreas); var hasNonSymlinkContainer = false; var lastContainerIsSymlink = false; if ( maxColumns == "1" ){ if ( cssRowClass == "" || cssRowClass == "noresize" ){ cssRowClass = "noresize"; } else{ cssRowClass += " noresize"; } } var intPreviewData = ''; if ( system.preview ){ // if internal preview, we add some additional data-attributes to the area // for access in JS (non internal scripting) intPreviewData += ' data-showemptyarticleareas="' + showEmptyArticleAreas + '"'; } context.write("\n\n
    \n\t"); var containers = page.containers(areaName); var firstC = 0; var lastC = containers.count-1; //system.log("last: " + lastC + " of " + containers.count); if ( lastC > firstC && !containers.item(lastC).hasArticles ){ // last container has no articles and is not rendered, so find last visible one for ( var ilcon = lastC; ilcon > 1; --ilcon ){ var lastContainer = containers.item(ilcon); if ( lastContainer.hasArticles ){ lastC = ilcon; break; } } } for ( var icon = 0; icon < containers.count; ++icon ){ var container = containers.item(icon); // if current container doesn't contain any articles, we skip this loop // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content if ( !container.hasArticles && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ firstC++; continue; } // append container styles to head via css var cid = container.id; var output = ""; var isSection = container.value("issection") == "1"; var isStyled = false; if ( container.value("fontcolor", "") !== "" && container.value("fontcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output = cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + container.value("fontcolor") + ";"; output += "}\n"; } if ( container.value("linkcolor", "") !== "" && container.value("linkcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output += "\n\n" + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles)"; output += ", " + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles):hover{"; output += "color: " + container.value("linkcolor") + ";"; output += "}\n"; } if ( container.value("margin", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("margin-top") ){ output += "margin-top: " + container.value("margin-top") + " !important;"; } if ( container.value("margin-bottom") ){ output += "margin-bottom: " + container.value("margin-bottom") + " !important;" ; } output += "}\n"; } if ( container.value("padding", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("padding-top") ){ output += "padding-top: " + container.value("padding-top") + " !important;"; } if ( container.value("padding-bottom") ){ output += "padding-bottom: " + container.value("padding-bottom") + " !important;"; } if ( container.value("padding-left") ){ output += "padding-left: " + container.value("padding-left") + " !important;"; } if ( container.value("padding-right") ){ output += "padding-right: " + container.value("padding-right") + " !important;"; } output += "}\n"; } if ( container.value("bgcolor", "") !== "" && container.value("bgcolor", "") !== "transparent" ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-color: " + container.value("bgcolor") + " !important;"; output += "}\n"; } var image = container.cssBackgroundImage("bgimage"); if ( image.imageUrl ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-image: url(" + image.imageUrl + ") !important;"; output += "background-repeat: " + image.repeat + " !important;"; output += "background-size: " + image.size + " !important;"; output += "background-position: " + (image.position !== "" ? image.position : "center center") + " !important;"; output += "background-attachment: " + (image.attachment !== "" ? image.attachment : "scroll") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var containerstyle = container.inlineCss || ""; containerstyle = containerstyle.toString().replace(/^\s+|\s+$/gm,''); // trim() // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( containerstyle && containerstyle.slice(-1) !== ";" ){ containerstyle += ";"; } var initialContainerstyle = containerstyle; containerstyle = containerstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( containerstyle ){ containerstyle = ' style="' + containerstyle + '"'; } if ( noBreakoutWithNews && system.preview && container.value("breakout") == "1" && hasNews ){ system.warn("Die 'Randlos-Option' für einen Container kann nicht berücksichtigt werden, weil der 'Einfügen-Schalter' auf an steht oder die Seite auch Artikel im News-Bereich enthält."); } var containerTag = "div"; if ( isSection ){ containerTag = "section"; } var containerIsSymlink = container.symlink ? true : false; if ( !containerIsSymlink ){ hasNonSymlinkContainer = true; } else if ( icon == containers.count-1 ){ lastContainerIsSymlink = true; } context.write("\n\t\t\t<"); context.write( containerTag ); context.write(" id=\"container_"); context.write( container.id ); context.write("\" class=\"zpContainer"); if (icon==firstC){ context.write(" first"); } if (icon==lastC){ context.write(" last"); } if( container.value("animate", "") !== "" && container.value("animate") !== "off" ){ context.write(" zpanimate "); context.write( container.value("animate")); } if( isStyled ){ context.write(" styled"); } context.write(" "); if ( container.value("breakout") == "1" ){ context.write("zpBreakout "); } if( noBreakoutWithNews && hasNews ) { context.write(" hasNews"); } context.write(" "); context.write( container.cssClass ); context.write("\""); context.write( containerstyle ); context.write(" \n\t\t\t\t data-zpeleel=\"container\" data-zpleid=\""); context.write( container.id ); context.write("\">\n\t\t\t"); var paragraphs = container.paragraphs; for ( var ipar = 0; ipar < paragraphs.count; ++ipar ){ var additionalRowClass = ""; var paragraph = paragraphs.item(ipar); var columns = paragraph.columns; // if current paragraph doesn't contain articles, we skip the loop, so we don't print empty paragraphs // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content var articleCount = paragraph.articles.count; if ( articleCount < 1 && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ continue; } else if ( articleCount > 0 ){ // set special rowClass for Articles which are not visible, so we can remove any margins which might not be desired var firstWidgetName = paragraph.articles.item(0).widgetName; switch(firstWidgetName) { case "Info-Banner": additionalRowClass = " alertbanner"; break; case "Quelltext": additionalRowClass = " quelltext"; break; case "Slider": additionalRowClass = " zpwSlider"; break; case "Carousel": additionalRowClass = " zpwCarousel"; break; case "Navigationsmenü": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Navigationsmenü manuell": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Video-Hintergrund": additionalRowClass = " zpvideobg"; break; } // append row styles to head via css var rid = paragraph.id; var output = ""; if ( paragraph.value("margin", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("margin-top") ){ output += "margin-top: " + paragraph.value("margin-top", "initial") + " !important;"; } if ( paragraph.value("margin-bottom") ){ output += "margin-bottom: " + paragraph.value("margin-bottom", "initial") + " !important;" ; } output += "}\n"; } if ( paragraph.value("padding", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("padding-top") ){ output += "padding-top: " + paragraph.value("padding-top") + " !important;"; } if ( paragraph.value("padding-bottom") ){ output += "padding-bottom: " + paragraph.value("padding-bottom") + " !important;"; } if ( paragraph.value("padding-left") ){ output += "padding-left: " + paragraph.value("padding-left") + " !important;"; } if ( paragraph.value("padding-right") ){ output += "padding-right: " + paragraph.value("padding-right") + " !important;"; } output += "}\n"; } if ( paragraph.value("bgcolor", "") !== "" && paragraph.value("bgcolor", "") !== "transparent" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-color: " + paragraph.value("bgcolor") + " !important;"; output += "}\n"; } var pimage = paragraph.cssBackgroundImage("bgimage"); if ( pimage.imageUrl ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-image: url(" + pimage.imageUrl + ") !important;"; output += "background-repeat: " + pimage.repeat + " !important;"; output += "background-size: " + pimage.size + " !important;"; output += "background-position: " + (pimage.position !== "" ? pimage.position : "center center") + " !important;"; output += "background-attachment: " + (pimage.attachment !== "" ? pimage.attachment : "scroll") + ";"; output += "}\n"; } if ( paragraph.value("justifycontent", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "justify-content: " + paragraph.value("justifycontent") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } // paragraph styles var rowstyle = paragraph.inlineCss || ""; rowstyle = rowstyle.toString().replace(/^\s+|\s+$/gm,''); // trim(); // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( rowstyle && rowstyle.slice(-1) !== ";" ){ rowstyle += ";"; } context.write("\n\t\t\n\t\t\t\t\t"); if ( paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t"); rowstyle = " width: 100%; margin: 0 auto; float: none;"; } rowstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( rowstyle ){ rowstyle = ' style="' + rowstyle + '"'; } } context.write("\n\t\t\t\t\t
    \n\t\t\t\t\t>\n\t\t\n\t\t\t\t\t"); var evenodd = "even"; for ( var icol = 0; icol < columns.count; ++icol ){ var column = columns.item(icol); var articles = column.articles; var coid = column.id; var output = ""; var isStyled = false; var selectorPrefix = "#container_" + cid + " "; if ( column.value("bgcolor", "") !== "" && column.value("bgcolor", "") !== "transparent" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "background-color: " + column.value("bgcolor") + ";"; output += "padding-top: 15px;"; output += "padding-bottom: 15px;"; output += "}\n"; isStyled = true; } if ( column.value("fontcolor", "") !== "" && column.value("fontcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + column.value("fontcolor") + ";"; output += "}\n"; } if ( column.value("linkcolor", "") !== "" && column.value("linkcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += "\n\n" + cssSelector + " a:not(.button)"; output += ", " + cssSelector + " a:not(.button):hover{"; output += "color: " + column.value("linkcolor") + ";"; output += "}\n"; } if ( column.value("align-self", "") !== "" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "align-self: " + column.value("align-self") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var clearCss = column.value("clearLeft") ? "clear: left;" : ""; if ( column.articles.count > 0 ){ var firstWidgetName = articles.item(0).widgetName; } else{ var firstWidgetName = ""; } // used in a className, alternate between even and odd, not taking into account zpSpacer-Columns if( firstWidgetName !== "Spacer" ){ if( evenodd === "even" ){ evenodd = "odd"; } else{ evenodd = "even"; } var additionalColumnClass = " " + evenodd; } else{ var additionalColumnClass = ""; } // if a spacer-widget is alone in a column, we set a class .zpSpacer, so we can set the width of spacer-widgets responsively in zpgrid.less accordingly if ( firstWidgetName == "Spacer" && column.articles.count < 2 ){ additionalColumnClass += " zpSpacer"; } else if ( firstWidgetName == "Navigationsmenü" ){ additionalColumnClass += " zpnavmenu"; } // TODO move adding of missing classes to converter and remove next 4 lines var columnCssClass = column.cssClass; if ( !column.cssClass || !column.cssClass.match(/\bc[1-9][0-2]?\b/) ){ columnCssClass = "c" + String(Math.round(12 / columns.count - 0.1)) ; } if ( column.value("clearLeft") ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t>\n\t\t\t\n\t\t\t\t\t\t\t"); for ( var iart = 0; iart < articles.count; ++iart ){ var a = articles.item(iart); context.write(a.render()); } context.write("\n\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\n\t\t\t\t\t\t"); } // insert zp-ad-box in last row of last container on impressum pages if ( system.isFreeware && areaName.toLowerCase() == "standard" && page.isSpecialPage("legal") && icon == containers.count-1 && ipar == paragraphs.count-1 ){ context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t"); context.write( system.partial("zpinfolegal.html") ); context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\n\t\t\t\t\t
    \n\t\t\t\t"); if ( articleCount > 0 && paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t
    \n\t\t\t\t"); } context.write("\n\t\t\n\t\t\t\t"); } context.write(""); } context.write("\n\t"); if ( !hideIeForArea ) { context.write("\n\t\t\n\t"); } context.write("\n
    \n\n"); // insert overlay on startpage if ( !system.preview && system.isFreeware && areaName.toLowerCase() == "standard" && projectFolder.startPage && projectFolder.startPage.id == page.id ){ context.write("\n\t\t"); context.write( system.partial("zpinfooverlay.html") ); context.write("\n\t\t"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577549571().executeScript(); 2020-07-14 20:57:37,777 [19] INFO - --------- 2020-07-14 20:57:37,778 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1709. 2020-07-14 20:57:37,778 [19] INFO - --------- 2020-07-14 20:57:37,779 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,779 [19] INFO - --------- 2020-07-14 20:57:37,780 [19] INFO - function SE637303570577799585() {} SE637303570577799585.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. var args = context.param(0, {}); var wraptag = args["wraptag"] || "div"; var menuid = args["menuid"] || "xmenu"; var menuclass = args["menuclass"] || ""; var listwrapper = args["listwrapper"] || ["",""]; var itemwrapper = args["itemwrapper"] || ["",""]; var areaname = args["areaname"] || "Footer"; context.write("\r\n"); if ( page.attribute("show_extra_menu") ) { var extraMenu = page.extraMenu; context.write("\r\n\t<"); context.write( wraptag ); context.write(" id=\""); context.write( menuid ); context.write("\" class=\""); context.write( menuclass ); context.write("\" "); context.write( system.partial("inline-editing-xmenu.html", areaname) ); context.write(">\r\n\t\t"); context.write( listwrapper[0] ); context.write("\r\n\t\t"); for ( var mi = 0; mi < extraMenu.menuItems.count; ++mi ) { var menuItem = extraMenu.menuItems.item(mi); var rel = ""; if ( menuItem.nofollow ){ rel += "nofollow "; } if ( menuItem.target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } context.write("\r\n\t\t\t"); context.write( itemwrapper[0] ); context.write(""); context.write(menuItem.name); context.write(""); context.write( itemwrapper[1] ); context.write("\r\n\t\t"); } context.write("\r\n\t\t\t"); var output = ""; // Special case for Top Responsive which can add entries via attribute if ( page.attribute("add_extramenu") ) { output += page.attribute("add_extramenu"); } if ( page.attribute("show_language_menu") ){ // language selection var pf = project.projectFolders; if ( pf.count > 0 ){ output += itemwrapper[0] + '' + itemwrapper[1]; } } if ( output !== "" ){ context.write(output); } context.write("\r\n\t\t\t\r\n\t\t"); context.write( listwrapper[1] ); context.write("\r\n\t\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577799585().executeScript(); 2020-07-14 20:57:37,780 [19] INFO - --------- 2020-07-14 20:57:37,782 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,782 [19] INFO - --------- 2020-07-14 20:57:37,783 [19] INFO - function SE637303570577829587() {} SE637303570577829587.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577829587().executeScript(); 2020-07-14 20:57:37,783 [19] INFO - --------- 2020-07-14 20:57:37,784 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,784 [19] INFO - --------- 2020-07-14 20:57:37,785 [19] INFO - function SE637303570577829587() {} SE637303570577829587.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577829587().executeScript(); 2020-07-14 20:57:37,785 [19] INFO - --------- 2020-07-14 20:57:37,786 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1710. 2020-07-14 20:57:37,786 [19] INFO - --------- 2020-07-14 20:57:37,890 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,890 [19] INFO - --------- 2020-07-14 20:57:37,891 [19] INFO - function SE637303570577799585() {} SE637303570577799585.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. var args = context.param(0, {}); var wraptag = args["wraptag"] || "div"; var menuid = args["menuid"] || "xmenu"; var menuclass = args["menuclass"] || ""; var listwrapper = args["listwrapper"] || ["",""]; var itemwrapper = args["itemwrapper"] || ["",""]; var areaname = args["areaname"] || "Footer"; context.write("\r\n"); if ( page.attribute("show_extra_menu") ) { var extraMenu = page.extraMenu; context.write("\r\n\t<"); context.write( wraptag ); context.write(" id=\""); context.write( menuid ); context.write("\" class=\""); context.write( menuclass ); context.write("\" "); context.write( system.partial("inline-editing-xmenu.html", areaname) ); context.write(">\r\n\t\t"); context.write( listwrapper[0] ); context.write("\r\n\t\t"); for ( var mi = 0; mi < extraMenu.menuItems.count; ++mi ) { var menuItem = extraMenu.menuItems.item(mi); var rel = ""; if ( menuItem.nofollow ){ rel += "nofollow "; } if ( menuItem.target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } context.write("\r\n\t\t\t"); context.write( itemwrapper[0] ); context.write(""); context.write(menuItem.name); context.write(""); context.write( itemwrapper[1] ); context.write("\r\n\t\t"); } context.write("\r\n\t\t\t"); var output = ""; // Special case for Top Responsive which can add entries via attribute if ( page.attribute("add_extramenu") ) { output += page.attribute("add_extramenu"); } if ( page.attribute("show_language_menu") ){ // language selection var pf = project.projectFolders; if ( pf.count > 0 ){ output += itemwrapper[0] + '' + itemwrapper[1]; } } if ( output !== "" ){ context.write(output); } context.write("\r\n\t\t\t\r\n\t\t"); context.write( listwrapper[1] ); context.write("\r\n\t\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570577799585().executeScript(); 2020-07-14 20:57:37,893 [19] INFO - --------- 2020-07-14 20:57:37,893 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1711. 2020-07-14 20:57:37,894 [19] INFO - --------- 2020-07-14 20:57:37,896 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,896 [19] INFO - --------- 2020-07-14 20:57:37,897 [19] INFO - function SE637303570578969652() {} SE637303570578969652.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570578969652().executeScript(); 2020-07-14 20:57:37,897 [19] INFO - --------- 2020-07-14 20:57:37,899 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,899 [19] INFO - --------- 2020-07-14 20:57:37,899 [19] INFO - function SE637303570578969652() {} SE637303570578969652.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570578969652().executeScript(); 2020-07-14 20:57:37,900 [19] INFO - --------- 2020-07-14 20:57:37,900 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1712. 2020-07-14 20:57:37,900 [19] INFO - --------- 2020-07-14 20:57:37,906 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,906 [19] INFO - --------- 2020-07-14 20:57:37,906 [19] INFO - function SE637303570531176918() {} SE637303570531176918.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. context.write("\r\n\r\n\r\n\t"); context.write( page.title ); context.write("\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); if ( "../assets/favicon.ico" !== "" ) { context.write(""); } context.write("\r\n\t\r\n\t"); if ( parseInt(page.attribute("webfonts-deactivate", 0)) !== 1 ){context.write(project.webFonts())} context.write("\r\n\r\n\t"); context.write( project.bundleCss() ); context.write("\r\n\r\n\t\r\n\r\n\t"); var additionalCss = page.attribute("additional_css"); if ( additionalCss ) { context.write("\r\n\t\t"); context.write( additionalCss ); context.write("\r\n\t"); } context.write(" \r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( project.bundleJs() ); context.write("\r\n\t\r\n\t\r\n\t"); if ( page.attribute("search_field_visible") ) { context.write("\r\n\t\t\r\n\t"); } context.write("\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( system.partial("rss.html") ); context.write("\r\n\t\r\n\t"); var header = page.anyAreaArticles("Header") || (system.preview && system.showEmptyPreviewAreas) var news = page.anyAreaArticles("News") || (system.preview && system.showEmptyPreviewAreas) function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } var sidebar = hasVisibleChildPages(page.id) || page.level >= 2 || news; context.write("\r\n\r\n\t\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n\t
    \r\n\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Banner") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Banner", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\t\t\t\t"); if ( page.attribute("search_field_visible") ) { context.write("
    \" method=\"get\">
    "); } context.write("\r\n\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t"); if ( page.attribute("web_name_slogan") ) { context.write("\r\n\t\t\t\t\t\t\t\t\t
    Vom Gerätewagen der Schweizer Feuerwehr zum Expeditionsmobil \"Willi\"
    \r\n\t\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( header ) { context.write("\r\n\t\t\t\t"); context.write( system.partial("header.html") ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\t\r\n\t\t\t"); context.write( system.partial("hauptmenu.html") ); context.write("\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t"); if ( page.attribute("show_breadcrumb") ) { context.write("
    \r\n\t\t\t\t"); context.write( system.partial("breadcrumbs.html", (page.attribute("breadcrumb")||"").replace(/"/g, """), (page.attribute("breadcrumb_separator")||"").replace(/"/g, """) ) ); context.write("\r\n\t\t\t
    "); } context.write("\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "top" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Standard", 0, null, null, "zpgrid") ); context.write("
    \r\n\t\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "bottom" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "News", 1, "news") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); context.write( system.partial('zpextramenu.html') ); context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( page.attribute("show_copyright") || project.showCreatorText ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); if ( page.attribute("show_copyright") ) { context.write("\r\n\t\t\t\t\t\t\t© 2018 Willi"); if ( project.showCreatorText ) { context.write(". "); } context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( project.showCreatorText ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write(project.creatorText); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Footer") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Footer", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t
    \r\n\t
    \t\r\n\t\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570531176918().executeScript(); 2020-07-14 20:57:37,907 [19] INFO - --------- 2020-07-14 20:57:37,908 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1713. 2020-07-14 20:57:37,909 [19] INFO - --------- 2020-07-14 20:57:37,910 [19] INFO - Closing the script engine. 2020-07-14 20:57:37,911 [19] INFO - --------- 2020-07-14 20:57:37,911 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1713. 2020-07-14 20:57:37,911 [19] INFO - --------- 2020-07-14 20:57:37,983 [19] INFO - Script engine constructed. 2020-07-14 20:57:37,983 [19] INFO - Script engine initialized. 2020-07-14 20:57:37,984 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,984 [19] INFO - --------- 2020-07-14 20:57:37,985 [19] INFO - /* ------------- {{OmitSourceOutput:Begin}} -------------- */ context.write("\r\n\r\n"); function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } function isNull(obj) { return obj === undefined || obj == null || !obj || 0 === obj.length; } String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; String.format = function(format) { var args = Array.prototype.slice.call(arguments, 1); return format.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; // trim() polyfill - https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/Trim if (!String.prototype.trim) { String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; } // // var vbCrLf = "\r\n"; // // function less(lessString) { // return _context.Less(lessString); // } // // function HtmlEncode(obj){ // return system.htmlEncode(obj); // } // // // helps convert some ZP string values to a bool. // function IsTrue(obj){ // return (obj == "True" || obj === true || obj == 1 ); // } // // // Prüfen, ob leer. // function IsEmpty(str) { // return (!str || 0 === str.length); // } // // // Prüfen, ob leer oder nur Whitespaces enthalten. // function IsBlank(str) { // return (!str || /^\s*$/.test(str)); // } // // // Prüfen, ob leer. // String.prototype.IsEmpty = function() { // return (this.length === 0 || !this.trim()); // }; // // // Prüfen ob NULL oder undefined. // function isNull(obj) { // return obj === undefined || obj == null || !obj // } // // // Eigene Format-Funktion. // // Beispiel: "Dies ist {0} Test.".Format("ein"); // if (!String.prototype.Format) { // String.prototype.Format = function() { // var args = arguments; // return this.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // // Alternative Schreibweise für Format-Funktion. // // Beispiel: String.Format("Dies ist {0} Test.", "ein"); // if (!String.Format) { // String.Format = function(format) { // var args = Array.prototype.slice.call(arguments, 1); // return format.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // /* // // HTML-Attribut ausgeben, nur wenn auch Inhalt hat. // function htmlAttr(attrName, attrValue) { // if ( IsBlank(attrValue) ) { // return ""; // } else { // return '{0}="{1}"'.Format( attrName, attrValue ); // } // } // // // HTML-Attribut ausgeben wenn condition == true. // function htmlAttrIf(condition, attrName, attrValue) { // if ( ! IsTrue(condition) ) { // return ""; // } else { // return htmlAttr(attrName, attrValue); // } // } // */ // // // Ersatz für die VBSkript isNumeric Funktion -> http://stackoverflow.com/questions/18082/validate-decimal-numbers-in-javascript-isnumeric // function isNumeric(n) { // return !isNaN(parseFloat(n)) && isFinite(n); // } // // // Einfacher Ersatz für VBScript Replace() - die "count" und "compare" Parameter von VBScript werden nicht unterstützt! // function Replace(searchstring, find, replace) { // return searchstring.replace(find, replace); // } // // // diverse String helper. Quelle: http://www.4guysfromrolla.com/webtech/vb2java.shtml // function Left(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // return String(str).substring(0,n); // } // } // // function Right(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // var iLen = String(str).length; // return String(str).substring(iLen, iLen - n); // } // } // // function Mid(str, start, len) { // // this is using ONE-Based strongs to mimic vbscript! // // // Make sure start and len are within proper bounds // if (start <= 0 || len < 0){ // return ""; // } // // var iEnd, iLen = String(str).length; // if (start + len > iLen){ // iEnd = iLen; // } // else { // iEnd = (start - 1) + len; // } // return String(str).substring(start-1,iEnd); // } // context.write("\r\n"); /* ------------- {{OmitSourceOutput:End}} -------------- */ context.write("\r\n"); /* Shortcuts. */ var article = null; var page = null; var projectFolder = null; var project = null; var system = null; 2020-07-14 20:57:37,985 [19] INFO - --------- 2020-07-14 20:57:37,986 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,986 [19] INFO - --------- 2020-07-14 20:57:37,986 [19] INFO - /* ------------- {{OmitSourceOutput:Begin}} -------------- */ context.write("\r\n\r\n"); function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } function isNull(obj) { return obj === undefined || obj == null || !obj || 0 === obj.length; } String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; String.format = function(format) { var args = Array.prototype.slice.call(arguments, 1); return format.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; // trim() polyfill - https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/Trim if (!String.prototype.trim) { String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; } // // var vbCrLf = "\r\n"; // // function less(lessString) { // return _context.Less(lessString); // } // // function HtmlEncode(obj){ // return system.htmlEncode(obj); // } // // // helps convert some ZP string values to a bool. // function IsTrue(obj){ // return (obj == "True" || obj === true || obj == 1 ); // } // // // Prüfen, ob leer. // function IsEmpty(str) { // return (!str || 0 === str.length); // } // // // Prüfen, ob leer oder nur Whitespaces enthalten. // function IsBlank(str) { // return (!str || /^\s*$/.test(str)); // } // // // Prüfen, ob leer. // String.prototype.IsEmpty = function() { // return (this.length === 0 || !this.trim()); // }; // // // Prüfen ob NULL oder undefined. // function isNull(obj) { // return obj === undefined || obj == null || !obj // } // // // Eigene Format-Funktion. // // Beispiel: "Dies ist {0} Test.".Format("ein"); // if (!String.prototype.Format) { // String.prototype.Format = function() { // var args = arguments; // return this.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // // Alternative Schreibweise für Format-Funktion. // // Beispiel: String.Format("Dies ist {0} Test.", "ein"); // if (!String.Format) { // String.Format = function(format) { // var args = Array.prototype.slice.call(arguments, 1); // return format.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // /* // // HTML-Attribut ausgeben, nur wenn auch Inhalt hat. // function htmlAttr(attrName, attrValue) { // if ( IsBlank(attrValue) ) { // return ""; // } else { // return '{0}="{1}"'.Format( attrName, attrValue ); // } // } // // // HTML-Attribut ausgeben wenn condition == true. // function htmlAttrIf(condition, attrName, attrValue) { // if ( ! IsTrue(condition) ) { // return ""; // } else { // return htmlAttr(attrName, attrValue); // } // } // */ // // // Ersatz für die VBSkript isNumeric Funktion -> http://stackoverflow.com/questions/18082/validate-decimal-numbers-in-javascript-isnumeric // function isNumeric(n) { // return !isNaN(parseFloat(n)) && isFinite(n); // } // // // Einfacher Ersatz für VBScript Replace() - die "count" und "compare" Parameter von VBScript werden nicht unterstützt! // function Replace(searchstring, find, replace) { // return searchstring.replace(find, replace); // } // // // diverse String helper. Quelle: http://www.4guysfromrolla.com/webtech/vb2java.shtml // function Left(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // return String(str).substring(0,n); // } // } // // function Right(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // var iLen = String(str).length; // return String(str).substring(iLen, iLen - n); // } // } // // function Mid(str, start, len) { // // this is using ONE-Based strongs to mimic vbscript! // // // Make sure start and len are within proper bounds // if (start <= 0 || len < 0){ // return ""; // } // // var iEnd, iLen = String(str).length; // if (start + len > iLen){ // iEnd = iLen; // } // else { // iEnd = (start - 1) + len; // } // return String(str).substring(start-1,iEnd); // } // context.write("\r\n"); /* ------------- {{OmitSourceOutput:End}} -------------- */ context.write("\r\n"); /* Shortcuts. */ var article = null; var page = null; var projectFolder = null; var project = null; var system = null; 2020-07-14 20:57:37,987 [19] INFO - --------- 2020-07-14 20:57:37,987 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1714. 2020-07-14 20:57:37,989 [19] INFO - --------- 2020-07-14 20:57:37,989 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,989 [19] INFO - --------- 2020-07-14 20:57:37,990 [19] INFO - function SE637303570579829701() {} SE637303570579829701.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. if (shop.active) { var basketPageUrl = null; var currentProjectFolderId = page.projectFolder.id; var projectFolderBasketArticle; var foundItems = project.getArticlesWithStyle("basket"); for ( var g=0; g < foundItems.count; ++g ) { var foundItem = foundItems.item(g); if ( foundItem.active ) { if ( isNull(firstBasketArticle) ){ var firstBasketArticle = foundItem.page.url; } if ( project.getPage(foundItem.page.id).projectFolder.id == currentProjectFolderId ){ projectFolderBasketArticle = foundItem.page.url; } } } var basketPageUrl = projectFolderBasketArticle || firstBasketArticle; context.write("\n\t"); if ( basketPageUrl && page.url !== basketPageUrl ){ context.write("\n\t\n\t\n\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570579829701().executeScript(); 2020-07-14 20:57:37,991 [19] INFO - --------- 2020-07-14 20:57:37,992 [19] INFO - Finished executing the following script: 2020-07-14 20:57:37,993 [19] INFO - --------- 2020-07-14 20:57:37,993 [19] INFO - function SE637303570579829701() {} SE637303570579829701.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. if (shop.active) { var basketPageUrl = null; var currentProjectFolderId = page.projectFolder.id; var projectFolderBasketArticle; var foundItems = project.getArticlesWithStyle("basket"); for ( var g=0; g < foundItems.count; ++g ) { var foundItem = foundItems.item(g); if ( foundItem.active ) { if ( isNull(firstBasketArticle) ){ var firstBasketArticle = foundItem.page.url; } if ( project.getPage(foundItem.page.id).projectFolder.id == currentProjectFolderId ){ projectFolderBasketArticle = foundItem.page.url; } } } var basketPageUrl = projectFolderBasketArticle || firstBasketArticle; context.write("\n\t"); if ( basketPageUrl && page.url !== basketPageUrl ){ context.write("\n\t\n\t\n\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570579829701().executeScript(); 2020-07-14 20:57:37,994 [19] INFO - --------- 2020-07-14 20:57:37,994 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1715. 2020-07-14 20:57:37,995 [19] INFO - --------- 2020-07-14 20:57:37,995 [19] INFO - About to execute the following script: 2020-07-14 20:57:37,996 [19] INFO - --------- 2020-07-14 20:57:37,996 [19] INFO - function SE637303570579959709() {} SE637303570579959709.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. context.write("\r\n\r\n\r\n\t"); context.write( page.title ); context.write("\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); if ( "../assets/favicon.ico" !== "" ) { context.write(""); } context.write("\r\n\t\r\n\t"); if ( parseInt(page.attribute("webfonts-deactivate", 0)) !== 1 ){context.write(project.webFonts())} context.write("\r\n\r\n\t"); context.write( project.bundleCss() ); context.write("\r\n\r\n\t\r\n\r\n\t"); var additionalCss = page.attribute("additional_css"); if ( additionalCss ) { context.write("\r\n\t\t"); context.write( additionalCss ); context.write("\r\n\t"); } context.write(" \r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( project.bundleJs() ); context.write("\r\n\t\r\n\t\r\n\t"); if ( page.attribute("search_field_visible") ) { context.write("\r\n\t\t\r\n\t"); } context.write("\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( system.partial("rss.html") ); context.write("\r\n\t\r\n\t"); var header = page.anyAreaArticles("Header") || (system.preview && system.showEmptyPreviewAreas) var news = page.anyAreaArticles("News") || (system.preview && system.showEmptyPreviewAreas) function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } var sidebar = hasVisibleChildPages(page.id) || page.level >= 2 || news; context.write("\r\n\r\n\t\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n\t
    \r\n\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Banner") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Banner", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\t\t\t\t"); if ( page.attribute("search_field_visible") ) { context.write("
    \" method=\"get\">
    "); } context.write("\r\n\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t"); if ( page.attribute("web_name_slogan") ) { context.write("\r\n\t\t\t\t\t\t\t\t\t
    Vom Gerätewagen der Schweizer Feuerwehr zum Expeditionsmobil \"Willi\"
    \r\n\t\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( header ) { context.write("\r\n\t\t\t\t"); context.write( system.partial("header.html") ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\t\r\n\t\t\t"); context.write( system.partial("hauptmenu.html") ); context.write("\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t"); if ( page.attribute("show_breadcrumb") ) { context.write("
    \r\n\t\t\t\t"); context.write( system.partial("breadcrumbs.html", (page.attribute("breadcrumb")||"").replace(/"/g, """), (page.attribute("breadcrumb_separator")||"").replace(/"/g, """) ) ); context.write("\r\n\t\t\t
    "); } context.write("\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "top" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Standard", 0, null, null, "zpgrid") ); context.write("
    \r\n\t\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "bottom" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "News", 1, "news") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); context.write( system.partial('zpextramenu.html') ); context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( page.attribute("show_copyright") || project.showCreatorText ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); if ( page.attribute("show_copyright") ) { context.write("\r\n\t\t\t\t\t\t\t© 2018 Willi"); if ( project.showCreatorText ) { context.write(". "); } context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( project.showCreatorText ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write(project.creatorText); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Footer") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Footer", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t
    \r\n\t
    \t\r\n\t\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570579959709().executeScript(); 2020-07-14 20:57:37,997 [19] INFO - --------- 2020-07-14 20:57:38,013 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,014 [19] INFO - --------- 2020-07-14 20:57:38,014 [19] INFO - function SE637303570580139719() {} SE637303570580139719.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. if ( project.rss ) { var feeds = projectFolder.rssFeeds; for ( var i=0; i\r\n\t\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580139719().executeScript(); 2020-07-14 20:57:38,014 [19] INFO - --------- 2020-07-14 20:57:38,016 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,016 [19] INFO - --------- 2020-07-14 20:57:38,016 [19] INFO - function SE637303570580139719() {} SE637303570580139719.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. if ( project.rss ) { var feeds = projectFolder.rssFeeds; for ( var i=0; i\r\n\t\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580139719().executeScript(); 2020-07-14 20:57:38,017 [19] INFO - --------- 2020-07-14 20:57:38,017 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1716. 2020-07-14 20:57:38,017 [19] INFO - --------- 2020-07-14 20:57:38,030 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,031 [19] INFO - --------- 2020-07-14 20:57:38,031 [19] INFO - function SE637303570580309729() {} SE637303570580309729.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580309729().executeScript(); 2020-07-14 20:57:38,031 [19] INFO - --------- 2020-07-14 20:57:38,033 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,033 [19] INFO - --------- 2020-07-14 20:57:38,033 [19] INFO - function SE637303570580309729() {} SE637303570580309729.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580309729().executeScript(); 2020-07-14 20:57:38,034 [19] INFO - --------- 2020-07-14 20:57:38,034 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1717. 2020-07-14 20:57:38,034 [19] INFO - --------- 2020-07-14 20:57:38,035 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,035 [19] INFO - --------- 2020-07-14 20:57:38,036 [19] INFO - function SE637303570580359731() {} SE637303570580359731.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580359731().executeScript(); 2020-07-14 20:57:38,036 [19] INFO - --------- 2020-07-14 20:57:38,037 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,037 [19] INFO - --------- 2020-07-14 20:57:38,038 [19] INFO - function SE637303570580359731() {} SE637303570580359731.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580359731().executeScript(); 2020-07-14 20:57:38,038 [19] INFO - --------- 2020-07-14 20:57:38,038 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1718. 2020-07-14 20:57:38,039 [19] INFO - --------- 2020-07-14 20:57:38,041 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,041 [19] INFO - --------- 2020-07-14 20:57:38,041 [19] INFO - function SE637303570580419735() {} SE637303570580419735.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580419735().executeScript(); 2020-07-14 20:57:38,042 [19] INFO - --------- 2020-07-14 20:57:38,043 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,043 [19] INFO - --------- 2020-07-14 20:57:38,044 [19] INFO - function SE637303570580419735() {} SE637303570580419735.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580419735().executeScript(); 2020-07-14 20:57:38,044 [19] INFO - --------- 2020-07-14 20:57:38,044 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1719. 2020-07-14 20:57:38,044 [19] INFO - --------- 2020-07-14 20:57:38,046 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,046 [19] INFO - --------- 2020-07-14 20:57:38,047 [19] INFO - function SE637303570580469738() {} SE637303570580469738.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. var areaName = "Header"; var headers = page.articlesInArea(areaName); var headerShown = false; for ( var ihead = 0; ihead < headers.count; ++ihead ){ // in a header-area, we only render the first active container/row/article if ( headerShown && ihead > 0 ){ break; } context.write(headers.item(ihead).render()); headerShown = true; } context.write("\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580469738().executeScript(); 2020-07-14 20:57:38,047 [19] INFO - --------- 2020-07-14 20:57:38,055 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,055 [19] INFO - --------- 2020-07-14 20:57:38,056 [19] INFO - function SE637303570580559743() {} SE637303570580559743.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. var cssClass = article.cssClass || ""; if ( cssClass ){ cssClass = " " + cssClass; } var inlineCss = article.inlineCss || ""; if ( inlineCss ){ inlineCss = ' style="' + inlineCss + '"'; } if ( "950" !== "" && "250" !== "" ){ var ratio = (parseInt("250") / parseInt("950")) * 100; } else{ var ratio = 30; } var wrapperStyles = ' style="height: 0; padding-bottom: ' + ratio + '%;"'; context.write("\r\n\r\n
    \r\n\t
    \r\n\t\t
      \r\n\t\t"); var numHeaders = article.value("header-count"); for ( var i = 1; i <= numHeaders; ++i ) { var headerTitle = article.valueExpanded("header-title-" + i, ""); var headerDescription = article.valueExpanded("header-description-" + i, ""); var headerImage = article.value("header-image-" + i); var image = project.getImage(headerImage); if ( image ){ image.skipContentCopy(); } var clickHref = ""; if ( article.value("header-image-clickurl-" + i, "") ) { clickHref = system.partial("zplink-expanded.html", "header-image-clickurl-" + i); } var linkDataAttributes = ""; var clickUrl = article.value("header-image-clickurl-" + i, ""); var clickTarget = article.value("header-image-clickurl-" + i + "_target", ""); if ( clickUrl !== "" ){ linkDataAttributes += ' data-clickurl="' + clickUrl + '"'; } if ( clickTarget !== "" ){ linkDataAttributes += ' data-clicktarget="' + clickTarget + '"'; } context.write("\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t"); if ( image ) { context.write("\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\"");\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( headerTitle || headerDescription ) { context.write("\r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t\t"); if ( headerTitle ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write( system.partial("header-headline.html", i) ); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); context.write( headerDescription ); context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\r\n\r\n\t\t"); } context.write("\r\n\r\n
    \r\n
    \r\n
    \r\n\r\n"); var nextText = system.htmlEncode(page.attribute("header_next_text")) || "weiter"; var prevText = system.htmlEncode(page.attribute("header_prev_text")) || "zurück"; var inlineEditingInitDelay = 50; var useSmoothHeight = "true" === "false" ? "false" : "true"; if ( useSmoothHeight === "true" ){ inlineEditingInitDelay = 1000; } context.write("\r\n\r\n"); if ( numHeaders > 0 ) { context.write("\r\n\t\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580559743().executeScript(); 2020-07-14 20:57:38,056 [19] INFO - --------- 2020-07-14 20:57:38,058 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,059 [19] INFO - --------- 2020-07-14 20:57:38,059 [19] INFO - function SE637303570580589745() {} SE637303570580589745.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. context.write(" \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580589745().executeScript(); 2020-07-14 20:57:38,059 [19] INFO - --------- 2020-07-14 20:57:38,065 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,065 [19] INFO - --------- 2020-07-14 20:57:38,065 [19] INFO - function SE637303570580589745() {} SE637303570580589745.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. context.write(" \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580589745().executeScript(); 2020-07-14 20:57:38,066 [19] INFO - --------- 2020-07-14 20:57:38,066 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1720. 2020-07-14 20:57:38,066 [19] INFO - --------- 2020-07-14 20:57:38,086 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,086 [19] INFO - --------- 2020-07-14 20:57:38,086 [19] INFO - function SE637303570580559743() {} SE637303570580559743.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. var cssClass = article.cssClass || ""; if ( cssClass ){ cssClass = " " + cssClass; } var inlineCss = article.inlineCss || ""; if ( inlineCss ){ inlineCss = ' style="' + inlineCss + '"'; } if ( "950" !== "" && "250" !== "" ){ var ratio = (parseInt("250") / parseInt("950")) * 100; } else{ var ratio = 30; } var wrapperStyles = ' style="height: 0; padding-bottom: ' + ratio + '%;"'; context.write("\r\n\r\n
    \r\n\t
    \r\n\t\t
      \r\n\t\t"); var numHeaders = article.value("header-count"); for ( var i = 1; i <= numHeaders; ++i ) { var headerTitle = article.valueExpanded("header-title-" + i, ""); var headerDescription = article.valueExpanded("header-description-" + i, ""); var headerImage = article.value("header-image-" + i); var image = project.getImage(headerImage); if ( image ){ image.skipContentCopy(); } var clickHref = ""; if ( article.value("header-image-clickurl-" + i, "") ) { clickHref = system.partial("zplink-expanded.html", "header-image-clickurl-" + i); } var linkDataAttributes = ""; var clickUrl = article.value("header-image-clickurl-" + i, ""); var clickTarget = article.value("header-image-clickurl-" + i + "_target", ""); if ( clickUrl !== "" ){ linkDataAttributes += ' data-clickurl="' + clickUrl + '"'; } if ( clickTarget !== "" ){ linkDataAttributes += ' data-clicktarget="' + clickTarget + '"'; } context.write("\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t"); if ( image ) { context.write("\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\"");\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( headerTitle || headerDescription ) { context.write("\r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t\t"); if ( headerTitle ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write( system.partial("header-headline.html", i) ); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); context.write( headerDescription ); context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\r\n\r\n\t\t"); } context.write("\r\n\r\n
    \r\n
    \r\n
    \r\n\r\n"); var nextText = system.htmlEncode(page.attribute("header_next_text")) || "weiter"; var prevText = system.htmlEncode(page.attribute("header_prev_text")) || "zurück"; var inlineEditingInitDelay = 50; var useSmoothHeight = "true" === "false" ? "false" : "true"; if ( useSmoothHeight === "true" ){ inlineEditingInitDelay = 1000; } context.write("\r\n\r\n"); if ( numHeaders > 0 ) { context.write("\r\n\t\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580559743().executeScript(); 2020-07-14 20:57:38,088 [19] INFO - --------- 2020-07-14 20:57:38,088 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1721. 2020-07-14 20:57:38,089 [19] INFO - --------- 2020-07-14 20:57:38,092 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,092 [19] INFO - --------- 2020-07-14 20:57:38,093 [19] INFO - function SE637303570580469738() {} SE637303570580469738.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. var areaName = "Header"; var headers = page.articlesInArea(areaName); var headerShown = false; for ( var ihead = 0; ihead < headers.count; ++ihead ){ // in a header-area, we only render the first active container/row/article if ( headerShown && ihead > 0 ){ break; } context.write(headers.item(ihead).render()); headerShown = true; } context.write("\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580469738().executeScript(); 2020-07-14 20:57:38,093 [19] INFO - --------- 2020-07-14 20:57:38,093 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1722. 2020-07-14 20:57:38,094 [19] INFO - --------- 2020-07-14 20:57:38,095 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,095 [19] INFO - --------- 2020-07-14 20:57:38,095 [19] INFO - function SE637303570580959766() {} SE637303570580959766.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-hauptmenu-aktiv.html", p.id, 1) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-hauptmenu.html", p.id, 1) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580959766().executeScript(); 2020-07-14 20:57:38,096 [19] INFO - --------- 2020-07-14 20:57:38,102 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,102 [19] INFO - --------- 2020-07-14 20:57:38,103 [19] INFO - function SE637303570581029770() {} SE637303570581029770.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581029770().executeScript(); 2020-07-14 20:57:38,103 [19] INFO - --------- 2020-07-14 20:57:38,105 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,105 [19] INFO - --------- 2020-07-14 20:57:38,105 [19] INFO - function SE637303570581029770() {} SE637303570581029770.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581029770().executeScript(); 2020-07-14 20:57:38,106 [19] INFO - --------- 2020-07-14 20:57:38,106 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1723. 2020-07-14 20:57:38,106 [19] INFO - --------- 2020-07-14 20:57:38,112 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,112 [19] INFO - --------- 2020-07-14 20:57:38,112 [19] INFO - function SE637303570581129775() {} SE637303570581129775.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581129775().executeScript(); 2020-07-14 20:57:38,113 [19] INFO - --------- 2020-07-14 20:57:38,115 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,115 [19] INFO - --------- 2020-07-14 20:57:38,115 [19] INFO - function SE637303570581129775() {} SE637303570581129775.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581129775().executeScript(); 2020-07-14 20:57:38,116 [19] INFO - --------- 2020-07-14 20:57:38,116 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1724. 2020-07-14 20:57:38,116 [19] INFO - --------- 2020-07-14 20:57:38,118 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,119 [19] INFO - --------- 2020-07-14 20:57:38,119 [19] INFO - function SE637303570581189779() {} SE637303570581189779.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581189779().executeScript(); 2020-07-14 20:57:38,120 [19] INFO - --------- 2020-07-14 20:57:38,121 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,122 [19] INFO - --------- 2020-07-14 20:57:38,122 [19] INFO - function SE637303570581189779() {} SE637303570581189779.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581189779().executeScript(); 2020-07-14 20:57:38,122 [19] INFO - --------- 2020-07-14 20:57:38,123 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1725. 2020-07-14 20:57:38,123 [19] INFO - --------- 2020-07-14 20:57:38,125 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,125 [19] INFO - --------- 2020-07-14 20:57:38,125 [19] INFO - function SE637303570581259783() {} SE637303570581259783.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581259783().executeScript(); 2020-07-14 20:57:38,126 [19] INFO - --------- 2020-07-14 20:57:38,127 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,128 [19] INFO - --------- 2020-07-14 20:57:38,128 [19] INFO - function SE637303570581259783() {} SE637303570581259783.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581259783().executeScript(); 2020-07-14 20:57:38,128 [19] INFO - --------- 2020-07-14 20:57:38,129 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1726. 2020-07-14 20:57:38,129 [19] INFO - --------- 2020-07-14 20:57:38,132 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,132 [19] INFO - --------- 2020-07-14 20:57:38,133 [19] INFO - function SE637303570581329787() {} SE637303570581329787.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581329787().executeScript(); 2020-07-14 20:57:38,133 [19] INFO - --------- 2020-07-14 20:57:38,135 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,135 [19] INFO - --------- 2020-07-14 20:57:38,135 [19] INFO - function SE637303570581329787() {} SE637303570581329787.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581329787().executeScript(); 2020-07-14 20:57:38,136 [19] INFO - --------- 2020-07-14 20:57:38,136 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1727. 2020-07-14 20:57:38,136 [19] INFO - --------- 2020-07-14 20:57:38,138 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,138 [19] INFO - --------- 2020-07-14 20:57:38,139 [19] INFO - function SE637303570581389790() {} SE637303570581389790.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581389790().executeScript(); 2020-07-14 20:57:38,139 [19] INFO - --------- 2020-07-14 20:57:38,141 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,141 [19] INFO - --------- 2020-07-14 20:57:38,142 [19] INFO - function SE637303570581389790() {} SE637303570581389790.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581389790().executeScript(); 2020-07-14 20:57:38,142 [19] INFO - --------- 2020-07-14 20:57:38,142 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1728. 2020-07-14 20:57:38,143 [19] INFO - --------- 2020-07-14 20:57:38,145 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,145 [19] INFO - --------- 2020-07-14 20:57:38,145 [19] INFO - function SE637303570581459794() {} SE637303570581459794.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581459794().executeScript(); 2020-07-14 20:57:38,146 [19] INFO - --------- 2020-07-14 20:57:38,147 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,148 [19] INFO - --------- 2020-07-14 20:57:38,148 [19] INFO - function SE637303570581459794() {} SE637303570581459794.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581459794().executeScript(); 2020-07-14 20:57:38,148 [19] INFO - --------- 2020-07-14 20:57:38,149 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1729. 2020-07-14 20:57:38,149 [19] INFO - --------- 2020-07-14 20:57:38,150 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,150 [19] INFO - --------- 2020-07-14 20:57:38,151 [19] INFO - function SE637303570580959766() {} SE637303570580959766.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-hauptmenu-aktiv.html", p.id, 1) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-hauptmenu.html", p.id, 1) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570580959766().executeScript(); 2020-07-14 20:57:38,151 [19] INFO - --------- 2020-07-14 20:57:38,152 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1730. 2020-07-14 20:57:38,152 [19] INFO - --------- 2020-07-14 20:57:38,153 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,153 [19] INFO - --------- 2020-07-14 20:57:38,153 [19] INFO - function SE637303570581539799() {} SE637303570581539799.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-breadcrumb.html'. context.write(" \r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-breadcrumb.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581539799().executeScript(); 2020-07-14 20:57:38,154 [19] INFO - --------- 2020-07-14 20:57:38,155 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,155 [19] INFO - --------- 2020-07-14 20:57:38,156 [19] INFO - function SE637303570581539799() {} SE637303570581539799.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-breadcrumb.html'. context.write(" \r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-breadcrumb.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581539799().executeScript(); 2020-07-14 20:57:38,156 [19] INFO - --------- 2020-07-14 20:57:38,157 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1731. 2020-07-14 20:57:38,157 [19] INFO - --------- 2020-07-14 20:57:38,158 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,158 [19] INFO - --------- 2020-07-14 20:57:38,159 [19] INFO - function SE637303570581589802() {} SE637303570581589802.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\breadcrumbs.html'. var breadcrumb = context.param(0, ""); var breadcrumb_separator = context.param(1, ""); var pageId = page.id; var parentPage = page; var pagesArray = []; var startpage = projectFolder.startPage; // walk the page-tree upwards and store ids of pages which are visible in navigation while ( pageId !== 0 ){ if ( parentPage.type=="projectFolder" ){ break; // A project folder is currently always the top element in the page hierarchy chain, so it is safe to break here since no further pages can exist } else if ( parentPage.visible || parentPage.id == page.id ){ // add the current page (ignoring visibility) and all visible paren pages to the pagesArray pagesArray.unshift(parentPage.id); } var p = project.getPage(pageId); pageId = p.parentPageId; parentPage = project.getPage(pageId); } if ( pagesArray.length > 0 ){ context.write("\r\n\t"); context.write( breadcrumb ); context.write("\r\n\t
      \r\n\t"); } // if startPage isn't the displayed page already and is visible, // prefix the breadcrumbs with a link to it if ( startpage && startpage.visible && page.id !== startpage.id ){ context.write("\r\n\t
    1. \r\n\t\t"); context.write( startpage.name ); context.write("\r\n\t\t"); context.write( breadcrumb_separator ); context.write("\r\n\t
    2. \r\n\t"); } for ( var i = 0; i < pagesArray.length; ++i){ parentPage = project.getPage(pagesArray[i]); if ( i < pagesArray.length - 1 || (i == pagesArray.length-1 && page.id !== pagesArray[i]) ){ if ( parentPage.visible && !(startpage && parentPage.id == startpage.id) ){ context.write("\r\n\t\t
    3. \r\n\t\t\t"); context.write( parentPage.name ); context.write("\r\n\t\t\t"); if ( i < pagesArray.length - 1 ){ context.write("\r\n\t\t\t\t"); context.write( breadcrumb_separator ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t
    4. \r\n\t\t"); } } else{ context.write("\r\n\t\t
    5. \r\n\t\t\t"); context.write( parentPage.name ); context.write("\r\n\t\t
    6. \r\n\t\t"); } } if ( pagesArray.length > 0 ){ context.write("
    "); } context.write("\r\n\t\t\t\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\breadcrumbs.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581589802().executeScript(); 2020-07-14 20:57:38,160 [19] INFO - --------- 2020-07-14 20:57:38,166 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,166 [19] INFO - --------- 2020-07-14 20:57:38,166 [19] INFO - function SE637303570581589802() {} SE637303570581589802.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\breadcrumbs.html'. var breadcrumb = context.param(0, ""); var breadcrumb_separator = context.param(1, ""); var pageId = page.id; var parentPage = page; var pagesArray = []; var startpage = projectFolder.startPage; // walk the page-tree upwards and store ids of pages which are visible in navigation while ( pageId !== 0 ){ if ( parentPage.type=="projectFolder" ){ break; // A project folder is currently always the top element in the page hierarchy chain, so it is safe to break here since no further pages can exist } else if ( parentPage.visible || parentPage.id == page.id ){ // add the current page (ignoring visibility) and all visible paren pages to the pagesArray pagesArray.unshift(parentPage.id); } var p = project.getPage(pageId); pageId = p.parentPageId; parentPage = project.getPage(pageId); } if ( pagesArray.length > 0 ){ context.write("\r\n\t"); context.write( breadcrumb ); context.write("\r\n\t
      \r\n\t"); } // if startPage isn't the displayed page already and is visible, // prefix the breadcrumbs with a link to it if ( startpage && startpage.visible && page.id !== startpage.id ){ context.write("\r\n\t
    1. \r\n\t\t"); context.write( startpage.name ); context.write("\r\n\t\t"); context.write( breadcrumb_separator ); context.write("\r\n\t
    2. \r\n\t"); } for ( var i = 0; i < pagesArray.length; ++i){ parentPage = project.getPage(pagesArray[i]); if ( i < pagesArray.length - 1 || (i == pagesArray.length-1 && page.id !== pagesArray[i]) ){ if ( parentPage.visible && !(startpage && parentPage.id == startpage.id) ){ context.write("\r\n\t\t
    3. \r\n\t\t\t"); context.write( parentPage.name ); context.write("\r\n\t\t\t"); if ( i < pagesArray.length - 1 ){ context.write("\r\n\t\t\t\t"); context.write( breadcrumb_separator ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t
    4. \r\n\t\t"); } } else{ context.write("\r\n\t\t
    5. \r\n\t\t\t"); context.write( parentPage.name ); context.write("\r\n\t\t
    6. \r\n\t\t"); } } if ( pagesArray.length > 0 ){ context.write("
    "); } context.write("\r\n\t\t\t\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\breadcrumbs.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581589802().executeScript(); 2020-07-14 20:57:38,167 [19] INFO - --------- 2020-07-14 20:57:38,168 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1732. 2020-07-14 20:57:38,168 [19] INFO - --------- 2020-07-14 20:57:38,171 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,171 [19] INFO - --------- 2020-07-14 20:57:38,172 [19] INFO - function SE637303570581719809() {} SE637303570581719809.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. var areaName = context.param(0, "Standard"); var areaNameLc = areaName.toLowerCase(); var maxColumns = context.param(1, "0"); var cssRowClass = context.param(2, ""); var displayNumColumns = context.param(3, "12"); // number of columns to display. We always calculate with 12, but can display less var cssAreaClass = context.param(4, ""); var noBreakoutWithNews = context.param(5, true); var hideIeForArea = context.param(6, false); var canContainer = project.canContainer; var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas); var hasNews = page.hasArea("News") && (page.anyAreaArticles("News") || showEmptyArticleAreas); var hasNonSymlinkContainer = false; var lastContainerIsSymlink = false; if ( maxColumns == "1" ){ if ( cssRowClass == "" || cssRowClass == "noresize" ){ cssRowClass = "noresize"; } else{ cssRowClass += " noresize"; } } var intPreviewData = ''; if ( system.preview ){ // if internal preview, we add some additional data-attributes to the area // for access in JS (non internal scripting) intPreviewData += ' data-showemptyarticleareas="' + showEmptyArticleAreas + '"'; } context.write("\n\n
    \n\t"); var containers = page.containers(areaName); var firstC = 0; var lastC = containers.count-1; //system.log("last: " + lastC + " of " + containers.count); if ( lastC > firstC && !containers.item(lastC).hasArticles ){ // last container has no articles and is not rendered, so find last visible one for ( var ilcon = lastC; ilcon > 1; --ilcon ){ var lastContainer = containers.item(ilcon); if ( lastContainer.hasArticles ){ lastC = ilcon; break; } } } for ( var icon = 0; icon < containers.count; ++icon ){ var container = containers.item(icon); // if current container doesn't contain any articles, we skip this loop // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content if ( !container.hasArticles && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ firstC++; continue; } // append container styles to head via css var cid = container.id; var output = ""; var isSection = container.value("issection") == "1"; var isStyled = false; if ( container.value("fontcolor", "") !== "" && container.value("fontcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output = cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + container.value("fontcolor") + ";"; output += "}\n"; } if ( container.value("linkcolor", "") !== "" && container.value("linkcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output += "\n\n" + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles)"; output += ", " + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles):hover{"; output += "color: " + container.value("linkcolor") + ";"; output += "}\n"; } if ( container.value("margin", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("margin-top") ){ output += "margin-top: " + container.value("margin-top") + " !important;"; } if ( container.value("margin-bottom") ){ output += "margin-bottom: " + container.value("margin-bottom") + " !important;" ; } output += "}\n"; } if ( container.value("padding", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("padding-top") ){ output += "padding-top: " + container.value("padding-top") + " !important;"; } if ( container.value("padding-bottom") ){ output += "padding-bottom: " + container.value("padding-bottom") + " !important;"; } if ( container.value("padding-left") ){ output += "padding-left: " + container.value("padding-left") + " !important;"; } if ( container.value("padding-right") ){ output += "padding-right: " + container.value("padding-right") + " !important;"; } output += "}\n"; } if ( container.value("bgcolor", "") !== "" && container.value("bgcolor", "") !== "transparent" ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-color: " + container.value("bgcolor") + " !important;"; output += "}\n"; } var image = container.cssBackgroundImage("bgimage"); if ( image.imageUrl ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-image: url(" + image.imageUrl + ") !important;"; output += "background-repeat: " + image.repeat + " !important;"; output += "background-size: " + image.size + " !important;"; output += "background-position: " + (image.position !== "" ? image.position : "center center") + " !important;"; output += "background-attachment: " + (image.attachment !== "" ? image.attachment : "scroll") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var containerstyle = container.inlineCss || ""; containerstyle = containerstyle.toString().replace(/^\s+|\s+$/gm,''); // trim() // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( containerstyle && containerstyle.slice(-1) !== ";" ){ containerstyle += ";"; } var initialContainerstyle = containerstyle; containerstyle = containerstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( containerstyle ){ containerstyle = ' style="' + containerstyle + '"'; } if ( noBreakoutWithNews && system.preview && container.value("breakout") == "1" && hasNews ){ system.warn("Die 'Randlos-Option' für einen Container kann nicht berücksichtigt werden, weil der 'Einfügen-Schalter' auf an steht oder die Seite auch Artikel im News-Bereich enthält."); } var containerTag = "div"; if ( isSection ){ containerTag = "section"; } var containerIsSymlink = container.symlink ? true : false; if ( !containerIsSymlink ){ hasNonSymlinkContainer = true; } else if ( icon == containers.count-1 ){ lastContainerIsSymlink = true; } context.write("\n\t\t\t<"); context.write( containerTag ); context.write(" id=\"container_"); context.write( container.id ); context.write("\" class=\"zpContainer"); if (icon==firstC){ context.write(" first"); } if (icon==lastC){ context.write(" last"); } if( container.value("animate", "") !== "" && container.value("animate") !== "off" ){ context.write(" zpanimate "); context.write( container.value("animate")); } if( isStyled ){ context.write(" styled"); } context.write(" "); if ( container.value("breakout") == "1" ){ context.write("zpBreakout "); } if( noBreakoutWithNews && hasNews ) { context.write(" hasNews"); } context.write(" "); context.write( container.cssClass ); context.write("\""); context.write( containerstyle ); context.write(" \n\t\t\t\t data-zpeleel=\"container\" data-zpleid=\""); context.write( container.id ); context.write("\">\n\t\t\t"); var paragraphs = container.paragraphs; for ( var ipar = 0; ipar < paragraphs.count; ++ipar ){ var additionalRowClass = ""; var paragraph = paragraphs.item(ipar); var columns = paragraph.columns; // if current paragraph doesn't contain articles, we skip the loop, so we don't print empty paragraphs // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content var articleCount = paragraph.articles.count; if ( articleCount < 1 && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ continue; } else if ( articleCount > 0 ){ // set special rowClass for Articles which are not visible, so we can remove any margins which might not be desired var firstWidgetName = paragraph.articles.item(0).widgetName; switch(firstWidgetName) { case "Info-Banner": additionalRowClass = " alertbanner"; break; case "Quelltext": additionalRowClass = " quelltext"; break; case "Slider": additionalRowClass = " zpwSlider"; break; case "Carousel": additionalRowClass = " zpwCarousel"; break; case "Navigationsmenü": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Navigationsmenü manuell": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Video-Hintergrund": additionalRowClass = " zpvideobg"; break; } // append row styles to head via css var rid = paragraph.id; var output = ""; if ( paragraph.value("margin", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("margin-top") ){ output += "margin-top: " + paragraph.value("margin-top", "initial") + " !important;"; } if ( paragraph.value("margin-bottom") ){ output += "margin-bottom: " + paragraph.value("margin-bottom", "initial") + " !important;" ; } output += "}\n"; } if ( paragraph.value("padding", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("padding-top") ){ output += "padding-top: " + paragraph.value("padding-top") + " !important;"; } if ( paragraph.value("padding-bottom") ){ output += "padding-bottom: " + paragraph.value("padding-bottom") + " !important;"; } if ( paragraph.value("padding-left") ){ output += "padding-left: " + paragraph.value("padding-left") + " !important;"; } if ( paragraph.value("padding-right") ){ output += "padding-right: " + paragraph.value("padding-right") + " !important;"; } output += "}\n"; } if ( paragraph.value("bgcolor", "") !== "" && paragraph.value("bgcolor", "") !== "transparent" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-color: " + paragraph.value("bgcolor") + " !important;"; output += "}\n"; } var pimage = paragraph.cssBackgroundImage("bgimage"); if ( pimage.imageUrl ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-image: url(" + pimage.imageUrl + ") !important;"; output += "background-repeat: " + pimage.repeat + " !important;"; output += "background-size: " + pimage.size + " !important;"; output += "background-position: " + (pimage.position !== "" ? pimage.position : "center center") + " !important;"; output += "background-attachment: " + (pimage.attachment !== "" ? pimage.attachment : "scroll") + ";"; output += "}\n"; } if ( paragraph.value("justifycontent", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "justify-content: " + paragraph.value("justifycontent") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } // paragraph styles var rowstyle = paragraph.inlineCss || ""; rowstyle = rowstyle.toString().replace(/^\s+|\s+$/gm,''); // trim(); // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( rowstyle && rowstyle.slice(-1) !== ";" ){ rowstyle += ";"; } context.write("\n\t\t\n\t\t\t\t\t"); if ( paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t"); rowstyle = " width: 100%; margin: 0 auto; float: none;"; } rowstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( rowstyle ){ rowstyle = ' style="' + rowstyle + '"'; } } context.write("\n\t\t\t\t\t
    \n\t\t\t\t\t>\n\t\t\n\t\t\t\t\t"); var evenodd = "even"; for ( var icol = 0; icol < columns.count; ++icol ){ var column = columns.item(icol); var articles = column.articles; var coid = column.id; var output = ""; var isStyled = false; var selectorPrefix = "#container_" + cid + " "; if ( column.value("bgcolor", "") !== "" && column.value("bgcolor", "") !== "transparent" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "background-color: " + column.value("bgcolor") + ";"; output += "padding-top: 15px;"; output += "padding-bottom: 15px;"; output += "}\n"; isStyled = true; } if ( column.value("fontcolor", "") !== "" && column.value("fontcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + column.value("fontcolor") + ";"; output += "}\n"; } if ( column.value("linkcolor", "") !== "" && column.value("linkcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += "\n\n" + cssSelector + " a:not(.button)"; output += ", " + cssSelector + " a:not(.button):hover{"; output += "color: " + column.value("linkcolor") + ";"; output += "}\n"; } if ( column.value("align-self", "") !== "" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "align-self: " + column.value("align-self") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var clearCss = column.value("clearLeft") ? "clear: left;" : ""; if ( column.articles.count > 0 ){ var firstWidgetName = articles.item(0).widgetName; } else{ var firstWidgetName = ""; } // used in a className, alternate between even and odd, not taking into account zpSpacer-Columns if( firstWidgetName !== "Spacer" ){ if( evenodd === "even" ){ evenodd = "odd"; } else{ evenodd = "even"; } var additionalColumnClass = " " + evenodd; } else{ var additionalColumnClass = ""; } // if a spacer-widget is alone in a column, we set a class .zpSpacer, so we can set the width of spacer-widgets responsively in zpgrid.less accordingly if ( firstWidgetName == "Spacer" && column.articles.count < 2 ){ additionalColumnClass += " zpSpacer"; } else if ( firstWidgetName == "Navigationsmenü" ){ additionalColumnClass += " zpnavmenu"; } // TODO move adding of missing classes to converter and remove next 4 lines var columnCssClass = column.cssClass; if ( !column.cssClass || !column.cssClass.match(/\bc[1-9][0-2]?\b/) ){ columnCssClass = "c" + String(Math.round(12 / columns.count - 0.1)) ; } if ( column.value("clearLeft") ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t>\n\t\t\t\n\t\t\t\t\t\t\t"); for ( var iart = 0; iart < articles.count; ++iart ){ var a = articles.item(iart); context.write(a.render()); } context.write("\n\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\n\t\t\t\t\t\t"); } // insert zp-ad-box in last row of last container on impressum pages if ( system.isFreeware && areaName.toLowerCase() == "standard" && page.isSpecialPage("legal") && icon == containers.count-1 && ipar == paragraphs.count-1 ){ context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t"); context.write( system.partial("zpinfolegal.html") ); context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\n\t\t\t\t\t
    \n\t\t\t\t"); if ( articleCount > 0 && paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t
    \n\t\t\t\t"); } context.write("\n\t\t\n\t\t\t\t"); } context.write(""); } context.write("\n\t"); if ( !hideIeForArea ) { context.write("\n\t\t\n\t"); } context.write("\n
    \n\n"); // insert overlay on startpage if ( !system.preview && system.isFreeware && areaName.toLowerCase() == "standard" && projectFolder.startPage && projectFolder.startPage.id == page.id ){ context.write("\n\t\t"); context.write( system.partial("zpinfooverlay.html") ); context.write("\n\t\t"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581719809().executeScript(); 2020-07-14 20:57:38,173 [19] INFO - --------- 2020-07-14 20:57:38,211 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,211 [19] INFO - --------- 2020-07-14 20:57:38,211 [19] INFO - function SE637303570582119832() {} SE637303570582119832.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582119832().executeScript(); 2020-07-14 20:57:38,212 [19] INFO - --------- 2020-07-14 20:57:38,214 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,214 [19] INFO - --------- 2020-07-14 20:57:38,214 [19] INFO - function SE637303570582149834() {} SE637303570582149834.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582149834().executeScript(); 2020-07-14 20:57:38,215 [19] INFO - --------- 2020-07-14 20:57:38,220 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,220 [19] INFO - --------- 2020-07-14 20:57:38,221 [19] INFO - function SE637303570582149834() {} SE637303570582149834.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582149834().executeScript(); 2020-07-14 20:57:38,221 [19] INFO - --------- 2020-07-14 20:57:38,221 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1733. 2020-07-14 20:57:38,222 [19] INFO - --------- 2020-07-14 20:57:38,223 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,223 [19] INFO - --------- 2020-07-14 20:57:38,223 [19] INFO - function SE637303570582239839() {} SE637303570582239839.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582239839().executeScript(); 2020-07-14 20:57:38,224 [19] INFO - --------- 2020-07-14 20:57:38,227 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,227 [19] INFO - --------- 2020-07-14 20:57:38,228 [19] INFO - function SE637303570582239839() {} SE637303570582239839.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582239839().executeScript(); 2020-07-14 20:57:38,228 [19] INFO - --------- 2020-07-14 20:57:38,228 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1734. 2020-07-14 20:57:38,229 [19] INFO - --------- 2020-07-14 20:57:38,230 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,230 [19] INFO - --------- 2020-07-14 20:57:38,230 [19] INFO - function SE637303570582309843() {} SE637303570582309843.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582309843().executeScript(); 2020-07-14 20:57:38,231 [19] INFO - --------- 2020-07-14 20:57:38,233 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,233 [19] INFO - --------- 2020-07-14 20:57:38,234 [19] INFO - function SE637303570582309843() {} SE637303570582309843.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582309843().executeScript(); 2020-07-14 20:57:38,234 [19] INFO - --------- 2020-07-14 20:57:38,234 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1735. 2020-07-14 20:57:38,234 [19] INFO - --------- 2020-07-14 20:57:38,235 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,236 [19] INFO - --------- 2020-07-14 20:57:38,236 [19] INFO - function SE637303570582359846() {} SE637303570582359846.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582359846().executeScript(); 2020-07-14 20:57:38,236 [19] INFO - --------- 2020-07-14 20:57:38,238 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,238 [19] INFO - --------- 2020-07-14 20:57:38,239 [19] INFO - function SE637303570582359846() {} SE637303570582359846.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582359846().executeScript(); 2020-07-14 20:57:38,239 [19] INFO - --------- 2020-07-14 20:57:38,239 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1736. 2020-07-14 20:57:38,240 [19] INFO - --------- 2020-07-14 20:57:38,241 [19] INFO - Finished executing the following script: 2020-07-14 20:57:38,241 [19] INFO - --------- 2020-07-14 20:57:38,241 [19] INFO - function SE637303570582119832() {} SE637303570582119832.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582119832().executeScript(); 2020-07-14 20:57:38,242 [19] INFO - --------- 2020-07-14 20:57:38,242 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1737. 2020-07-14 20:57:38,242 [19] INFO - --------- 2020-07-14 20:57:38,254 [19] INFO - About to execute the following script: 2020-07-14 20:57:38,254 [19] INFO - --------- 2020-07-14 20:57:38,254 [19] INFO - function SE637303570582539856() {} SE637303570582539856.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582539856().executeScript(); 2020-07-14 20:57:38,255 [19] INFO - --------- 2020-07-14 20:57:39,507 [19] INFO - About to execute the following script: 2020-07-14 20:57:39,507 [19] INFO - --------- 2020-07-14 20:57:39,508 [19] INFO - function SE637303570595070573() {} SE637303570595070573.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595070573().executeScript(); 2020-07-14 20:57:39,508 [19] INFO - --------- 2020-07-14 20:57:39,516 [19] INFO - Finished executing the following script: 2020-07-14 20:57:39,517 [19] INFO - --------- 2020-07-14 20:57:39,517 [19] INFO - function SE637303570595070573() {} SE637303570595070573.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595070573().executeScript(); 2020-07-14 20:57:39,518 [19] INFO - --------- 2020-07-14 20:57:39,518 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1738. 2020-07-14 20:57:39,518 [19] INFO - --------- 2020-07-14 20:57:39,520 [19] INFO - Finished executing the following script: 2020-07-14 20:57:39,521 [19] INFO - --------- 2020-07-14 20:57:39,521 [19] INFO - function SE637303570582539856() {} SE637303570582539856.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570582539856().executeScript(); 2020-07-14 20:57:39,523 [19] INFO - --------- 2020-07-14 20:57:39,523 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1739. 2020-07-14 20:57:39,523 [19] INFO - --------- 2020-07-14 20:57:39,536 [19] INFO - About to execute the following script: 2020-07-14 20:57:39,536 [19] INFO - --------- 2020-07-14 20:57:39,536 [19] INFO - function SE637303570595360589() {} SE637303570595360589.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595360589().executeScript(); 2020-07-14 20:57:39,537 [19] INFO - --------- 2020-07-14 20:57:39,538 [19] INFO - About to execute the following script: 2020-07-14 20:57:39,539 [19] INFO - --------- 2020-07-14 20:57:39,539 [19] INFO - function SE637303570595380591() {} SE637303570595380591.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595380591().executeScript(); 2020-07-14 20:57:39,539 [19] INFO - --------- 2020-07-14 20:57:39,544 [19] INFO - Finished executing the following script: 2020-07-14 20:57:39,545 [19] INFO - --------- 2020-07-14 20:57:39,545 [19] INFO - function SE637303570595380591() {} SE637303570595380591.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595380591().executeScript(); 2020-07-14 20:57:39,546 [19] INFO - --------- 2020-07-14 20:57:39,546 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1740. 2020-07-14 20:57:39,546 [19] INFO - --------- 2020-07-14 20:57:39,547 [19] INFO - About to execute the following script: 2020-07-14 20:57:39,547 [19] INFO - --------- 2020-07-14 20:57:39,548 [19] INFO - function SE637303570595470596() {} SE637303570595470596.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595470596().executeScript(); 2020-07-14 20:57:39,548 [19] INFO - --------- 2020-07-14 20:57:39,551 [19] INFO - Finished executing the following script: 2020-07-14 20:57:39,552 [19] INFO - --------- 2020-07-14 20:57:39,552 [19] INFO - function SE637303570595470596() {} SE637303570595470596.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595470596().executeScript(); 2020-07-14 20:57:39,552 [19] INFO - --------- 2020-07-14 20:57:39,553 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1741. 2020-07-14 20:57:39,553 [19] INFO - --------- 2020-07-14 20:57:39,554 [19] INFO - About to execute the following script: 2020-07-14 20:57:39,554 [19] INFO - --------- 2020-07-14 20:57:39,554 [19] INFO - function SE637303570595540600() {} SE637303570595540600.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595540600().executeScript(); 2020-07-14 20:57:39,555 [19] INFO - --------- 2020-07-14 20:57:39,557 [19] INFO - Finished executing the following script: 2020-07-14 20:57:39,558 [19] INFO - --------- 2020-07-14 20:57:39,558 [19] INFO - function SE637303570595540600() {} SE637303570595540600.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595540600().executeScript(); 2020-07-14 20:57:39,558 [19] INFO - --------- 2020-07-14 20:57:39,559 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1742. 2020-07-14 20:57:39,559 [19] INFO - --------- 2020-07-14 20:57:39,560 [19] INFO - About to execute the following script: 2020-07-14 20:57:39,560 [19] INFO - --------- 2020-07-14 20:57:39,560 [19] INFO - function SE637303570595600603() {} SE637303570595600603.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595600603().executeScript(); 2020-07-14 20:57:39,561 [19] INFO - --------- 2020-07-14 20:57:39,562 [19] INFO - Finished executing the following script: 2020-07-14 20:57:39,562 [19] INFO - --------- 2020-07-14 20:57:39,563 [19] INFO - function SE637303570595600603() {} SE637303570595600603.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595600603().executeScript(); 2020-07-14 20:57:39,563 [19] INFO - --------- 2020-07-14 20:57:39,563 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1743. 2020-07-14 20:57:39,564 [19] INFO - --------- 2020-07-14 20:57:39,565 [19] INFO - Finished executing the following script: 2020-07-14 20:57:39,565 [19] INFO - --------- 2020-07-14 20:57:39,565 [19] INFO - function SE637303570595360589() {} SE637303570595360589.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595360589().executeScript(); 2020-07-14 20:57:39,566 [19] INFO - --------- 2020-07-14 20:57:39,566 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1744. 2020-07-14 20:57:39,566 [19] INFO - --------- 2020-07-14 20:57:39,580 [19] INFO - About to execute the following script: 2020-07-14 20:57:39,580 [19] INFO - --------- 2020-07-14 20:57:39,580 [19] INFO - function SE637303570595800615() {} SE637303570595800615.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595800615().executeScript(); 2020-07-14 20:57:39,581 [19] INFO - --------- 2020-07-14 20:57:41,281 [19] INFO - About to execute the following script: 2020-07-14 20:57:41,281 [19] INFO - --------- 2020-07-14 20:57:41,282 [19] INFO - function SE637303570612811588() {} SE637303570612811588.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570612811588().executeScript(); 2020-07-14 20:57:41,282 [19] INFO - --------- 2020-07-14 20:57:41,287 [19] INFO - Finished executing the following script: 2020-07-14 20:57:41,288 [19] INFO - --------- 2020-07-14 20:57:41,288 [19] INFO - function SE637303570612811588() {} SE637303570612811588.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570612811588().executeScript(); 2020-07-14 20:57:41,289 [19] INFO - --------- 2020-07-14 20:57:41,289 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1745. 2020-07-14 20:57:41,289 [19] INFO - --------- 2020-07-14 20:57:41,292 [19] INFO - Finished executing the following script: 2020-07-14 20:57:41,292 [19] INFO - --------- 2020-07-14 20:57:41,292 [19] INFO - function SE637303570595800615() {} SE637303570595800615.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570595800615().executeScript(); 2020-07-14 20:57:41,294 [19] INFO - --------- 2020-07-14 20:57:41,294 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1746. 2020-07-14 20:57:41,294 [19] INFO - --------- 2020-07-14 20:57:41,312 [19] INFO - About to execute the following script: 2020-07-14 20:57:41,313 [19] INFO - --------- 2020-07-14 20:57:41,313 [19] INFO - function SE637303570613121605() {} SE637303570613121605.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613121605().executeScript(); 2020-07-14 20:57:41,313 [19] INFO - --------- 2020-07-14 20:57:41,315 [19] INFO - About to execute the following script: 2020-07-14 20:57:41,315 [19] INFO - --------- 2020-07-14 20:57:41,315 [19] INFO - function SE637303570613151607() {} SE637303570613151607.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613151607().executeScript(); 2020-07-14 20:57:41,316 [19] INFO - --------- 2020-07-14 20:57:41,322 [19] INFO - Finished executing the following script: 2020-07-14 20:57:41,323 [19] INFO - --------- 2020-07-14 20:57:41,323 [19] INFO - function SE637303570613151607() {} SE637303570613151607.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613151607().executeScript(); 2020-07-14 20:57:41,323 [19] INFO - --------- 2020-07-14 20:57:41,324 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1747. 2020-07-14 20:57:41,324 [19] INFO - --------- 2020-07-14 20:57:41,325 [19] INFO - About to execute the following script: 2020-07-14 20:57:41,325 [19] INFO - --------- 2020-07-14 20:57:41,325 [19] INFO - function SE637303570613251613() {} SE637303570613251613.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613251613().executeScript(); 2020-07-14 20:57:41,326 [19] INFO - --------- 2020-07-14 20:57:41,328 [19] INFO - Finished executing the following script: 2020-07-14 20:57:41,328 [19] INFO - --------- 2020-07-14 20:57:41,328 [19] INFO - function SE637303570613251613() {} SE637303570613251613.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613251613().executeScript(); 2020-07-14 20:57:41,329 [19] INFO - --------- 2020-07-14 20:57:41,330 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1748. 2020-07-14 20:57:41,330 [19] INFO - --------- 2020-07-14 20:57:41,331 [19] INFO - About to execute the following script: 2020-07-14 20:57:41,331 [19] INFO - --------- 2020-07-14 20:57:41,331 [19] INFO - function SE637303570613311616() {} SE637303570613311616.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613311616().executeScript(); 2020-07-14 20:57:41,332 [19] INFO - --------- 2020-07-14 20:57:41,334 [19] INFO - Finished executing the following script: 2020-07-14 20:57:41,334 [19] INFO - --------- 2020-07-14 20:57:41,335 [19] INFO - function SE637303570613311616() {} SE637303570613311616.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613311616().executeScript(); 2020-07-14 20:57:41,335 [19] INFO - --------- 2020-07-14 20:57:41,335 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1749. 2020-07-14 20:57:41,336 [19] INFO - --------- 2020-07-14 20:57:41,336 [19] INFO - About to execute the following script: 2020-07-14 20:57:41,337 [19] INFO - --------- 2020-07-14 20:57:41,337 [19] INFO - function SE637303570613361619() {} SE637303570613361619.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613361619().executeScript(); 2020-07-14 20:57:41,337 [19] INFO - --------- 2020-07-14 20:57:41,339 [19] INFO - Finished executing the following script: 2020-07-14 20:57:41,339 [19] INFO - --------- 2020-07-14 20:57:41,339 [19] INFO - function SE637303570613361619() {} SE637303570613361619.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613361619().executeScript(); 2020-07-14 20:57:41,340 [19] INFO - --------- 2020-07-14 20:57:41,340 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1750. 2020-07-14 20:57:41,340 [19] INFO - --------- 2020-07-14 20:57:41,341 [19] INFO - Finished executing the following script: 2020-07-14 20:57:41,341 [19] INFO - --------- 2020-07-14 20:57:41,342 [19] INFO - function SE637303570613121605() {} SE637303570613121605.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613121605().executeScript(); 2020-07-14 20:57:41,342 [19] INFO - --------- 2020-07-14 20:57:41,342 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1751. 2020-07-14 20:57:41,343 [19] INFO - --------- 2020-07-14 20:57:41,358 [19] INFO - About to execute the following script: 2020-07-14 20:57:41,359 [19] INFO - --------- 2020-07-14 20:57:41,359 [19] INFO - function SE637303570613581632() {} SE637303570613581632.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613581632().executeScript(); 2020-07-14 20:57:41,360 [19] INFO - --------- 2020-07-14 20:57:43,121 [19] INFO - About to execute the following script: 2020-07-14 20:57:43,524 [19] INFO - --------- 2020-07-14 20:57:43,525 [19] INFO - function SE637303570631212640() {} SE637303570631212640.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570631212640().executeScript(); 2020-07-14 20:57:43,525 [19] INFO - --------- 2020-07-14 20:57:43,530 [19] INFO - Finished executing the following script: 2020-07-14 20:57:43,531 [19] INFO - --------- 2020-07-14 20:57:43,531 [19] INFO - function SE637303570631212640() {} SE637303570631212640.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570631212640().executeScript(); 2020-07-14 20:57:43,532 [19] INFO - --------- 2020-07-14 20:57:43,532 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1752. 2020-07-14 20:57:43,532 [19] INFO - --------- 2020-07-14 20:57:43,535 [19] INFO - Finished executing the following script: 2020-07-14 20:57:43,535 [19] INFO - --------- 2020-07-14 20:57:43,536 [19] INFO - function SE637303570613581632() {} SE637303570613581632.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570613581632().executeScript(); 2020-07-14 20:57:43,537 [19] INFO - --------- 2020-07-14 20:57:43,537 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1753. 2020-07-14 20:57:43,537 [19] INFO - --------- 2020-07-14 20:57:43,545 [19] INFO - About to execute the following script: 2020-07-14 20:57:43,545 [19] INFO - --------- 2020-07-14 20:57:43,546 [19] INFO - function SE637303570635452883() {} SE637303570635452883.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635452883().executeScript(); 2020-07-14 20:57:43,547 [19] INFO - --------- 2020-07-14 20:57:43,548 [19] INFO - About to execute the following script: 2020-07-14 20:57:43,548 [19] INFO - --------- 2020-07-14 20:57:43,549 [19] INFO - function SE637303570635482884() {} SE637303570635482884.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635482884().executeScript(); 2020-07-14 20:57:43,549 [19] INFO - --------- 2020-07-14 20:57:43,557 [19] INFO - Finished executing the following script: 2020-07-14 20:57:43,557 [19] INFO - --------- 2020-07-14 20:57:43,557 [19] INFO - function SE637303570635482884() {} SE637303570635482884.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635482884().executeScript(); 2020-07-14 20:57:43,558 [19] INFO - --------- 2020-07-14 20:57:43,558 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1754. 2020-07-14 20:57:43,559 [19] INFO - --------- 2020-07-14 20:57:43,559 [19] INFO - About to execute the following script: 2020-07-14 20:57:43,560 [19] INFO - --------- 2020-07-14 20:57:43,560 [19] INFO - function SE637303570635592891() {} SE637303570635592891.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635592891().executeScript(); 2020-07-14 20:57:43,560 [19] INFO - --------- 2020-07-14 20:57:43,564 [19] INFO - Finished executing the following script: 2020-07-14 20:57:43,564 [19] INFO - --------- 2020-07-14 20:57:43,565 [19] INFO - function SE637303570635592891() {} SE637303570635592891.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635592891().executeScript(); 2020-07-14 20:57:43,565 [19] INFO - --------- 2020-07-14 20:57:43,565 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1755. 2020-07-14 20:57:43,566 [19] INFO - --------- 2020-07-14 20:57:43,566 [19] INFO - About to execute the following script: 2020-07-14 20:57:43,567 [19] INFO - --------- 2020-07-14 20:57:43,567 [19] INFO - function SE637303570635662895() {} SE637303570635662895.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635662895().executeScript(); 2020-07-14 20:57:43,567 [19] INFO - --------- 2020-07-14 20:57:43,570 [19] INFO - Finished executing the following script: 2020-07-14 20:57:43,570 [19] INFO - --------- 2020-07-14 20:57:43,570 [19] INFO - function SE637303570635662895() {} SE637303570635662895.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635662895().executeScript(); 2020-07-14 20:57:43,571 [19] INFO - --------- 2020-07-14 20:57:43,571 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1756. 2020-07-14 20:57:43,571 [19] INFO - --------- 2020-07-14 20:57:43,572 [19] INFO - About to execute the following script: 2020-07-14 20:57:43,572 [19] INFO - --------- 2020-07-14 20:57:43,573 [19] INFO - function SE637303570635722898() {} SE637303570635722898.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635722898().executeScript(); 2020-07-14 20:57:43,573 [19] INFO - --------- 2020-07-14 20:57:43,574 [19] INFO - Finished executing the following script: 2020-07-14 20:57:43,575 [19] INFO - --------- 2020-07-14 20:57:43,575 [19] INFO - function SE637303570635722898() {} SE637303570635722898.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635722898().executeScript(); 2020-07-14 20:57:43,575 [19] INFO - --------- 2020-07-14 20:57:43,575 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1757. 2020-07-14 20:57:43,576 [19] INFO - --------- 2020-07-14 20:57:43,577 [19] INFO - Finished executing the following script: 2020-07-14 20:57:43,577 [19] INFO - --------- 2020-07-14 20:57:43,577 [19] INFO - function SE637303570635452883() {} SE637303570635452883.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635452883().executeScript(); 2020-07-14 20:57:43,578 [19] INFO - --------- 2020-07-14 20:57:43,578 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1758. 2020-07-14 20:57:43,578 [19] INFO - --------- 2020-07-14 20:57:43,599 [19] INFO - About to execute the following script: 2020-07-14 20:57:43,599 [19] INFO - --------- 2020-07-14 20:57:43,600 [19] INFO - function SE637303570635992913() {} SE637303570635992913.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635992913().executeScript(); 2020-07-14 20:57:43,601 [19] INFO - --------- 2020-07-14 20:57:45,018 [19] INFO - About to execute the following script: 2020-07-14 20:57:45,018 [19] INFO - --------- 2020-07-14 20:57:45,018 [19] INFO - function SE637303570650183725() {} SE637303570650183725.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570650183725().executeScript(); 2020-07-14 20:57:45,019 [19] INFO - --------- 2020-07-14 20:57:45,024 [19] INFO - Finished executing the following script: 2020-07-14 20:57:45,025 [19] INFO - --------- 2020-07-14 20:57:45,025 [19] INFO - function SE637303570650183725() {} SE637303570650183725.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570650183725().executeScript(); 2020-07-14 20:57:45,025 [19] INFO - --------- 2020-07-14 20:57:45,026 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1759. 2020-07-14 20:57:45,026 [19] INFO - --------- 2020-07-14 20:57:45,029 [19] INFO - Finished executing the following script: 2020-07-14 20:57:45,029 [19] INFO - --------- 2020-07-14 20:57:45,029 [19] INFO - function SE637303570635992913() {} SE637303570635992913.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570635992913().executeScript(); 2020-07-14 20:57:45,030 [19] INFO - --------- 2020-07-14 20:57:45,031 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1760. 2020-07-14 20:57:45,031 [19] INFO - --------- 2020-07-14 20:57:45,036 [19] INFO - About to execute the following script: 2020-07-14 20:57:45,036 [19] INFO - --------- 2020-07-14 20:57:45,036 [19] INFO - function SE637303570650353735() {} SE637303570650353735.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570650353735().executeScript(); 2020-07-14 20:57:45,038 [19] INFO - --------- 2020-07-14 20:57:46,521 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,522 [19] INFO - --------- 2020-07-14 20:57:46,522 [19] INFO - function SE637303570665214585() {} SE637303570665214585.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665214585().executeScript(); 2020-07-14 20:57:46,523 [19] INFO - --------- 2020-07-14 20:57:46,528 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,528 [19] INFO - --------- 2020-07-14 20:57:46,528 [19] INFO - function SE637303570665214585() {} SE637303570665214585.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665214585().executeScript(); 2020-07-14 20:57:46,529 [19] INFO - --------- 2020-07-14 20:57:46,529 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1761. 2020-07-14 20:57:46,529 [19] INFO - --------- 2020-07-14 20:57:46,532 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,532 [19] INFO - --------- 2020-07-14 20:57:46,532 [19] INFO - function SE637303570650353735() {} SE637303570650353735.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570650353735().executeScript(); 2020-07-14 20:57:46,534 [19] INFO - --------- 2020-07-14 20:57:46,534 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1762. 2020-07-14 20:57:46,534 [19] INFO - --------- 2020-07-14 20:57:46,559 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,559 [19] INFO - --------- 2020-07-14 20:57:46,559 [19] INFO - function SE637303570665594607() {} SE637303570665594607.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665594607().executeScript(); 2020-07-14 20:57:46,560 [19] INFO - --------- 2020-07-14 20:57:46,561 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,561 [19] INFO - --------- 2020-07-14 20:57:46,562 [19] INFO - function SE637303570665614608() {} SE637303570665614608.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665614608().executeScript(); 2020-07-14 20:57:46,562 [19] INFO - --------- 2020-07-14 20:57:46,568 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,568 [19] INFO - --------- 2020-07-14 20:57:46,568 [19] INFO - function SE637303570665614608() {} SE637303570665614608.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665614608().executeScript(); 2020-07-14 20:57:46,569 [19] INFO - --------- 2020-07-14 20:57:46,569 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1763. 2020-07-14 20:57:46,570 [19] INFO - --------- 2020-07-14 20:57:46,570 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,571 [19] INFO - --------- 2020-07-14 20:57:46,571 [19] INFO - function SE637303570665704613() {} SE637303570665704613.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665704613().executeScript(); 2020-07-14 20:57:46,572 [19] INFO - --------- 2020-07-14 20:57:46,573 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,574 [19] INFO - --------- 2020-07-14 20:57:46,574 [19] INFO - function SE637303570665704613() {} SE637303570665704613.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665704613().executeScript(); 2020-07-14 20:57:46,574 [19] INFO - --------- 2020-07-14 20:57:46,575 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1764. 2020-07-14 20:57:46,575 [19] INFO - --------- 2020-07-14 20:57:46,576 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,576 [19] INFO - --------- 2020-07-14 20:57:46,576 [19] INFO - function SE637303570665764616() {} SE637303570665764616.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665764616().executeScript(); 2020-07-14 20:57:46,577 [19] INFO - --------- 2020-07-14 20:57:46,579 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,579 [19] INFO - --------- 2020-07-14 20:57:46,580 [19] INFO - function SE637303570665764616() {} SE637303570665764616.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665764616().executeScript(); 2020-07-14 20:57:46,580 [19] INFO - --------- 2020-07-14 20:57:46,580 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1765. 2020-07-14 20:57:46,581 [19] INFO - --------- 2020-07-14 20:57:46,582 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,582 [19] INFO - --------- 2020-07-14 20:57:46,583 [19] INFO - function SE637303570665824620() {} SE637303570665824620.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665824620().executeScript(); 2020-07-14 20:57:46,583 [19] INFO - --------- 2020-07-14 20:57:46,584 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,584 [19] INFO - --------- 2020-07-14 20:57:46,585 [19] INFO - function SE637303570665824620() {} SE637303570665824620.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665824620().executeScript(); 2020-07-14 20:57:46,585 [19] INFO - --------- 2020-07-14 20:57:46,585 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1766. 2020-07-14 20:57:46,586 [19] INFO - --------- 2020-07-14 20:57:46,587 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,587 [19] INFO - --------- 2020-07-14 20:57:46,587 [19] INFO - function SE637303570665594607() {} SE637303570665594607.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665594607().executeScript(); 2020-07-14 20:57:46,588 [19] INFO - --------- 2020-07-14 20:57:46,588 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1767. 2020-07-14 20:57:46,588 [19] INFO - --------- 2020-07-14 20:57:46,591 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,591 [19] INFO - --------- 2020-07-14 20:57:46,591 [19] INFO - function SE637303570665904624() {} SE637303570665904624.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. var imagesPerPage = parseInt(article.value("imagesperpage", 0)); var isPaging = false; var contentImageWidth = "890"; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl hohlen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || 960; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } // if page contains a news area, we only approximate a 2/3 1/3 size layout in order to calculate thumbnails if ( article.area.toLowerCase() == "news" ){ gridCols = 4; } else if ( page.anyAreaArticles("News") ){ gridCols = 8; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } var showSlideshow = article.value("slideshow"); var albumId = article.value("album"); var images = project.getAlbumImages(albumId); var thumbnailWidth = article.value("width"); var thumbnailHeight = article.value("height"); var titlePosition = article.value("titleposition"); var thumbTitlePosition = article.value("thumbtitleposition", "off"); var imageMargin = parseInt(article.value("margin", "0")); // figure out if images have a border set in layout-settings and compensate for it, if the article doesn't have a custom class "noborder" set var imageBorder = 0; var tmpArticleCssClass = " " + article.cssClass; if ( tmpArticleCssClass.indexOf("noborder") == -1 && "" != "0" && "" != "" ) { imageBorder = parseInt(""); } var generateThumbs = true; if ( titlePosition !== "off" ) { var titleShow = "1"; } else { var titleShow = "0"; } if ( "de" == "en" ) { var lang = "en"; } else { var lang = "de"; } var backgroundImage = backgroundWidth = backgroundHeight = backgroundLeft = backgroundTop = ""; if ( showSlideshow && article.valueRaw("slideshowtemplate") !== "none" ) { backgroundImage = article.value("slideshowtemplate", ""); if ( backgroundImage.indexOf("/laptop.png") > -1 ) { backgroundImage = "assets/js/img/laptop.png"; var backgroundWidth = "801"; var backgroundHeight = "469"; var backgroundLeft= "104"; var backgroundTop = "31"; thumbnailWidth = "590"; thumbnailHeight = "369"; } else if ( backgroundImage.indexOf("/laptop_klein.png") > -1 ) { backgroundImage = "assets/js/img/laptop_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "268"; var backgroundLeft= "59"; var backgroundTop = "18"; thumbnailWidth = "338"; thumbnailHeight = "211"; } else if ( backgroundImage.indexOf("/rahmen.png") > -1 ) { backgroundImage = "assets/js/img/rahmen.png"; var backgroundWidth = "758"; var backgroundHeight = "469"; var backgroundLeft= "55"; var backgroundTop = "57"; thumbnailWidth = "648"; thumbnailHeight = "356"; } else if ( backgroundImage.indexOf("/rahmen_klein.png") > -1 ) { backgroundImage = "assets/js/img/rahmen_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "283"; var backgroundLeft= "33"; var backgroundTop = "34"; thumbnailWidth = "392"; thumbnailHeight = "214"; } } else if ( showSlideshow && article.valueRaw("slideshowtemplate") == "none" ) { thumbnailWidth = columnWidth; //generateThumbs = false; } if ( system.preview ){ //system.log(images.count == 1 ? (" 1 Bild...") : (" " + images.count + " Bilder...")); } var gridFactor = 12 / gridCols; var maxcols = Math.ceil((contentImageWidth / (thumbnailWidth+imageMargin)) / gridFactor); var onecolumnbreakpoint = 479; var maxmobilecols = Math.ceil(onecolumnbreakpoint / thumbnailWidth); var mobilecontainerwidth = 100 / maxmobilecols; var headstyle = "/* test */"; headstyle += "\ #igal" + article.id + ":not(.zpSlideshow){\n\ margin-left: -" + imageMargin/2 + "px !important;\n\ margin-right: -" + imageMargin/2 + "px !important;\n\ }\n\ /* below is to accomodates for IE rounding errors which caused the cols not to fit into the row */\n\ .ie #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc((100% / "+ maxcols +") - " + parseInt(imageMargin/2)*2 + ".1px) !important;\n\ margin: " + parseInt(imageMargin/2) + "px !important;\n\ }\n\ \n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item,\n\ #igal" + article.id + ":not(.zpSlideshow) > a,\n\ #igal" + article.id + ":not(.zpSlideshow) .slide > a{\n\ display: block;\n\ float: left;\n\ width: calc((100% / "+ maxcols +") - " + imageMargin + "px);\n\ max-width: "+ thumbnailWidth +"px;\n\ height: auto;\n\ margin: " + imageMargin / 2 + "px;\n\ }\n\ #igal" + article.id +" > a > img{\n\ max-width: 100%;\n\ display: block;\n\ }\n\ "; for ( var i = 1; i < maxcols - 1; i++){ var breakpoint = contentImageWidth - (i * thumbnailWidth); if ( breakpoint <= onecolumnbreakpoint ){ // if we reach the point, where the ZP Grid will display rows in 1-column, we break and need to use a different logic (see next for-loop) break; } var containerwidth = 100 / ( maxcols - i); headstyle += "\n\ @media screen and (max-width: " + breakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + containerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; } // mobile display 2+-column-rows. for ( var i = 1; i < maxmobilecols; i++){ headstyle += "\n\ @media screen and (max-width: " + onecolumnbreakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + mobilecontainerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; onecolumnbreakpoint = ( maxmobilecols -i ) * thumbnailWidth; mobilecontainerwidth = 100 / ( maxmobilecols -i ); } // mobile display 1-column-row. headstyle += "\n\ @media screen and (max-width: " + (thumbnailWidth+imageMargin) +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(100% - " + imageMargin + "px);\n\ }\n\ }\n\ "; headstyle += ""; system.addHtmlHeadElement(headstyle); // polyfill for JSON.stringify() // https://gist.github.com/uupaa/5562297 function _toJSONEscapedString(str) { // @arg String: // @ret String: // @inner: to JSON escaped string if (typeof(str)==='undefined') str = ""; if ( str == ""){ return ""; } else{ var JSON_ESCAPE = { '\b': '\\b', // backspace U+0008 '\t': '\\t', // tab U+0009 '\n': '\\n', // line feed U+000A '\f': '\\f', // form feed U+000C '\r': '\\r', // carriage return U+000D '"': '\\"', // quotation mark U+0022 '\\': '\\\\' // reverse solidus U+005C }; return str.replace(/(?:[\b\t\n\f\r\"]|\\)/g, function(_) { return JSON_ESCAPE[_]; }).replace(/(?:[\x00-\x1f])/g, function(_) { return "\\u00" + ("0" + _.charCodeAt(0).toString(16)).slice(-2); }); } } context.write("\r\n\r\n"); // normales Bilderalbum mit thumbnails, ohne ContentCopy if ( !showSlideshow ) { // only activate paging via json-data when more than one page of images to show exists if ( imagesPerPage > 0 && images.count > imagesPerPage ){ isPaging = true; } context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\r\n\t\t
    999999 ){ context.write("style=\"margin-right: -"); context.write( imageMargin ); context.write("px;\" "); } context.write("\r\n\t\t\tdata-article-id=\""); context.write(article.id); context.write("\" \r\n\t\t\tdata-prevtext=\"Zurück\" \r\n\t\t\tdata-nexttext=\"Weiter\" \r\n\t\t\tdata-pagetext=\"Seite {0} von {1}\" \r\n\t\t\tdata-ispaging=\""); context.write(isPaging); context.write("\" \r\n\t\t\tdata-imageeffect=\""); context.write(effectClass); context.write("\" \r\n\t\t\tdata-imagesperpage=\""); context.write(imagesPerPage); context.write("\" \r\n\t\t\tdata-kind=\"gallery\" \r\n\t\t\tdata-width=\""); context.write( thumbnailWidth ); context.write("\"\r\n\t\t\tdata-height=\""); context.write( thumbnailHeight ); context.write("\"\r\n\t\t\tdata-margin=\""); context.write( article.value("margin", "") ); context.write("\"\r\n\t\t\tdata-maxcols=\""); context.write( maxcols ); context.write("\"\r\n\t\t\tdata-bordercolor=\"default\"\r\n\t\t\tdata-borderwidth=\"0\"\r\n\t\t\tdata-numbershow=\"0\" \r\n\t\t\tdata-template=\"\" \r\n\t\t\tdata-titleshow=\""); context.write( titleShow ); context.write("\"\r\n\t\t\tdata-titleposition=\""); context.write( article.value("titleposition", "") ); context.write("\"\r\n\t\t\tdata-transition=\""); context.write( article.value("zoom", "") ); context.write("\"\r\n\t\t\tdata-inner-transition=\""); context.write( article.value("transition", "") ); context.write("\"\r\n\t\t\tdata-slideshow=\"0\"\r\n\t\t\tdata-slideshowinterval=\"0\"\r\n\t\t\tdata-lang=\""); context.write( lang ); context.write("\">\r\n\t\r\n\t\t\t"); if ( isPaging ) { context.write("\r\n\t\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\t\t
    \r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } else { context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\r\n\t\t\r\n\t\t"); // Slideshow mit Hintergrundbild aus Template (Laptop etc.), ohne Contentcopy if ( backgroundImage !== "" && backgroundImage !== "Keine" ) { context.write("\r\n\t\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\r\n\t\t\t\t\t\"\"\r\n\t\t\r\n\t\t\t\t\t"); var descriptionSlide1, altText1, encodedDescription1, imageSlide1; for ( var indexSlide1=0; indexSlide1 < images.count; ++indexSlide1 ) { imageSlide1 = images.item(indexSlide1); imageSlide1.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy descriptionSlide1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.description)); encodedDescription1 = system.htmlEncode(imageSlide1.description); altText1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.altText)); if ( imageSlide1.createThumb(thumbnailWidth, thumbnailHeight) ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide1.thumbPath(thumbnailWidth, thumbnailHeight).split("/").pop()); } } context.write("\r\n\t\t\t\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide1.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t"); context.write( imageSlide1.description ); context.write("\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t
    \r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\r\n\t\t"); } // Slideshow ohne Hintergrundbild (Nur Bild), ohne Contentcopy else { context.write("\r\n\r\n\t\t\t"); var maxThumbnailHeight = 0; var maxThumbnailWidth = 0; for (var indexThumbnailHeight=0; indexThumbnailHeight < images.count; ++indexThumbnailHeight ) { var imageThumbnailHeight = images.item(indexThumbnailHeight); imageThumbnailHeight.skipContentCopy(); var currentThumbnailHeight = imageThumbnailHeight.createThumbWithInfo(columnWidth); if ( currentThumbnailHeight.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageThumbnailHeight.thumbPath(columnWidth).split("/").pop()); } } if ( currentThumbnailHeight.height > maxThumbnailHeight ) { maxThumbnailHeight = currentThumbnailHeight.height; } if ( currentThumbnailHeight.width > maxThumbnailWidth ) { maxThumbnailWidth = currentThumbnailHeight.width; } } context.write("\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t"); var descriptionSlide2, encodedDescription2, imageSlide2; for ( var indexSlide2=0; indexSlide2 < images.count; ++indexSlide2 ) { imageSlide2 = images.item(indexSlide2); imageSlide2.skipContentCopy(); descriptionSlide2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.description)); encodedDescription2 = system.htmlEncode(imageSlide2.description); altText2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.altText)); var tni = imageSlide2.createThumbWithInfo(columnWidth); if ( tni.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide2.thumbPath(columnWidth).split("/").pop()); } } var tmpWidth = parseInt(tni.ThumbnailWidth); var tmpHeight = parseInt(tni.ThumbnailHeight); var tmpSrc = imageSlide2.thumbPath(columnWidth); context.write("\r\n\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide2.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t"); context.write( imageSlide2.description ); context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\r\n\t\t"); } context.write("\r\n\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665904624().executeScript(); 2020-07-14 20:57:46,593 [19] INFO - --------- 2020-07-14 20:57:46,606 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,606 [19] INFO - --------- 2020-07-14 20:57:46,606 [19] INFO - function SE637303570666054633() {} SE637303570666054633.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570666054633().executeScript(); 2020-07-14 20:57:46,607 [19] INFO - --------- 2020-07-14 20:57:46,613 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,614 [19] INFO - --------- 2020-07-14 20:57:46,614 [19] INFO - function SE637303570666054633() {} SE637303570666054633.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570666054633().executeScript(); 2020-07-14 20:57:46,615 [19] INFO - --------- 2020-07-14 20:57:46,615 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1768. 2020-07-14 20:57:46,615 [19] INFO - --------- 2020-07-14 20:57:46,616 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,616 [19] INFO - --------- 2020-07-14 20:57:46,617 [19] INFO - function SE637303570666164639() {} SE637303570666164639.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570666164639().executeScript(); 2020-07-14 20:57:46,617 [19] INFO - --------- 2020-07-14 20:57:46,619 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,619 [19] INFO - --------- 2020-07-14 20:57:46,620 [19] INFO - function SE637303570666164639() {} SE637303570666164639.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570666164639().executeScript(); 2020-07-14 20:57:46,620 [19] INFO - --------- 2020-07-14 20:57:46,620 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1769. 2020-07-14 20:57:46,621 [19] INFO - --------- 2020-07-14 20:57:46,819 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,820 [19] INFO - --------- 2020-07-14 20:57:46,820 [19] INFO - function SE637303570665904624() {} SE637303570665904624.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. var imagesPerPage = parseInt(article.value("imagesperpage", 0)); var isPaging = false; var contentImageWidth = "890"; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl hohlen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || 960; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } // if page contains a news area, we only approximate a 2/3 1/3 size layout in order to calculate thumbnails if ( article.area.toLowerCase() == "news" ){ gridCols = 4; } else if ( page.anyAreaArticles("News") ){ gridCols = 8; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } var showSlideshow = article.value("slideshow"); var albumId = article.value("album"); var images = project.getAlbumImages(albumId); var thumbnailWidth = article.value("width"); var thumbnailHeight = article.value("height"); var titlePosition = article.value("titleposition"); var thumbTitlePosition = article.value("thumbtitleposition", "off"); var imageMargin = parseInt(article.value("margin", "0")); // figure out if images have a border set in layout-settings and compensate for it, if the article doesn't have a custom class "noborder" set var imageBorder = 0; var tmpArticleCssClass = " " + article.cssClass; if ( tmpArticleCssClass.indexOf("noborder") == -1 && "" != "0" && "" != "" ) { imageBorder = parseInt(""); } var generateThumbs = true; if ( titlePosition !== "off" ) { var titleShow = "1"; } else { var titleShow = "0"; } if ( "de" == "en" ) { var lang = "en"; } else { var lang = "de"; } var backgroundImage = backgroundWidth = backgroundHeight = backgroundLeft = backgroundTop = ""; if ( showSlideshow && article.valueRaw("slideshowtemplate") !== "none" ) { backgroundImage = article.value("slideshowtemplate", ""); if ( backgroundImage.indexOf("/laptop.png") > -1 ) { backgroundImage = "assets/js/img/laptop.png"; var backgroundWidth = "801"; var backgroundHeight = "469"; var backgroundLeft= "104"; var backgroundTop = "31"; thumbnailWidth = "590"; thumbnailHeight = "369"; } else if ( backgroundImage.indexOf("/laptop_klein.png") > -1 ) { backgroundImage = "assets/js/img/laptop_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "268"; var backgroundLeft= "59"; var backgroundTop = "18"; thumbnailWidth = "338"; thumbnailHeight = "211"; } else if ( backgroundImage.indexOf("/rahmen.png") > -1 ) { backgroundImage = "assets/js/img/rahmen.png"; var backgroundWidth = "758"; var backgroundHeight = "469"; var backgroundLeft= "55"; var backgroundTop = "57"; thumbnailWidth = "648"; thumbnailHeight = "356"; } else if ( backgroundImage.indexOf("/rahmen_klein.png") > -1 ) { backgroundImage = "assets/js/img/rahmen_klein.png"; var backgroundWidth = "458"; var backgroundHeight = "283"; var backgroundLeft= "33"; var backgroundTop = "34"; thumbnailWidth = "392"; thumbnailHeight = "214"; } } else if ( showSlideshow && article.valueRaw("slideshowtemplate") == "none" ) { thumbnailWidth = columnWidth; //generateThumbs = false; } if ( system.preview ){ //system.log(images.count == 1 ? (" 1 Bild...") : (" " + images.count + " Bilder...")); } var gridFactor = 12 / gridCols; var maxcols = Math.ceil((contentImageWidth / (thumbnailWidth+imageMargin)) / gridFactor); var onecolumnbreakpoint = 479; var maxmobilecols = Math.ceil(onecolumnbreakpoint / thumbnailWidth); var mobilecontainerwidth = 100 / maxmobilecols; var headstyle = "/* test */"; headstyle += "\ #igal" + article.id + ":not(.zpSlideshow){\n\ margin-left: -" + imageMargin/2 + "px !important;\n\ margin-right: -" + imageMargin/2 + "px !important;\n\ }\n\ /* below is to accomodates for IE rounding errors which caused the cols not to fit into the row */\n\ .ie #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc((100% / "+ maxcols +") - " + parseInt(imageMargin/2)*2 + ".1px) !important;\n\ margin: " + parseInt(imageMargin/2) + "px !important;\n\ }\n\ \n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item,\n\ #igal" + article.id + ":not(.zpSlideshow) > a,\n\ #igal" + article.id + ":not(.zpSlideshow) .slide > a{\n\ display: block;\n\ float: left;\n\ width: calc((100% / "+ maxcols +") - " + imageMargin + "px);\n\ max-width: "+ thumbnailWidth +"px;\n\ height: auto;\n\ margin: " + imageMargin / 2 + "px;\n\ }\n\ #igal" + article.id +" > a > img{\n\ max-width: 100%;\n\ display: block;\n\ }\n\ "; for ( var i = 1; i < maxcols - 1; i++){ var breakpoint = contentImageWidth - (i * thumbnailWidth); if ( breakpoint <= onecolumnbreakpoint ){ // if we reach the point, where the ZP Grid will display rows in 1-column, we break and need to use a different logic (see next for-loop) break; } var containerwidth = 100 / ( maxcols - i); headstyle += "\n\ @media screen and (max-width: " + breakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + containerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; } // mobile display 2+-column-rows. for ( var i = 1; i < maxmobilecols; i++){ headstyle += "\n\ @media screen and (max-width: " + onecolumnbreakpoint +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(" + mobilecontainerwidth + "% - " + imageMargin + "px);\n\ }\n\ }\n\ "; onecolumnbreakpoint = ( maxmobilecols -i ) * thumbnailWidth; mobilecontainerwidth = 100 / ( maxmobilecols -i ); } // mobile display 1-column-row. headstyle += "\n\ @media screen and (max-width: " + (thumbnailWidth+imageMargin) +"px) {\n\ #igal" + article.id + ":not(.zpSlideshow) div.gallery-item{\n\ width: calc(100% - " + imageMargin + "px);\n\ }\n\ }\n\ "; headstyle += ""; system.addHtmlHeadElement(headstyle); // polyfill for JSON.stringify() // https://gist.github.com/uupaa/5562297 function _toJSONEscapedString(str) { // @arg String: // @ret String: // @inner: to JSON escaped string if (typeof(str)==='undefined') str = ""; if ( str == ""){ return ""; } else{ var JSON_ESCAPE = { '\b': '\\b', // backspace U+0008 '\t': '\\t', // tab U+0009 '\n': '\\n', // line feed U+000A '\f': '\\f', // form feed U+000C '\r': '\\r', // carriage return U+000D '"': '\\"', // quotation mark U+0022 '\\': '\\\\' // reverse solidus U+005C }; return str.replace(/(?:[\b\t\n\f\r\"]|\\)/g, function(_) { return JSON_ESCAPE[_]; }).replace(/(?:[\x00-\x1f])/g, function(_) { return "\\u00" + ("0" + _.charCodeAt(0).toString(16)).slice(-2); }); } } context.write("\r\n\r\n"); // normales Bilderalbum mit thumbnails, ohne ContentCopy if ( !showSlideshow ) { // only activate paging via json-data when more than one page of images to show exists if ( imagesPerPage > 0 && images.count > imagesPerPage ){ isPaging = true; } context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\r\n\t\t
    999999 ){ context.write("style=\"margin-right: -"); context.write( imageMargin ); context.write("px;\" "); } context.write("\r\n\t\t\tdata-article-id=\""); context.write(article.id); context.write("\" \r\n\t\t\tdata-prevtext=\"Zurück\" \r\n\t\t\tdata-nexttext=\"Weiter\" \r\n\t\t\tdata-pagetext=\"Seite {0} von {1}\" \r\n\t\t\tdata-ispaging=\""); context.write(isPaging); context.write("\" \r\n\t\t\tdata-imageeffect=\""); context.write(effectClass); context.write("\" \r\n\t\t\tdata-imagesperpage=\""); context.write(imagesPerPage); context.write("\" \r\n\t\t\tdata-kind=\"gallery\" \r\n\t\t\tdata-width=\""); context.write( thumbnailWidth ); context.write("\"\r\n\t\t\tdata-height=\""); context.write( thumbnailHeight ); context.write("\"\r\n\t\t\tdata-margin=\""); context.write( article.value("margin", "") ); context.write("\"\r\n\t\t\tdata-maxcols=\""); context.write( maxcols ); context.write("\"\r\n\t\t\tdata-bordercolor=\"default\"\r\n\t\t\tdata-borderwidth=\"0\"\r\n\t\t\tdata-numbershow=\"0\" \r\n\t\t\tdata-template=\"\" \r\n\t\t\tdata-titleshow=\""); context.write( titleShow ); context.write("\"\r\n\t\t\tdata-titleposition=\""); context.write( article.value("titleposition", "") ); context.write("\"\r\n\t\t\tdata-transition=\""); context.write( article.value("zoom", "") ); context.write("\"\r\n\t\t\tdata-inner-transition=\""); context.write( article.value("transition", "") ); context.write("\"\r\n\t\t\tdata-slideshow=\"0\"\r\n\t\t\tdata-slideshowinterval=\"0\"\r\n\t\t\tdata-lang=\""); context.write( lang ); context.write("\">\r\n\t\r\n\t\t\t"); if ( isPaging ) { context.write("\r\n\t\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\t\t
    \r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } else { context.write("\r\n\r\n\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\r\n\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\r\n\t\t\r\n\t\t"); // Slideshow mit Hintergrundbild aus Template (Laptop etc.), ohne Contentcopy if ( backgroundImage !== "" && backgroundImage !== "Keine" ) { context.write("\r\n\t\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\r\n\t\t\t\t\t\"\"\r\n\t\t\r\n\t\t\t\t\t"); var descriptionSlide1, altText1, encodedDescription1, imageSlide1; for ( var indexSlide1=0; indexSlide1 < images.count; ++indexSlide1 ) { imageSlide1 = images.item(indexSlide1); imageSlide1.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy descriptionSlide1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.description)); encodedDescription1 = system.htmlEncode(imageSlide1.description); altText1 = system.htmlEncode(system.removeHtmlTags(imageSlide1.altText)); if ( imageSlide1.createThumb(thumbnailWidth, thumbnailHeight) ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide1.thumbPath(thumbnailWidth, thumbnailHeight).split("/").pop()); } } context.write("\r\n\t\t\t\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide1.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t"); context.write( imageSlide1.description ); context.write("\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t
    \r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\r\n\t\t"); } // Slideshow ohne Hintergrundbild (Nur Bild), ohne Contentcopy else { context.write("\r\n\r\n\t\t\t"); var maxThumbnailHeight = 0; var maxThumbnailWidth = 0; for (var indexThumbnailHeight=0; indexThumbnailHeight < images.count; ++indexThumbnailHeight ) { var imageThumbnailHeight = images.item(indexThumbnailHeight); imageThumbnailHeight.skipContentCopy(); var currentThumbnailHeight = imageThumbnailHeight.createThumbWithInfo(columnWidth); if ( currentThumbnailHeight.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageThumbnailHeight.thumbPath(columnWidth).split("/").pop()); } } if ( currentThumbnailHeight.height > maxThumbnailHeight ) { maxThumbnailHeight = currentThumbnailHeight.height; } if ( currentThumbnailHeight.width > maxThumbnailWidth ) { maxThumbnailWidth = currentThumbnailHeight.width; } } context.write("\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t"); var descriptionSlide2, encodedDescription2, imageSlide2; for ( var indexSlide2=0; indexSlide2 < images.count; ++indexSlide2 ) { imageSlide2 = images.item(indexSlide2); imageSlide2.skipContentCopy(); descriptionSlide2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.description)); encodedDescription2 = system.htmlEncode(imageSlide2.description); altText2 = system.htmlEncode(system.removeHtmlTags(imageSlide2.altText)); var tni = imageSlide2.createThumbWithInfo(columnWidth); if ( tni.created ) { if ( system.preview ){ system.log(" Erstelle Vorschaubild " + imageSlide2.thumbPath(columnWidth).split("/").pop()); } } var tmpWidth = parseInt(tni.ThumbnailWidth); var tmpHeight = parseInt(tni.ThumbnailHeight); var tmpSrc = imageSlide2.thumbPath(columnWidth); context.write("\r\n\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( titleShow == "1" && imageSlide2.description !== "" ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t"); context.write( imageSlide2.description ); context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\r\n\t\t"); } context.write("\r\n\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\r\n\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\bilderalbumv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570665904624().executeScript(); 2020-07-14 20:57:46,822 [19] INFO - --------- 2020-07-14 20:57:46,822 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1770. 2020-07-14 20:57:46,822 [19] INFO - --------- 2020-07-14 20:57:46,840 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,840 [19] INFO - --------- 2020-07-14 20:57:46,841 [19] INFO - function SE637303570668404767() {} SE637303570668404767.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668404767().executeScript(); 2020-07-14 20:57:46,841 [19] INFO - --------- 2020-07-14 20:57:46,843 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,843 [19] INFO - --------- 2020-07-14 20:57:46,843 [19] INFO - function SE637303570668434769() {} SE637303570668434769.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668434769().executeScript(); 2020-07-14 20:57:46,844 [19] INFO - --------- 2020-07-14 20:57:46,849 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,849 [19] INFO - --------- 2020-07-14 20:57:46,849 [19] INFO - function SE637303570668434769() {} SE637303570668434769.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668434769().executeScript(); 2020-07-14 20:57:46,850 [19] INFO - --------- 2020-07-14 20:57:46,850 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1771. 2020-07-14 20:57:46,851 [19] INFO - --------- 2020-07-14 20:57:46,851 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,852 [19] INFO - --------- 2020-07-14 20:57:46,852 [19] INFO - function SE637303570668514774() {} SE637303570668514774.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668514774().executeScript(); 2020-07-14 20:57:46,852 [19] INFO - --------- 2020-07-14 20:57:46,856 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,856 [19] INFO - --------- 2020-07-14 20:57:46,856 [19] INFO - function SE637303570668514774() {} SE637303570668514774.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668514774().executeScript(); 2020-07-14 20:57:46,857 [19] INFO - --------- 2020-07-14 20:57:46,857 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1772. 2020-07-14 20:57:46,857 [19] INFO - --------- 2020-07-14 20:57:46,858 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,859 [19] INFO - --------- 2020-07-14 20:57:46,859 [19] INFO - function SE637303570668584778() {} SE637303570668584778.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668584778().executeScript(); 2020-07-14 20:57:46,859 [19] INFO - --------- 2020-07-14 20:57:46,862 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,862 [19] INFO - --------- 2020-07-14 20:57:46,862 [19] INFO - function SE637303570668584778() {} SE637303570668584778.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668584778().executeScript(); 2020-07-14 20:57:46,863 [19] INFO - --------- 2020-07-14 20:57:46,863 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1773. 2020-07-14 20:57:46,864 [19] INFO - --------- 2020-07-14 20:57:46,864 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,865 [19] INFO - --------- 2020-07-14 20:57:46,865 [19] INFO - function SE637303570668644781() {} SE637303570668644781.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668644781().executeScript(); 2020-07-14 20:57:46,865 [19] INFO - --------- 2020-07-14 20:57:46,867 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,867 [19] INFO - --------- 2020-07-14 20:57:46,867 [19] INFO - function SE637303570668644781() {} SE637303570668644781.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668644781().executeScript(); 2020-07-14 20:57:46,867 [19] INFO - --------- 2020-07-14 20:57:46,868 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1774. 2020-07-14 20:57:46,868 [19] INFO - --------- 2020-07-14 20:57:46,869 [19] INFO - Finished executing the following script: 2020-07-14 20:57:46,869 [19] INFO - --------- 2020-07-14 20:57:46,870 [19] INFO - function SE637303570668404767() {} SE637303570668404767.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668404767().executeScript(); 2020-07-14 20:57:46,870 [19] INFO - --------- 2020-07-14 20:57:46,870 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1775. 2020-07-14 20:57:46,871 [19] INFO - --------- 2020-07-14 20:57:46,896 [19] INFO - About to execute the following script: 2020-07-14 20:57:46,896 [19] INFO - --------- 2020-07-14 20:57:46,897 [19] INFO - function SE637303570668964799() {} SE637303570668964799.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668964799().executeScript(); 2020-07-14 20:57:46,898 [19] INFO - --------- 2020-07-14 20:57:48,575 [19] INFO - About to execute the following script: 2020-07-14 20:57:48,575 [19] INFO - --------- 2020-07-14 20:57:48,575 [19] INFO - function SE637303570685745759() {} SE637303570685745759.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570685745759().executeScript(); 2020-07-14 20:57:48,576 [19] INFO - --------- 2020-07-14 20:57:48,581 [19] INFO - Finished executing the following script: 2020-07-14 20:57:48,582 [19] INFO - --------- 2020-07-14 20:57:48,583 [19] INFO - function SE637303570685745759() {} SE637303570685745759.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570685745759().executeScript(); 2020-07-14 20:57:48,584 [19] INFO - --------- 2020-07-14 20:57:48,585 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1776. 2020-07-14 20:57:48,585 [19] INFO - --------- 2020-07-14 20:57:48,588 [19] INFO - Finished executing the following script: 2020-07-14 20:57:48,588 [19] INFO - --------- 2020-07-14 20:57:48,588 [19] INFO - function SE637303570668964799() {} SE637303570668964799.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570668964799().executeScript(); 2020-07-14 20:57:48,589 [19] INFO - --------- 2020-07-14 20:57:48,590 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1777. 2020-07-14 20:57:48,590 [19] INFO - --------- 2020-07-14 20:57:48,599 [19] INFO - About to execute the following script: 2020-07-14 20:57:48,599 [19] INFO - --------- 2020-07-14 20:57:48,600 [19] INFO - function SE637303570685995773() {} SE637303570685995773.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570685995773().executeScript(); 2020-07-14 20:57:48,601 [19] INFO - --------- 2020-07-14 20:57:50,037 [19] INFO - About to execute the following script: 2020-07-14 20:57:50,038 [19] INFO - --------- 2020-07-14 20:57:50,038 [19] INFO - function SE637303570700376596() {} SE637303570700376596.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700376596().executeScript(); 2020-07-14 20:57:50,038 [19] INFO - --------- 2020-07-14 20:57:50,047 [19] INFO - Finished executing the following script: 2020-07-14 20:57:50,047 [19] INFO - --------- 2020-07-14 20:57:50,047 [19] INFO - function SE637303570700376596() {} SE637303570700376596.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700376596().executeScript(); 2020-07-14 20:57:50,048 [19] INFO - --------- 2020-07-14 20:57:50,048 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1778. 2020-07-14 20:57:50,048 [19] INFO - --------- 2020-07-14 20:57:50,051 [19] INFO - Finished executing the following script: 2020-07-14 20:57:50,051 [19] INFO - --------- 2020-07-14 20:57:50,052 [19] INFO - function SE637303570685995773() {} SE637303570685995773.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570685995773().executeScript(); 2020-07-14 20:57:50,053 [19] INFO - --------- 2020-07-14 20:57:50,053 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1779. 2020-07-14 20:57:50,053 [19] INFO - --------- 2020-07-14 20:57:50,067 [19] INFO - About to execute the following script: 2020-07-14 20:57:50,067 [19] INFO - --------- 2020-07-14 20:57:50,067 [19] INFO - function SE637303570700676613() {} SE637303570700676613.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700676613().executeScript(); 2020-07-14 20:57:50,068 [19] INFO - --------- 2020-07-14 20:57:50,069 [19] INFO - About to execute the following script: 2020-07-14 20:57:50,070 [19] INFO - --------- 2020-07-14 20:57:50,070 [19] INFO - function SE637303570700696614() {} SE637303570700696614.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700696614().executeScript(); 2020-07-14 20:57:50,070 [19] INFO - --------- 2020-07-14 20:57:50,078 [19] INFO - Finished executing the following script: 2020-07-14 20:57:50,078 [19] INFO - --------- 2020-07-14 20:57:50,078 [19] INFO - function SE637303570700696614() {} SE637303570700696614.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700696614().executeScript(); 2020-07-14 20:57:50,079 [19] INFO - --------- 2020-07-14 20:57:50,079 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1780. 2020-07-14 20:57:50,079 [19] INFO - --------- 2020-07-14 20:57:50,080 [19] INFO - About to execute the following script: 2020-07-14 20:57:50,081 [19] INFO - --------- 2020-07-14 20:57:50,081 [19] INFO - function SE637303570700806621() {} SE637303570700806621.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700806621().executeScript(); 2020-07-14 20:57:50,081 [19] INFO - --------- 2020-07-14 20:57:50,085 [19] INFO - Finished executing the following script: 2020-07-14 20:57:50,086 [19] INFO - --------- 2020-07-14 20:57:50,086 [19] INFO - function SE637303570700806621() {} SE637303570700806621.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700806621().executeScript(); 2020-07-14 20:57:50,086 [19] INFO - --------- 2020-07-14 20:57:50,087 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1781. 2020-07-14 20:57:50,087 [19] INFO - --------- 2020-07-14 20:57:50,088 [19] INFO - About to execute the following script: 2020-07-14 20:57:50,088 [19] INFO - --------- 2020-07-14 20:57:50,088 [19] INFO - function SE637303570700886625() {} SE637303570700886625.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700886625().executeScript(); 2020-07-14 20:57:50,089 [19] INFO - --------- 2020-07-14 20:57:50,091 [19] INFO - Finished executing the following script: 2020-07-14 20:57:50,092 [19] INFO - --------- 2020-07-14 20:57:50,092 [19] INFO - function SE637303570700886625() {} SE637303570700886625.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700886625().executeScript(); 2020-07-14 20:57:50,092 [19] INFO - --------- 2020-07-14 20:57:50,093 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1782. 2020-07-14 20:57:50,093 [19] INFO - --------- 2020-07-14 20:57:50,094 [19] INFO - About to execute the following script: 2020-07-14 20:57:50,094 [19] INFO - --------- 2020-07-14 20:57:50,094 [19] INFO - function SE637303570700946629() {} SE637303570700946629.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700946629().executeScript(); 2020-07-14 20:57:50,095 [19] INFO - --------- 2020-07-14 20:57:50,096 [19] INFO - Finished executing the following script: 2020-07-14 20:57:50,096 [19] INFO - --------- 2020-07-14 20:57:50,096 [19] INFO - function SE637303570700946629() {} SE637303570700946629.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700946629().executeScript(); 2020-07-14 20:57:50,097 [19] INFO - --------- 2020-07-14 20:57:50,097 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1783. 2020-07-14 20:57:50,097 [19] INFO - --------- 2020-07-14 20:57:50,098 [19] INFO - Finished executing the following script: 2020-07-14 20:57:50,099 [19] INFO - --------- 2020-07-14 20:57:50,099 [19] INFO - function SE637303570700676613() {} SE637303570700676613.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570700676613().executeScript(); 2020-07-14 20:57:50,099 [19] INFO - --------- 2020-07-14 20:57:50,100 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1784. 2020-07-14 20:57:50,100 [19] INFO - --------- 2020-07-14 20:57:50,117 [19] INFO - About to execute the following script: 2020-07-14 20:57:50,117 [19] INFO - --------- 2020-07-14 20:57:50,117 [19] INFO - function SE637303570701176642() {} SE637303570701176642.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570701176642().executeScript(); 2020-07-14 20:57:50,119 [19] INFO - --------- 2020-07-14 20:57:51,505 [19] INFO - About to execute the following script: 2020-07-14 20:57:51,505 [19] INFO - --------- 2020-07-14 20:57:51,505 [19] INFO - function SE637303570715057436() {} SE637303570715057436.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570715057436().executeScript(); 2020-07-14 20:57:51,506 [19] INFO - --------- 2020-07-14 20:57:51,511 [19] INFO - Finished executing the following script: 2020-07-14 20:57:51,512 [19] INFO - --------- 2020-07-14 20:57:51,512 [19] INFO - function SE637303570715057436() {} SE637303570715057436.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570715057436().executeScript(); 2020-07-14 20:57:51,513 [19] INFO - --------- 2020-07-14 20:57:51,513 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1785. 2020-07-14 20:57:51,513 [19] INFO - --------- 2020-07-14 20:57:51,516 [19] INFO - Finished executing the following script: 2020-07-14 20:57:51,516 [19] INFO - --------- 2020-07-14 20:57:51,516 [19] INFO - function SE637303570701176642() {} SE637303570701176642.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570701176642().executeScript(); 2020-07-14 20:57:51,517 [19] INFO - --------- 2020-07-14 20:57:51,518 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1786. 2020-07-14 20:57:51,518 [19] INFO - --------- 2020-07-14 20:57:51,529 [19] INFO - About to execute the following script: 2020-07-14 20:57:51,529 [19] INFO - --------- 2020-07-14 20:57:51,530 [19] INFO - function SE637303570715297449() {} SE637303570715297449.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570715297449().executeScript(); 2020-07-14 20:57:51,531 [19] INFO - --------- 2020-07-14 20:57:52,941 [19] INFO - About to execute the following script: 2020-07-14 20:57:52,941 [19] INFO - --------- 2020-07-14 20:57:52,941 [19] INFO - function SE637303570729418257() {} SE637303570729418257.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570729418257().executeScript(); 2020-07-14 20:57:52,942 [19] INFO - --------- 2020-07-14 20:57:52,950 [19] INFO - Finished executing the following script: 2020-07-14 20:57:52,950 [19] INFO - --------- 2020-07-14 20:57:52,951 [19] INFO - function SE637303570729418257() {} SE637303570729418257.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570729418257().executeScript(); 2020-07-14 20:57:52,951 [19] INFO - --------- 2020-07-14 20:57:52,952 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1787. 2020-07-14 20:57:52,952 [19] INFO - --------- 2020-07-14 20:57:52,955 [19] INFO - Finished executing the following script: 2020-07-14 20:57:52,955 [19] INFO - --------- 2020-07-14 20:57:52,956 [19] INFO - function SE637303570715297449() {} SE637303570715297449.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570715297449().executeScript(); 2020-07-14 20:57:52,957 [19] INFO - --------- 2020-07-14 20:57:52,957 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1788. 2020-07-14 20:57:52,957 [19] INFO - --------- 2020-07-14 20:57:52,962 [19] INFO - About to execute the following script: 2020-07-14 20:57:52,963 [19] INFO - --------- 2020-07-14 20:57:52,963 [19] INFO - function SE637303570729628269() {} SE637303570729628269.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570729628269().executeScript(); 2020-07-14 20:57:52,964 [19] INFO - --------- 2020-07-14 20:57:54,289 [19] INFO - About to execute the following script: 2020-07-14 20:57:54,290 [19] INFO - --------- 2020-07-14 20:57:54,290 [19] INFO - function SE637303570742899028() {} SE637303570742899028.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570742899028().executeScript(); 2020-07-14 20:57:54,290 [19] INFO - --------- 2020-07-14 20:57:54,299 [19] INFO - Finished executing the following script: 2020-07-14 20:57:54,299 [19] INFO - --------- 2020-07-14 20:57:54,299 [19] INFO - function SE637303570742899028() {} SE637303570742899028.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570742899028().executeScript(); 2020-07-14 20:57:54,300 [19] INFO - --------- 2020-07-14 20:57:54,300 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1789. 2020-07-14 20:57:54,300 [19] INFO - --------- 2020-07-14 20:57:54,303 [19] INFO - Finished executing the following script: 2020-07-14 20:57:54,303 [19] INFO - --------- 2020-07-14 20:57:54,303 [19] INFO - function SE637303570729628269() {} SE637303570729628269.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570729628269().executeScript(); 2020-07-14 20:57:54,305 [19] INFO - --------- 2020-07-14 20:57:54,305 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1790. 2020-07-14 20:57:54,305 [19] INFO - --------- 2020-07-14 20:57:54,324 [19] INFO - About to execute the following script: 2020-07-14 20:57:54,325 [19] INFO - --------- 2020-07-14 20:57:54,325 [19] INFO - function SE637303570743249048() {} SE637303570743249048.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743249048().executeScript(); 2020-07-14 20:57:54,325 [19] INFO - --------- 2020-07-14 20:57:54,327 [19] INFO - About to execute the following script: 2020-07-14 20:57:54,327 [19] INFO - --------- 2020-07-14 20:57:54,327 [19] INFO - function SE637303570743279050() {} SE637303570743279050.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743279050().executeScript(); 2020-07-14 20:57:54,328 [19] INFO - --------- 2020-07-14 20:57:54,335 [19] INFO - Finished executing the following script: 2020-07-14 20:57:54,335 [19] INFO - --------- 2020-07-14 20:57:54,335 [19] INFO - function SE637303570743279050() {} SE637303570743279050.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743279050().executeScript(); 2020-07-14 20:57:54,337 [19] INFO - --------- 2020-07-14 20:57:54,337 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1791. 2020-07-14 20:57:54,338 [19] INFO - --------- 2020-07-14 20:57:54,338 [19] INFO - About to execute the following script: 2020-07-14 20:57:54,339 [19] INFO - --------- 2020-07-14 20:57:54,339 [19] INFO - function SE637303570743389056() {} SE637303570743389056.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743389056().executeScript(); 2020-07-14 20:57:54,340 [19] INFO - --------- 2020-07-14 20:57:54,343 [19] INFO - Finished executing the following script: 2020-07-14 20:57:54,344 [19] INFO - --------- 2020-07-14 20:57:54,344 [19] INFO - function SE637303570743389056() {} SE637303570743389056.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743389056().executeScript(); 2020-07-14 20:57:54,344 [19] INFO - --------- 2020-07-14 20:57:54,345 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1792. 2020-07-14 20:57:54,345 [19] INFO - --------- 2020-07-14 20:57:54,346 [19] INFO - About to execute the following script: 2020-07-14 20:57:54,346 [19] INFO - --------- 2020-07-14 20:57:54,346 [19] INFO - function SE637303570743469061() {} SE637303570743469061.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743469061().executeScript(); 2020-07-14 20:57:54,347 [19] INFO - --------- 2020-07-14 20:57:54,349 [19] INFO - Finished executing the following script: 2020-07-14 20:57:54,350 [19] INFO - --------- 2020-07-14 20:57:54,350 [19] INFO - function SE637303570743469061() {} SE637303570743469061.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743469061().executeScript(); 2020-07-14 20:57:54,350 [19] INFO - --------- 2020-07-14 20:57:54,351 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1793. 2020-07-14 20:57:54,351 [19] INFO - --------- 2020-07-14 20:57:54,352 [19] INFO - About to execute the following script: 2020-07-14 20:57:54,352 [19] INFO - --------- 2020-07-14 20:57:54,352 [19] INFO - function SE637303570743529064() {} SE637303570743529064.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743529064().executeScript(); 2020-07-14 20:57:54,354 [19] INFO - --------- 2020-07-14 20:57:54,355 [19] INFO - Finished executing the following script: 2020-07-14 20:57:54,355 [19] INFO - --------- 2020-07-14 20:57:54,356 [19] INFO - function SE637303570743529064() {} SE637303570743529064.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743529064().executeScript(); 2020-07-14 20:57:54,356 [19] INFO - --------- 2020-07-14 20:57:54,356 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1794. 2020-07-14 20:57:54,357 [19] INFO - --------- 2020-07-14 20:57:54,358 [19] INFO - Finished executing the following script: 2020-07-14 20:57:54,358 [19] INFO - --------- 2020-07-14 20:57:54,358 [19] INFO - function SE637303570743249048() {} SE637303570743249048.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743249048().executeScript(); 2020-07-14 20:57:54,359 [19] INFO - --------- 2020-07-14 20:57:54,359 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1795. 2020-07-14 20:57:54,359 [19] INFO - --------- 2020-07-14 20:57:54,374 [19] INFO - About to execute the following script: 2020-07-14 20:57:54,375 [19] INFO - --------- 2020-07-14 20:57:54,375 [19] INFO - function SE637303570743749077() {} SE637303570743749077.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743749077().executeScript(); 2020-07-14 20:57:54,376 [19] INFO - --------- 2020-07-14 20:57:56,337 [19] INFO - About to execute the following script: 2020-07-14 20:57:56,338 [19] INFO - --------- 2020-07-14 20:57:56,338 [19] INFO - function SE637303570763370199() {} SE637303570763370199.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570763370199().executeScript(); 2020-07-14 20:57:56,339 [19] INFO - --------- 2020-07-14 20:57:56,344 [19] INFO - Finished executing the following script: 2020-07-14 20:57:56,344 [19] INFO - --------- 2020-07-14 20:57:56,345 [19] INFO - function SE637303570763370199() {} SE637303570763370199.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570763370199().executeScript(); 2020-07-14 20:57:56,345 [19] INFO - --------- 2020-07-14 20:57:56,346 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1796. 2020-07-14 20:57:56,346 [19] INFO - --------- 2020-07-14 20:57:56,349 [19] INFO - Finished executing the following script: 2020-07-14 20:57:56,349 [19] INFO - --------- 2020-07-14 20:57:56,349 [19] INFO - function SE637303570743749077() {} SE637303570743749077.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570743749077().executeScript(); 2020-07-14 20:57:56,351 [19] INFO - --------- 2020-07-14 20:57:56,351 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1797. 2020-07-14 20:57:56,351 [19] INFO - --------- 2020-07-14 20:57:56,356 [19] INFO - About to execute the following script: 2020-07-14 20:57:56,356 [19] INFO - --------- 2020-07-14 20:57:56,357 [19] INFO - function SE637303570763560210() {} SE637303570763560210.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570763560210().executeScript(); 2020-07-14 20:57:56,358 [19] INFO - --------- 2020-07-14 20:57:57,633 [19] INFO - About to execute the following script: 2020-07-14 20:57:57,633 [19] INFO - --------- 2020-07-14 20:57:57,633 [19] INFO - function SE637303570776330940() {} SE637303570776330940.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570776330940().executeScript(); 2020-07-14 20:57:57,634 [19] INFO - --------- 2020-07-14 20:57:57,639 [19] INFO - Finished executing the following script: 2020-07-14 20:57:57,639 [19] INFO - --------- 2020-07-14 20:57:57,640 [19] INFO - function SE637303570776330940() {} SE637303570776330940.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570776330940().executeScript(); 2020-07-14 20:57:57,641 [19] INFO - --------- 2020-07-14 20:57:57,641 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1798. 2020-07-14 20:57:57,641 [19] INFO - --------- 2020-07-14 20:57:57,644 [19] INFO - Finished executing the following script: 2020-07-14 20:57:57,644 [19] INFO - --------- 2020-07-14 20:57:57,645 [19] INFO - function SE637303570763560210() {} SE637303570763560210.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570763560210().executeScript(); 2020-07-14 20:57:57,646 [19] INFO - --------- 2020-07-14 20:57:57,646 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1799. 2020-07-14 20:57:57,646 [19] INFO - --------- 2020-07-14 20:57:57,647 [19] INFO - About to execute the following script: 2020-07-14 20:57:57,648 [19] INFO - --------- 2020-07-14 20:57:57,648 [19] INFO - function SE637303570776470948() {} SE637303570776470948.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570776470948().executeScript(); 2020-07-14 20:57:57,650 [19] INFO - --------- 2020-07-14 20:57:59,185 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,185 [19] INFO - --------- 2020-07-14 20:57:59,186 [19] INFO - function SE637303570791851828() {} SE637303570791851828.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570791851828().executeScript(); 2020-07-14 20:57:59,186 [19] INFO - --------- 2020-07-14 20:57:59,192 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,192 [19] INFO - --------- 2020-07-14 20:57:59,192 [19] INFO - function SE637303570791851828() {} SE637303570791851828.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570791851828().executeScript(); 2020-07-14 20:57:59,193 [19] INFO - --------- 2020-07-14 20:57:59,193 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1800. 2020-07-14 20:57:59,193 [19] INFO - --------- 2020-07-14 20:57:59,196 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,196 [19] INFO - --------- 2020-07-14 20:57:59,197 [19] INFO - function SE637303570776470948() {} SE637303570776470948.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. var image = project.getImage(article.value("image")); var contentImageWidth = "890"; var defaultImageWidth = 960; var cssClass = article.cssClass || ""; var isBreakout = cssClass.indexOf("zpBreakout") !== -1 ? true : false; // Kann auch "700px" sein, deshalb mit parseInt nur die Zahl holen und trimmen - falls leer, auf default 960 setzen. contentImageWidth = parseInt(contentImageWidth) || defaultImageWidth; var gridCols = article.column.cssClass; if ( gridCols ){ gridCols = parseInt((gridCols.match(/\bc[1-9][0-2]?\b\s?/) || 12).toString().replace("c", "")); } else{ gridCols = 12; } var columnMargin = 30; var columnWidth = ((contentImageWidth + columnMargin) / 12) * gridCols; // minimum width needed for 100% width display on 1-column breakpoint var minwidth = parseInt(479 - columnMargin); var contentCopyWidth = parseInt(columnWidth - columnMargin) || defaultImageWidth; if ( minwidth > contentCopyWidth ){ contentCopyWidth = minwidth; } //system.log("contentCopyWidth: " + contentCopyWidth + " - image: " + image.name + "( Page " + article.page.name +")"); var imageError = false; if ( !isNull(image) ) { if ( isBreakout ){ contentCopyWidth = image.workingCopyWidth; } try { var iresult = image.ensureContentCopy(article, contentCopyWidth); var thumbImageWidth = image.contentCopyWidth; var thumbImageHeight = image.contentCopyHeight; var description = image.description; var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var oldAltText = system.htmlEncode(system.removeHtmlTags(article.valueExpanded("alt", ""))); if ( altText == "" && oldAltText !== "" ){ altText = oldAltText; } var encodedDescription = system.htmlEncode(image.description); var stripDescription = system.htmlEncode(system.removeHtmlTags(image.description)); // strip

    -Tags from description as

    is not valid inside SPAN description = description.toString().replace(/

    /g,""); description = description.toString().replace(/<\/p>/g,"
    "); //system.log(" Image Width: " + contentCopyWidth +" / Returned contentCopyWidth:" + thumbImageWidth + " / Image Result: " + iresult); } catch(err) { imageError = true; } } if ( stripDescription !== "" ) { var showCaption = "1"; } else { var showCaption = "0"; } var lightBox = article.value("lightbox", "lightbox"); var clickURL = article.value("clickurl"); var effect = article.value("effect", "none"); var effectClass = ""; switch ( effect ) { case "hoverzoom": effectClass = " zpeffect zphoverscale"; break; default: effectClass = ""; } context.write("\r\n\r\n"); if ( isNull(image) || imageError ) { context.write("\r\n\t"); if ( system.preview ) { context.write("\r\n\t\t

    \r\n\t\t\t\tDas gewählte Bild ist anscheinend gelöscht worden. Bearbeiten Sie diesen Artikel und wählen Sie erneut ein Bild aus.\r\n\t\t\t

    \r\n\t\t
    \r\n\t"); } context.write("\r\n"); } else { context.write("\r\n\t"); if ( lightBox == "zoom" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\r\n\t\t\t
    \r\n\t\t"); context.write( system.partial("article-end.html") ); context.write(" \r\n\t"); } else if ( lightBox == true || lightBox == "lightbox" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html", "popupimage") ); context.write("\r\n\t\t\t\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else if ( lightBox == "off" ) { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\r\n\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } else { context.write("\r\n\t\t"); context.write( system.partial("article-begin.html") ); context.write("\r\n\t\t\t"); if ( clickURL !== "" ) { context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); if ( image.isSvgImage ){ context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else if ( image.isAnimatedGif ) { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } else { context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\tGehe zu URL (go to url).\r\n\t\t\t\t\r\n\t\t\t"); } else { context.write("\r\n\t\t\t\t\r\n\t\t\t"); } context.write("\r\n\r\n\t\t\t"); if ( showCaption == "1" && description ) { context.write("\r\n\t\t\t\t"); context.write( description ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t"); context.write( system.partial("article-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleimage\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570776470948().executeScript(); 2020-07-14 20:57:59,198 [19] INFO - --------- 2020-07-14 20:57:59,198 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1801. 2020-07-14 20:57:59,198 [19] INFO - --------- 2020-07-14 20:57:59,224 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,224 [19] INFO - --------- 2020-07-14 20:57:59,224 [19] INFO - function SE637303570792241850() {} SE637303570792241850.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792241850().executeScript(); 2020-07-14 20:57:59,225 [19] INFO - --------- 2020-07-14 20:57:59,226 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,226 [19] INFO - --------- 2020-07-14 20:57:59,227 [19] INFO - function SE637303570792261852() {} SE637303570792261852.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792261852().executeScript(); 2020-07-14 20:57:59,227 [19] INFO - --------- 2020-07-14 20:57:59,235 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,235 [19] INFO - --------- 2020-07-14 20:57:59,236 [19] INFO - function SE637303570792261852() {} SE637303570792261852.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792261852().executeScript(); 2020-07-14 20:57:59,236 [19] INFO - --------- 2020-07-14 20:57:59,236 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1802. 2020-07-14 20:57:59,237 [19] INFO - --------- 2020-07-14 20:57:59,238 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,239 [19] INFO - --------- 2020-07-14 20:57:59,239 [19] INFO - function SE637303570792381858() {} SE637303570792381858.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792381858().executeScript(); 2020-07-14 20:57:59,239 [19] INFO - --------- 2020-07-14 20:57:59,241 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,242 [19] INFO - --------- 2020-07-14 20:57:59,242 [19] INFO - function SE637303570792381858() {} SE637303570792381858.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. var fallbackColor = context.param(0, ""); var forceAlign = context.param(1, ""); var additionalAttributes = context.param(2, ""); var inlineStyle = ""; var inlineColor = ""; var articleAlign = ""; if ( article.headlineColor ){ inlineColor = "color: " + article.headlineColor + "; "; } else if ( fallbackColor ){ inlineColor = "color: " + fallbackColor + "; "; } if ( forceAlign !== "" ){ articleAlign = "text-align:" + forceAlign + ";"; } else if ( article.headlineAlign !== "" ){ articleAlign = "text-align:" + article.headlineAlign + ";"; } if ( inlineColor !== "" || articleAlign !== ""){ inlineStyle = 'style="' + inlineColor + articleAlign + '"'; } context.write("\r\n"); if ( article.headline != "" ) { context.write("\r\n\t<"); context.write( article.headlineLevel ); context.write(" \r\n\t\r\n\t"); context.write( additionalAttributes ); context.write(" "); context.write( inlineStyle ); context.write(" data-zpfieldname=\"headline\">"); context.write( article.headline ); context.write("\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-headline.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792381858().executeScript(); 2020-07-14 20:57:59,242 [19] INFO - --------- 2020-07-14 20:57:59,243 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1803. 2020-07-14 20:57:59,243 [19] INFO - --------- 2020-07-14 20:57:59,244 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,244 [19] INFO - --------- 2020-07-14 20:57:59,244 [19] INFO - function SE637303570792441862() {} SE637303570792441862.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792441862().executeScript(); 2020-07-14 20:57:59,245 [19] INFO - --------- 2020-07-14 20:57:59,247 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,247 [19] INFO - --------- 2020-07-14 20:57:59,248 [19] INFO - function SE637303570792441862() {} SE637303570792441862.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. var fieldName = context.param(0, "text"); context.write("\r\n"); if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-start.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792441862().executeScript(); 2020-07-14 20:57:59,248 [19] INFO - --------- 2020-07-14 20:57:59,248 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1804. 2020-07-14 20:57:59,248 [19] INFO - --------- 2020-07-14 20:57:59,249 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,250 [19] INFO - --------- 2020-07-14 20:57:59,250 [19] INFO - function SE637303570792491865() {} SE637303570792491865.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792491865().executeScript(); 2020-07-14 20:57:59,250 [19] INFO - --------- 2020-07-14 20:57:59,251 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,252 [19] INFO - --------- 2020-07-14 20:57:59,252 [19] INFO - function SE637303570792491865() {} SE637303570792491865.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. if ( !isNull(article) ) { context.write("\r\n\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editor-end.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792491865().executeScript(); 2020-07-14 20:57:59,252 [19] INFO - --------- 2020-07-14 20:57:59,252 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1805. 2020-07-14 20:57:59,253 [19] INFO - --------- 2020-07-14 20:57:59,254 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,254 [19] INFO - --------- 2020-07-14 20:57:59,254 [19] INFO - function SE637303570792241850() {} SE637303570792241850.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. context.write( system.partial("article-begin.html") ); context.write("\r\n\t"); if ( article.inArea("News") ) { context.write("\r\n\t\t
    \r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t
    "); context.write( article.value('Text') ); context.write("
    \r\n\t\t
    \r\n\t"); } else { context.write("\r\n\t\t\t"); context.write( system.partial("article-headline.html") ); context.write("\r\n\t\t\t"); context.write( system.partial("inline-editor-start.html") ); context.write( article.value('Text') ); context.write( system.partial("inline-editor-end.html") ); context.write("\r\n\t"); } context.write("\r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\text\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792241850().executeScript(); 2020-07-14 20:57:59,255 [19] INFO - --------- 2020-07-14 20:57:59,255 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1806. 2020-07-14 20:57:59,255 [19] INFO - --------- 2020-07-14 20:57:59,271 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,272 [19] INFO - --------- 2020-07-14 20:57:59,272 [19] INFO - function SE637303570792711877() {} SE637303570792711877.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

    \r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

    \r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792711877().executeScript(); 2020-07-14 20:57:59,272 [19] INFO - --------- 2020-07-14 20:57:59,275 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,275 [19] INFO - --------- 2020-07-14 20:57:59,275 [19] INFO - function SE637303570792741879() {} SE637303570792741879.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792741879().executeScript(); 2020-07-14 20:57:59,276 [19] INFO - --------- 2020-07-14 20:57:59,281 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,281 [19] INFO - --------- 2020-07-14 20:57:59,281 [19] INFO - function SE637303570792741879() {} SE637303570792741879.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792741879().executeScript(); 2020-07-14 20:57:59,282 [19] INFO - --------- 2020-07-14 20:57:59,282 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1807. 2020-07-14 20:57:59,283 [19] INFO - --------- 2020-07-14 20:57:59,283 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,284 [19] INFO - --------- 2020-07-14 20:57:59,284 [19] INFO - function SE637303570792831884() {} SE637303570792831884.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792831884().executeScript(); 2020-07-14 20:57:59,284 [19] INFO - --------- 2020-07-14 20:57:59,289 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,289 [19] INFO - --------- 2020-07-14 20:57:59,290 [19] INFO - function SE637303570792831884() {} SE637303570792831884.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792831884().executeScript(); 2020-07-14 20:57:59,290 [19] INFO - --------- 2020-07-14 20:57:59,290 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1808. 2020-07-14 20:57:59,291 [19] INFO - --------- 2020-07-14 20:57:59,292 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,292 [19] INFO - --------- 2020-07-14 20:57:59,293 [19] INFO - function SE637303570792711877() {} SE637303570792711877.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

    \r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

    \r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792711877().executeScript(); 2020-07-14 20:57:59,293 [19] INFO - --------- 2020-07-14 20:57:59,293 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1809. 2020-07-14 20:57:59,294 [19] INFO - --------- 2020-07-14 20:57:59,299 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,300 [19] INFO - --------- 2020-07-14 20:57:59,300 [19] INFO - function SE637303570792991893() {} SE637303570792991893.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

    \r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

    \r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792991893().executeScript(); 2020-07-14 20:57:59,301 [19] INFO - --------- 2020-07-14 20:57:59,303 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,304 [19] INFO - --------- 2020-07-14 20:57:59,304 [19] INFO - function SE637303570793031896() {} SE637303570793031896.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793031896().executeScript(); 2020-07-14 20:57:59,305 [19] INFO - --------- 2020-07-14 20:57:59,311 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,311 [19] INFO - --------- 2020-07-14 20:57:59,312 [19] INFO - function SE637303570793031896() {} SE637303570793031896.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793031896().executeScript(); 2020-07-14 20:57:59,313 [19] INFO - --------- 2020-07-14 20:57:59,313 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1810. 2020-07-14 20:57:59,313 [19] INFO - --------- 2020-07-14 20:57:59,314 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,315 [19] INFO - --------- 2020-07-14 20:57:59,315 [19] INFO - function SE637303570793141902() {} SE637303570793141902.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793141902().executeScript(); 2020-07-14 20:57:59,315 [19] INFO - --------- 2020-07-14 20:57:59,320 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,321 [19] INFO - --------- 2020-07-14 20:57:59,321 [19] INFO - function SE637303570793141902() {} SE637303570793141902.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793141902().executeScript(); 2020-07-14 20:57:59,321 [19] INFO - --------- 2020-07-14 20:57:59,322 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1811. 2020-07-14 20:57:59,322 [19] INFO - --------- 2020-07-14 20:57:59,323 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,323 [19] INFO - --------- 2020-07-14 20:57:59,324 [19] INFO - function SE637303570792991893() {} SE637303570792991893.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

    \r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

    \r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570792991893().executeScript(); 2020-07-14 20:57:59,324 [19] INFO - --------- 2020-07-14 20:57:59,324 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1812. 2020-07-14 20:57:59,325 [19] INFO - --------- 2020-07-14 20:57:59,331 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,332 [19] INFO - --------- 2020-07-14 20:57:59,332 [19] INFO - function SE637303570793311912() {} SE637303570793311912.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

    \r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

    \r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793311912().executeScript(); 2020-07-14 20:57:59,332 [19] INFO - --------- 2020-07-14 20:57:59,334 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,336 [19] INFO - --------- 2020-07-14 20:57:59,336 [19] INFO - function SE637303570793341913() {} SE637303570793341913.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793341913().executeScript(); 2020-07-14 20:57:59,336 [19] INFO - --------- 2020-07-14 20:57:59,342 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,343 [19] INFO - --------- 2020-07-14 20:57:59,343 [19] INFO - function SE637303570793341913() {} SE637303570793341913.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. var additionalClass = context.param(0, ""); var articleAreaInlineCSS = context.param(1, ""); // additional Inline CSS may be needed because columnItems have overflow hidden set and don't float etc. and we may want to override that for certain articles. var columnItemInlineCSS = context.param(2, ""); var showCssFields = context.param(3, true); var columnItemCSSClass = context.param(4, ""); var dataAttributes = context.param(5, ""); if ( columnItemCSSClass !== "" ){ columnItemCSSClass = " " + columnItemCSSClass; } var inlineCss = article.inlineCss || ""; var cssClass = article.cssClass || ""; if ( additionalClass !== "" ){ additionalClass = " " + additionalClass; } if ( showCssFields && cssClass ){ additionalClass = additionalClass + " " + cssClass; } if ( columnItemInlineCSS !== "" ){ columnItemInlineCSS = " style=\"" + columnItemInlineCSS + "\""; } if ( (showCssFields && inlineCss) || articleAreaInlineCSS ){ //inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; if ( showCssFields && inlineCss ){ inlineCss = ' style="' + inlineCss + ' ' + articleAreaInlineCSS + '"'; } else{ inlineCss = ' style="' + articleAreaInlineCSS + '"'; } } else{ inlineCss = ""; } function validClassName(theName){ var tmp = theName.toString().replace(/\s/g, "_"); // strip all non alphanumerics and make them dashes tmp = tmp.toString().replace(/[^a-z0-9\-_]+/gi, '-'); return tmp; } // so we do not have to define rules for all possible widgets, we unify text-based-widgets as "widget-text" unifiedTextWidgets = "alertbanner, artikeluebersicht, blogartikel, tabs, "; if ( unifiedTextWidgets.indexOf(article.widgetNameInternal + ", ") !== -1 ){ var myLeElement = "widget-text"; } else{ var myLeElement = "widget-" + article.widgetNameInternal; } context.write("\r\n
    \r\n\t
    \r\n"); context.write( dataAttributes ); context.write(" class=\"articlearea zpw"); context.write( validClassName(article.widgetName) ); context.write( additionalClass ); context.write("\""); context.write( inlineCss ); context.write(" "); if ( !isNull(article) ) { context.write("\r\n\t\r\n\t"); } context.write(">\r\n\t"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\article-begin.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793341913().executeScript(); 2020-07-14 20:57:59,343 [19] INFO - --------- 2020-07-14 20:57:59,344 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1813. 2020-07-14 20:57:59,344 [19] INFO - --------- 2020-07-14 20:57:59,345 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,345 [19] INFO - --------- 2020-07-14 20:57:59,345 [19] INFO - function SE637303570793451920() {} SE637303570793451920.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793451920().executeScript(); 2020-07-14 20:57:59,346 [19] INFO - --------- 2020-07-14 20:57:59,347 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,348 [19] INFO - --------- 2020-07-14 20:57:59,348 [19] INFO - function SE637303570793451920() {} SE637303570793451920.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. var fieldName = context.param(0, "url"); var target = context.param(1, article.value(fieldName + '_target')); var nofollow = context.param(2, article.value(fieldName + '_nofollow')); var rel = ""; if ( nofollow ){ rel += "nofollow "; } if ( target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } // fix links in case someone uses an anchor (only) as additional url parameter var finalUrl = article.valueExpanded(fieldName).replace('?#', '#'); context.write("href=\""); context.write( finalUrl ); context.write("\""); context.write( target.length > 0 ? ' target="' + target + '"' : '' ); context.write( rel ); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zplink-expanded.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793451920().executeScript(); 2020-07-14 20:57:59,348 [19] INFO - --------- 2020-07-14 20:57:59,349 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1814. 2020-07-14 20:57:59,349 [19] INFO - --------- 2020-07-14 20:57:59,350 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,350 [19] INFO - --------- 2020-07-14 20:57:59,351 [19] INFO - function SE637303570793311912() {} SE637303570793311912.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) { cssClass = "button " + cssClass; } else { cssClass = "button"; } if ( inlineCss ) { inlineCss = ' style="' + inlineCss + '"'; } var borderRadius = article.value('borderRadius', -1); var bgcolorInactive = article.value('bgcolor-inactive', ''); var textcolorInactive = article.value('textcolor-inactive', ''); var bordercolorInactive = article.value('bordercolor-inactive', ''); var fontweightInactive = article.value('fontweight-inactive', 'default'); var bgcolorHover = article.value('bgcolor-hover', ''); var textcolorHover = article.value('textcolor-hover', ''); var bordercolorHover = article.value('bordercolor-hover', ''); var fontweightHover = article.value('fontweight-hover', 'default'); var borderWidthInactive = article.value('borderWidthInactive', -1); var borderWidthActive = article.value('borderWidthActive', -1); var cssselector = '#a' + article.id + '.zpwButton '; var headstyle = cssselector + "p{text-align: " + article.value('align') + ";}\n"; if ( parseInt(borderWidthInactive) >= 0 ){ headstyle += cssselector + "a.button{border-style: solid; border-width: " + borderWidthInactive + "px !important;}\n"; } if ( parseInt(borderWidthActive) >= 0 ){ headstyle += cssselector + "a.button:hover{border-style: solid; border-width: " + borderWidthActive + "px !important;}\n"; } if ( parseInt(borderRadius) >= 0 ){ headstyle += cssselector + "a.button{border-radius: " + borderRadius + "px !important;}\n"; } if ( bgcolorInactive !== "" ){ headstyle += cssselector + "a.button{background: " + bgcolorInactive + " !important;}\n"; } if ( textcolorInactive !== "" ){ headstyle += cssselector + "a.button{color: " + textcolorInactive + " !important;}\n"; } if ( bordercolorInactive !== "" ){ headstyle += cssselector + "a.button{border-color: " + bordercolorInactive + " !important;}\n"; } if ( fontweightInactive !== "" && fontweightInactive !== "default" ){ headstyle += cssselector + "a.button{font-weight: " + fontweightInactive + " !important;}\n"; } if ( bgcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{background: " + bgcolorHover + " !important;}\n"; } if ( textcolorHover !== "" ){ headstyle += cssselector + "a.button:hover{color: " + textcolorHover + " !important;}\n"; } if ( bordercolorHover !== "" ){ headstyle += cssselector + "a.button:hover{border-color: " + bordercolorHover + " !important;}\n"; } if ( fontweightHover !== "" && fontweightHover !== "default" ){ headstyle += cssselector + "a.button:hover{font-weight: " + fontweightHover + " !important;}\n"; } system.addHtmlHeadElement("\n" + headstyle + "\n"); context.write("\r\n"); context.write( system.partial("article-begin.html", "", "", "", false) ); context.write("\r\n\t

    \r\n\t\t\r\n\t\t\t"); context.write( article.value('text') ); context.write("\r\n\t\t\r\n\t

    \r\n"); context.write( system.partial("article-end.html") ); context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\buttonv12\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793311912().executeScript(); 2020-07-14 20:57:59,351 [19] INFO - --------- 2020-07-14 20:57:59,351 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1815. 2020-07-14 20:57:59,352 [19] INFO - --------- 2020-07-14 20:57:59,361 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,361 [19] INFO - --------- 2020-07-14 20:57:59,362 [19] INFO - function SE637303570581719809() {} SE637303570581719809.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. var areaName = context.param(0, "Standard"); var areaNameLc = areaName.toLowerCase(); var maxColumns = context.param(1, "0"); var cssRowClass = context.param(2, ""); var displayNumColumns = context.param(3, "12"); // number of columns to display. We always calculate with 12, but can display less var cssAreaClass = context.param(4, ""); var noBreakoutWithNews = context.param(5, true); var hideIeForArea = context.param(6, false); var canContainer = project.canContainer; var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas); var hasNews = page.hasArea("News") && (page.anyAreaArticles("News") || showEmptyArticleAreas); var hasNonSymlinkContainer = false; var lastContainerIsSymlink = false; if ( maxColumns == "1" ){ if ( cssRowClass == "" || cssRowClass == "noresize" ){ cssRowClass = "noresize"; } else{ cssRowClass += " noresize"; } } var intPreviewData = ''; if ( system.preview ){ // if internal preview, we add some additional data-attributes to the area // for access in JS (non internal scripting) intPreviewData += ' data-showemptyarticleareas="' + showEmptyArticleAreas + '"'; } context.write("\n\n
    \n\t"); var containers = page.containers(areaName); var firstC = 0; var lastC = containers.count-1; //system.log("last: " + lastC + " of " + containers.count); if ( lastC > firstC && !containers.item(lastC).hasArticles ){ // last container has no articles and is not rendered, so find last visible one for ( var ilcon = lastC; ilcon > 1; --ilcon ){ var lastContainer = containers.item(ilcon); if ( lastContainer.hasArticles ){ lastC = ilcon; break; } } } for ( var icon = 0; icon < containers.count; ++icon ){ var container = containers.item(icon); // if current container doesn't contain any articles, we skip this loop // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content if ( !container.hasArticles && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ firstC++; continue; } // append container styles to head via css var cid = container.id; var output = ""; var isSection = container.value("issection") == "1"; var isStyled = false; if ( container.value("fontcolor", "") !== "" && container.value("fontcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output = cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + container.value("fontcolor") + ";"; output += "}\n"; } if ( container.value("linkcolor", "") !== "" && container.value("linkcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output += "\n\n" + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles)"; output += ", " + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles):hover{"; output += "color: " + container.value("linkcolor") + ";"; output += "}\n"; } if ( container.value("margin", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("margin-top") ){ output += "margin-top: " + container.value("margin-top") + " !important;"; } if ( container.value("margin-bottom") ){ output += "margin-bottom: " + container.value("margin-bottom") + " !important;" ; } output += "}\n"; } if ( container.value("padding", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("padding-top") ){ output += "padding-top: " + container.value("padding-top") + " !important;"; } if ( container.value("padding-bottom") ){ output += "padding-bottom: " + container.value("padding-bottom") + " !important;"; } if ( container.value("padding-left") ){ output += "padding-left: " + container.value("padding-left") + " !important;"; } if ( container.value("padding-right") ){ output += "padding-right: " + container.value("padding-right") + " !important;"; } output += "}\n"; } if ( container.value("bgcolor", "") !== "" && container.value("bgcolor", "") !== "transparent" ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-color: " + container.value("bgcolor") + " !important;"; output += "}\n"; } var image = container.cssBackgroundImage("bgimage"); if ( image.imageUrl ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-image: url(" + image.imageUrl + ") !important;"; output += "background-repeat: " + image.repeat + " !important;"; output += "background-size: " + image.size + " !important;"; output += "background-position: " + (image.position !== "" ? image.position : "center center") + " !important;"; output += "background-attachment: " + (image.attachment !== "" ? image.attachment : "scroll") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var containerstyle = container.inlineCss || ""; containerstyle = containerstyle.toString().replace(/^\s+|\s+$/gm,''); // trim() // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( containerstyle && containerstyle.slice(-1) !== ";" ){ containerstyle += ";"; } var initialContainerstyle = containerstyle; containerstyle = containerstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( containerstyle ){ containerstyle = ' style="' + containerstyle + '"'; } if ( noBreakoutWithNews && system.preview && container.value("breakout") == "1" && hasNews ){ system.warn("Die 'Randlos-Option' für einen Container kann nicht berücksichtigt werden, weil der 'Einfügen-Schalter' auf an steht oder die Seite auch Artikel im News-Bereich enthält."); } var containerTag = "div"; if ( isSection ){ containerTag = "section"; } var containerIsSymlink = container.symlink ? true : false; if ( !containerIsSymlink ){ hasNonSymlinkContainer = true; } else if ( icon == containers.count-1 ){ lastContainerIsSymlink = true; } context.write("\n\t\t\t<"); context.write( containerTag ); context.write(" id=\"container_"); context.write( container.id ); context.write("\" class=\"zpContainer"); if (icon==firstC){ context.write(" first"); } if (icon==lastC){ context.write(" last"); } if( container.value("animate", "") !== "" && container.value("animate") !== "off" ){ context.write(" zpanimate "); context.write( container.value("animate")); } if( isStyled ){ context.write(" styled"); } context.write(" "); if ( container.value("breakout") == "1" ){ context.write("zpBreakout "); } if( noBreakoutWithNews && hasNews ) { context.write(" hasNews"); } context.write(" "); context.write( container.cssClass ); context.write("\""); context.write( containerstyle ); context.write(" \n\t\t\t\t data-zpeleel=\"container\" data-zpleid=\""); context.write( container.id ); context.write("\">\n\t\t\t"); var paragraphs = container.paragraphs; for ( var ipar = 0; ipar < paragraphs.count; ++ipar ){ var additionalRowClass = ""; var paragraph = paragraphs.item(ipar); var columns = paragraph.columns; // if current paragraph doesn't contain articles, we skip the loop, so we don't print empty paragraphs // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content var articleCount = paragraph.articles.count; if ( articleCount < 1 && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ continue; } else if ( articleCount > 0 ){ // set special rowClass for Articles which are not visible, so we can remove any margins which might not be desired var firstWidgetName = paragraph.articles.item(0).widgetName; switch(firstWidgetName) { case "Info-Banner": additionalRowClass = " alertbanner"; break; case "Quelltext": additionalRowClass = " quelltext"; break; case "Slider": additionalRowClass = " zpwSlider"; break; case "Carousel": additionalRowClass = " zpwCarousel"; break; case "Navigationsmenü": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Navigationsmenü manuell": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Video-Hintergrund": additionalRowClass = " zpvideobg"; break; } // append row styles to head via css var rid = paragraph.id; var output = ""; if ( paragraph.value("margin", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("margin-top") ){ output += "margin-top: " + paragraph.value("margin-top", "initial") + " !important;"; } if ( paragraph.value("margin-bottom") ){ output += "margin-bottom: " + paragraph.value("margin-bottom", "initial") + " !important;" ; } output += "}\n"; } if ( paragraph.value("padding", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("padding-top") ){ output += "padding-top: " + paragraph.value("padding-top") + " !important;"; } if ( paragraph.value("padding-bottom") ){ output += "padding-bottom: " + paragraph.value("padding-bottom") + " !important;"; } if ( paragraph.value("padding-left") ){ output += "padding-left: " + paragraph.value("padding-left") + " !important;"; } if ( paragraph.value("padding-right") ){ output += "padding-right: " + paragraph.value("padding-right") + " !important;"; } output += "}\n"; } if ( paragraph.value("bgcolor", "") !== "" && paragraph.value("bgcolor", "") !== "transparent" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-color: " + paragraph.value("bgcolor") + " !important;"; output += "}\n"; } var pimage = paragraph.cssBackgroundImage("bgimage"); if ( pimage.imageUrl ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-image: url(" + pimage.imageUrl + ") !important;"; output += "background-repeat: " + pimage.repeat + " !important;"; output += "background-size: " + pimage.size + " !important;"; output += "background-position: " + (pimage.position !== "" ? pimage.position : "center center") + " !important;"; output += "background-attachment: " + (pimage.attachment !== "" ? pimage.attachment : "scroll") + ";"; output += "}\n"; } if ( paragraph.value("justifycontent", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "justify-content: " + paragraph.value("justifycontent") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } // paragraph styles var rowstyle = paragraph.inlineCss || ""; rowstyle = rowstyle.toString().replace(/^\s+|\s+$/gm,''); // trim(); // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( rowstyle && rowstyle.slice(-1) !== ";" ){ rowstyle += ";"; } context.write("\n\t\t\n\t\t\t\t\t"); if ( paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t"); rowstyle = " width: 100%; margin: 0 auto; float: none;"; } rowstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( rowstyle ){ rowstyle = ' style="' + rowstyle + '"'; } } context.write("\n\t\t\t\t\t
    \n\t\t\t\t\t>\n\t\t\n\t\t\t\t\t"); var evenodd = "even"; for ( var icol = 0; icol < columns.count; ++icol ){ var column = columns.item(icol); var articles = column.articles; var coid = column.id; var output = ""; var isStyled = false; var selectorPrefix = "#container_" + cid + " "; if ( column.value("bgcolor", "") !== "" && column.value("bgcolor", "") !== "transparent" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "background-color: " + column.value("bgcolor") + ";"; output += "padding-top: 15px;"; output += "padding-bottom: 15px;"; output += "}\n"; isStyled = true; } if ( column.value("fontcolor", "") !== "" && column.value("fontcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + column.value("fontcolor") + ";"; output += "}\n"; } if ( column.value("linkcolor", "") !== "" && column.value("linkcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += "\n\n" + cssSelector + " a:not(.button)"; output += ", " + cssSelector + " a:not(.button):hover{"; output += "color: " + column.value("linkcolor") + ";"; output += "}\n"; } if ( column.value("align-self", "") !== "" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "align-self: " + column.value("align-self") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var clearCss = column.value("clearLeft") ? "clear: left;" : ""; if ( column.articles.count > 0 ){ var firstWidgetName = articles.item(0).widgetName; } else{ var firstWidgetName = ""; } // used in a className, alternate between even and odd, not taking into account zpSpacer-Columns if( firstWidgetName !== "Spacer" ){ if( evenodd === "even" ){ evenodd = "odd"; } else{ evenodd = "even"; } var additionalColumnClass = " " + evenodd; } else{ var additionalColumnClass = ""; } // if a spacer-widget is alone in a column, we set a class .zpSpacer, so we can set the width of spacer-widgets responsively in zpgrid.less accordingly if ( firstWidgetName == "Spacer" && column.articles.count < 2 ){ additionalColumnClass += " zpSpacer"; } else if ( firstWidgetName == "Navigationsmenü" ){ additionalColumnClass += " zpnavmenu"; } // TODO move adding of missing classes to converter and remove next 4 lines var columnCssClass = column.cssClass; if ( !column.cssClass || !column.cssClass.match(/\bc[1-9][0-2]?\b/) ){ columnCssClass = "c" + String(Math.round(12 / columns.count - 0.1)) ; } if ( column.value("clearLeft") ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t>\n\t\t\t\n\t\t\t\t\t\t\t"); for ( var iart = 0; iart < articles.count; ++iart ){ var a = articles.item(iart); context.write(a.render()); } context.write("\n\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\n\t\t\t\t\t\t"); } // insert zp-ad-box in last row of last container on impressum pages if ( system.isFreeware && areaName.toLowerCase() == "standard" && page.isSpecialPage("legal") && icon == containers.count-1 && ipar == paragraphs.count-1 ){ context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t"); context.write( system.partial("zpinfolegal.html") ); context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\n\t\t\t\t\t
    \n\t\t\t\t"); if ( articleCount > 0 && paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t
    \n\t\t\t\t"); } context.write("\n\t\t\n\t\t\t\t"); } context.write(""); } context.write("\n\t"); if ( !hideIeForArea ) { context.write("\n\t\t\n\t"); } context.write("\n
    \n\n"); // insert overlay on startpage if ( !system.preview && system.isFreeware && areaName.toLowerCase() == "standard" && projectFolder.startPage && projectFolder.startPage.id == page.id ){ context.write("\n\t\t"); context.write( system.partial("zpinfooverlay.html") ); context.write("\n\t\t"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570581719809().executeScript(); 2020-07-14 20:57:59,363 [19] INFO - --------- 2020-07-14 20:57:59,364 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1816. 2020-07-14 20:57:59,364 [19] INFO - --------- 2020-07-14 20:57:59,367 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,367 [19] INFO - --------- 2020-07-14 20:57:59,367 [19] INFO - function SE637303570793671932() {} SE637303570793671932.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=2 ) { return; } context.write("\r\n\r\n\r\n\t"); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n\t\t\t"); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n\t\t\t "); context.write( system.partial("submenu1.html", p.id, 2) ); context.write("\r\n\t\t\t"); } context.write("\r\n\r\n\t"); } } context.write("\r\n\r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793671932().executeScript(); 2020-07-14 20:57:59,368 [19] INFO - --------- 2020-07-14 20:57:59,378 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,379 [19] INFO - --------- 2020-07-14 20:57:59,379 [19] INFO - function SE637303570793781938() {} SE637303570793781938.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
    \r\n\t
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu1-aktiv.html", p.id, 2) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu1.html", p.id, 2) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t
    \r\n
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793781938().executeScript(); 2020-07-14 20:57:59,379 [19] INFO - --------- 2020-07-14 20:57:59,383 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,383 [19] INFO - --------- 2020-07-14 20:57:59,383 [19] INFO - function SE637303570793821941() {} SE637303570793821941.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("\r\n"); context.write( system.partial("submenu2.html", p.id) ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793821941().executeScript(); 2020-07-14 20:57:59,383 [19] INFO - --------- 2020-07-14 20:57:59,385 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,386 [19] INFO - --------- 2020-07-14 20:57:59,386 [19] INFO - function SE637303570793851942() {} SE637303570793851942.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } //if ( !isNull(p) && p.level!=3 ) { return; } context.write("\r\n\t\t
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu2-aktiv.html", p.id, 3) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu2.html", p.id, 3) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t\t
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793851942().executeScript(); 2020-07-14 20:57:59,386 [19] INFO - --------- 2020-07-14 20:57:59,388 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,388 [19] INFO - --------- 2020-07-14 20:57:59,389 [19] INFO - function SE637303570793851942() {} SE637303570793851942.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } //if ( !isNull(p) && p.level!=3 ) { return; } context.write("\r\n\t\t
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu2-aktiv.html", p.id, 3) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu2.html", p.id, 3) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t\t
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu2.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793851942().executeScript(); 2020-07-14 20:57:59,390 [19] INFO - --------- 2020-07-14 20:57:59,390 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1817. 2020-07-14 20:57:59,391 [19] INFO - --------- 2020-07-14 20:57:59,391 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,392 [19] INFO - --------- 2020-07-14 20:57:59,392 [19] INFO - function SE637303570793821941() {} SE637303570793821941.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("\r\n"); context.write( system.partial("submenu2.html", p.id) ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793821941().executeScript(); 2020-07-14 20:57:59,392 [19] INFO - --------- 2020-07-14 20:57:59,393 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1818. 2020-07-14 20:57:59,393 [19] INFO - --------- 2020-07-14 20:57:59,395 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,396 [19] INFO - --------- 2020-07-14 20:57:59,396 [19] INFO - function SE637303570793951948() {} SE637303570793951948.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793951948().executeScript(); 2020-07-14 20:57:59,396 [19] INFO - --------- 2020-07-14 20:57:59,398 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,398 [19] INFO - --------- 2020-07-14 20:57:59,399 [19] INFO - function SE637303570793951948() {} SE637303570793951948.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793951948().executeScript(); 2020-07-14 20:57:59,399 [19] INFO - --------- 2020-07-14 20:57:59,399 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1819. 2020-07-14 20:57:59,400 [19] INFO - --------- 2020-07-14 20:57:59,401 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,402 [19] INFO - --------- 2020-07-14 20:57:59,402 [19] INFO - function SE637303570794011952() {} SE637303570794011952.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794011952().executeScript(); 2020-07-14 20:57:59,402 [19] INFO - --------- 2020-07-14 20:57:59,404 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,404 [19] INFO - --------- 2020-07-14 20:57:59,405 [19] INFO - function SE637303570794011952() {} SE637303570794011952.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794011952().executeScript(); 2020-07-14 20:57:59,405 [19] INFO - --------- 2020-07-14 20:57:59,405 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1820. 2020-07-14 20:57:59,406 [19] INFO - --------- 2020-07-14 20:57:59,407 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,408 [19] INFO - --------- 2020-07-14 20:57:59,408 [19] INFO - function SE637303570794071955() {} SE637303570794071955.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794071955().executeScript(); 2020-07-14 20:57:59,408 [19] INFO - --------- 2020-07-14 20:57:59,412 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,412 [19] INFO - --------- 2020-07-14 20:57:59,413 [19] INFO - function SE637303570794071955() {} SE637303570794071955.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794071955().executeScript(); 2020-07-14 20:57:59,413 [19] INFO - --------- 2020-07-14 20:57:59,413 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1821. 2020-07-14 20:57:59,414 [19] INFO - --------- 2020-07-14 20:57:59,416 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,416 [19] INFO - --------- 2020-07-14 20:57:59,416 [19] INFO - function SE637303570794161960() {} SE637303570794161960.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794161960().executeScript(); 2020-07-14 20:57:59,417 [19] INFO - --------- 2020-07-14 20:57:59,419 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,419 [19] INFO - --------- 2020-07-14 20:57:59,419 [19] INFO - function SE637303570794161960() {} SE637303570794161960.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794161960().executeScript(); 2020-07-14 20:57:59,419 [19] INFO - --------- 2020-07-14 20:57:59,420 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1822. 2020-07-14 20:57:59,422 [19] INFO - --------- 2020-07-14 20:57:59,424 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,425 [19] INFO - --------- 2020-07-14 20:57:59,425 [19] INFO - function SE637303570794241965() {} SE637303570794241965.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794241965().executeScript(); 2020-07-14 20:57:59,425 [19] INFO - --------- 2020-07-14 20:57:59,427 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,427 [19] INFO - --------- 2020-07-14 20:57:59,428 [19] INFO - function SE637303570794241965() {} SE637303570794241965.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794241965().executeScript(); 2020-07-14 20:57:59,428 [19] INFO - --------- 2020-07-14 20:57:59,428 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1823. 2020-07-14 20:57:59,429 [19] INFO - --------- 2020-07-14 20:57:59,430 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,431 [19] INFO - --------- 2020-07-14 20:57:59,431 [19] INFO - function SE637303570794301968() {} SE637303570794301968.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794301968().executeScript(); 2020-07-14 20:57:59,431 [19] INFO - --------- 2020-07-14 20:57:59,433 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,433 [19] INFO - --------- 2020-07-14 20:57:59,434 [19] INFO - function SE637303570794301968() {} SE637303570794301968.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794301968().executeScript(); 2020-07-14 20:57:59,434 [19] INFO - --------- 2020-07-14 20:57:59,434 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1824. 2020-07-14 20:57:59,435 [19] INFO - --------- 2020-07-14 20:57:59,436 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,437 [19] INFO - --------- 2020-07-14 20:57:59,437 [19] INFO - function SE637303570794361972() {} SE637303570794361972.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794361972().executeScript(); 2020-07-14 20:57:59,437 [19] INFO - --------- 2020-07-14 20:57:59,439 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,439 [19] INFO - --------- 2020-07-14 20:57:59,439 [19] INFO - function SE637303570794361972() {} SE637303570794361972.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794361972().executeScript(); 2020-07-14 20:57:59,440 [19] INFO - --------- 2020-07-14 20:57:59,440 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1825. 2020-07-14 20:57:59,440 [19] INFO - --------- 2020-07-14 20:57:59,442 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,443 [19] INFO - --------- 2020-07-14 20:57:59,443 [19] INFO - function SE637303570794421975() {} SE637303570794421975.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794421975().executeScript(); 2020-07-14 20:57:59,443 [19] INFO - --------- 2020-07-14 20:57:59,445 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,445 [19] INFO - --------- 2020-07-14 20:57:59,445 [19] INFO - function SE637303570794421975() {} SE637303570794421975.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n\t
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794421975().executeScript(); 2020-07-14 20:57:59,446 [19] INFO - --------- 2020-07-14 20:57:59,446 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1826. 2020-07-14 20:57:59,446 [19] INFO - --------- 2020-07-14 20:57:59,447 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,447 [19] INFO - --------- 2020-07-14 20:57:59,448 [19] INFO - function SE637303570793781938() {} SE637303570793781938.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
    \r\n\t
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-submenu1-aktiv.html", p.id, 2) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-submenu1.html", p.id, 2) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n\t
    \r\n
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu1.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793781938().executeScript(); 2020-07-14 20:57:59,448 [19] INFO - --------- 2020-07-14 20:57:59,448 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1827. 2020-07-14 20:57:59,449 [19] INFO - --------- 2020-07-14 20:57:59,455 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,455 [19] INFO - --------- 2020-07-14 20:57:59,455 [19] INFO - function SE637303570793671932() {} SE637303570793671932.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=2 ) { return; } context.write("\r\n\r\n\r\n\t"); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n\t\t\t"); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n\t\t\t "); context.write( system.partial("submenu1.html", p.id, 2) ); context.write("\r\n\t\t\t"); } context.write("\r\n\r\n\t"); } } context.write("\r\n\r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\submenu-layout.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570793671932().executeScript(); 2020-07-14 20:57:59,456 [19] INFO - --------- 2020-07-14 20:57:59,456 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1828. 2020-07-14 20:57:59,456 [19] INFO - --------- 2020-07-14 20:57:59,458 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,458 [19] INFO - --------- 2020-07-14 20:57:59,459 [19] INFO - function SE637303570794581984() {} SE637303570794581984.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. var areaName = context.param(0, "Standard"); var areaNameLc = areaName.toLowerCase(); var maxColumns = context.param(1, "0"); var cssRowClass = context.param(2, ""); var displayNumColumns = context.param(3, "12"); // number of columns to display. We always calculate with 12, but can display less var cssAreaClass = context.param(4, ""); var noBreakoutWithNews = context.param(5, true); var hideIeForArea = context.param(6, false); var canContainer = project.canContainer; var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas); var hasNews = page.hasArea("News") && (page.anyAreaArticles("News") || showEmptyArticleAreas); var hasNonSymlinkContainer = false; var lastContainerIsSymlink = false; if ( maxColumns == "1" ){ if ( cssRowClass == "" || cssRowClass == "noresize" ){ cssRowClass = "noresize"; } else{ cssRowClass += " noresize"; } } var intPreviewData = ''; if ( system.preview ){ // if internal preview, we add some additional data-attributes to the area // for access in JS (non internal scripting) intPreviewData += ' data-showemptyarticleareas="' + showEmptyArticleAreas + '"'; } context.write("\n\n
    \n\t"); var containers = page.containers(areaName); var firstC = 0; var lastC = containers.count-1; //system.log("last: " + lastC + " of " + containers.count); if ( lastC > firstC && !containers.item(lastC).hasArticles ){ // last container has no articles and is not rendered, so find last visible one for ( var ilcon = lastC; ilcon > 1; --ilcon ){ var lastContainer = containers.item(ilcon); if ( lastContainer.hasArticles ){ lastC = ilcon; break; } } } for ( var icon = 0; icon < containers.count; ++icon ){ var container = containers.item(icon); // if current container doesn't contain any articles, we skip this loop // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content if ( !container.hasArticles && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ firstC++; continue; } // append container styles to head via css var cid = container.id; var output = ""; var isSection = container.value("issection") == "1"; var isStyled = false; if ( container.value("fontcolor", "") !== "" && container.value("fontcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output = cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + container.value("fontcolor") + ";"; output += "}\n"; } if ( container.value("linkcolor", "") !== "" && container.value("linkcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output += "\n\n" + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles)"; output += ", " + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles):hover{"; output += "color: " + container.value("linkcolor") + ";"; output += "}\n"; } if ( container.value("margin", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("margin-top") ){ output += "margin-top: " + container.value("margin-top") + " !important;"; } if ( container.value("margin-bottom") ){ output += "margin-bottom: " + container.value("margin-bottom") + " !important;" ; } output += "}\n"; } if ( container.value("padding", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("padding-top") ){ output += "padding-top: " + container.value("padding-top") + " !important;"; } if ( container.value("padding-bottom") ){ output += "padding-bottom: " + container.value("padding-bottom") + " !important;"; } if ( container.value("padding-left") ){ output += "padding-left: " + container.value("padding-left") + " !important;"; } if ( container.value("padding-right") ){ output += "padding-right: " + container.value("padding-right") + " !important;"; } output += "}\n"; } if ( container.value("bgcolor", "") !== "" && container.value("bgcolor", "") !== "transparent" ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-color: " + container.value("bgcolor") + " !important;"; output += "}\n"; } var image = container.cssBackgroundImage("bgimage"); if ( image.imageUrl ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-image: url(" + image.imageUrl + ") !important;"; output += "background-repeat: " + image.repeat + " !important;"; output += "background-size: " + image.size + " !important;"; output += "background-position: " + (image.position !== "" ? image.position : "center center") + " !important;"; output += "background-attachment: " + (image.attachment !== "" ? image.attachment : "scroll") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var containerstyle = container.inlineCss || ""; containerstyle = containerstyle.toString().replace(/^\s+|\s+$/gm,''); // trim() // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( containerstyle && containerstyle.slice(-1) !== ";" ){ containerstyle += ";"; } var initialContainerstyle = containerstyle; containerstyle = containerstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( containerstyle ){ containerstyle = ' style="' + containerstyle + '"'; } if ( noBreakoutWithNews && system.preview && container.value("breakout") == "1" && hasNews ){ system.warn("Die 'Randlos-Option' für einen Container kann nicht berücksichtigt werden, weil der 'Einfügen-Schalter' auf an steht oder die Seite auch Artikel im News-Bereich enthält."); } var containerTag = "div"; if ( isSection ){ containerTag = "section"; } var containerIsSymlink = container.symlink ? true : false; if ( !containerIsSymlink ){ hasNonSymlinkContainer = true; } else if ( icon == containers.count-1 ){ lastContainerIsSymlink = true; } context.write("\n\t\t\t<"); context.write( containerTag ); context.write(" id=\"container_"); context.write( container.id ); context.write("\" class=\"zpContainer"); if (icon==firstC){ context.write(" first"); } if (icon==lastC){ context.write(" last"); } if( container.value("animate", "") !== "" && container.value("animate") !== "off" ){ context.write(" zpanimate "); context.write( container.value("animate")); } if( isStyled ){ context.write(" styled"); } context.write(" "); if ( container.value("breakout") == "1" ){ context.write("zpBreakout "); } if( noBreakoutWithNews && hasNews ) { context.write(" hasNews"); } context.write(" "); context.write( container.cssClass ); context.write("\""); context.write( containerstyle ); context.write(" \n\t\t\t\t data-zpeleel=\"container\" data-zpleid=\""); context.write( container.id ); context.write("\">\n\t\t\t"); var paragraphs = container.paragraphs; for ( var ipar = 0; ipar < paragraphs.count; ++ipar ){ var additionalRowClass = ""; var paragraph = paragraphs.item(ipar); var columns = paragraph.columns; // if current paragraph doesn't contain articles, we skip the loop, so we don't print empty paragraphs // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content var articleCount = paragraph.articles.count; if ( articleCount < 1 && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ continue; } else if ( articleCount > 0 ){ // set special rowClass for Articles which are not visible, so we can remove any margins which might not be desired var firstWidgetName = paragraph.articles.item(0).widgetName; switch(firstWidgetName) { case "Info-Banner": additionalRowClass = " alertbanner"; break; case "Quelltext": additionalRowClass = " quelltext"; break; case "Slider": additionalRowClass = " zpwSlider"; break; case "Carousel": additionalRowClass = " zpwCarousel"; break; case "Navigationsmenü": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Navigationsmenü manuell": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Video-Hintergrund": additionalRowClass = " zpvideobg"; break; } // append row styles to head via css var rid = paragraph.id; var output = ""; if ( paragraph.value("margin", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("margin-top") ){ output += "margin-top: " + paragraph.value("margin-top", "initial") + " !important;"; } if ( paragraph.value("margin-bottom") ){ output += "margin-bottom: " + paragraph.value("margin-bottom", "initial") + " !important;" ; } output += "}\n"; } if ( paragraph.value("padding", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("padding-top") ){ output += "padding-top: " + paragraph.value("padding-top") + " !important;"; } if ( paragraph.value("padding-bottom") ){ output += "padding-bottom: " + paragraph.value("padding-bottom") + " !important;"; } if ( paragraph.value("padding-left") ){ output += "padding-left: " + paragraph.value("padding-left") + " !important;"; } if ( paragraph.value("padding-right") ){ output += "padding-right: " + paragraph.value("padding-right") + " !important;"; } output += "}\n"; } if ( paragraph.value("bgcolor", "") !== "" && paragraph.value("bgcolor", "") !== "transparent" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-color: " + paragraph.value("bgcolor") + " !important;"; output += "}\n"; } var pimage = paragraph.cssBackgroundImage("bgimage"); if ( pimage.imageUrl ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-image: url(" + pimage.imageUrl + ") !important;"; output += "background-repeat: " + pimage.repeat + " !important;"; output += "background-size: " + pimage.size + " !important;"; output += "background-position: " + (pimage.position !== "" ? pimage.position : "center center") + " !important;"; output += "background-attachment: " + (pimage.attachment !== "" ? pimage.attachment : "scroll") + ";"; output += "}\n"; } if ( paragraph.value("justifycontent", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "justify-content: " + paragraph.value("justifycontent") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } // paragraph styles var rowstyle = paragraph.inlineCss || ""; rowstyle = rowstyle.toString().replace(/^\s+|\s+$/gm,''); // trim(); // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( rowstyle && rowstyle.slice(-1) !== ";" ){ rowstyle += ";"; } context.write("\n\t\t\n\t\t\t\t\t"); if ( paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t"); rowstyle = " width: 100%; margin: 0 auto; float: none;"; } rowstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( rowstyle ){ rowstyle = ' style="' + rowstyle + '"'; } } context.write("\n\t\t\t\t\t
    \n\t\t\t\t\t>\n\t\t\n\t\t\t\t\t"); var evenodd = "even"; for ( var icol = 0; icol < columns.count; ++icol ){ var column = columns.item(icol); var articles = column.articles; var coid = column.id; var output = ""; var isStyled = false; var selectorPrefix = "#container_" + cid + " "; if ( column.value("bgcolor", "") !== "" && column.value("bgcolor", "") !== "transparent" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "background-color: " + column.value("bgcolor") + ";"; output += "padding-top: 15px;"; output += "padding-bottom: 15px;"; output += "}\n"; isStyled = true; } if ( column.value("fontcolor", "") !== "" && column.value("fontcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + column.value("fontcolor") + ";"; output += "}\n"; } if ( column.value("linkcolor", "") !== "" && column.value("linkcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += "\n\n" + cssSelector + " a:not(.button)"; output += ", " + cssSelector + " a:not(.button):hover{"; output += "color: " + column.value("linkcolor") + ";"; output += "}\n"; } if ( column.value("align-self", "") !== "" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "align-self: " + column.value("align-self") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var clearCss = column.value("clearLeft") ? "clear: left;" : ""; if ( column.articles.count > 0 ){ var firstWidgetName = articles.item(0).widgetName; } else{ var firstWidgetName = ""; } // used in a className, alternate between even and odd, not taking into account zpSpacer-Columns if( firstWidgetName !== "Spacer" ){ if( evenodd === "even" ){ evenodd = "odd"; } else{ evenodd = "even"; } var additionalColumnClass = " " + evenodd; } else{ var additionalColumnClass = ""; } // if a spacer-widget is alone in a column, we set a class .zpSpacer, so we can set the width of spacer-widgets responsively in zpgrid.less accordingly if ( firstWidgetName == "Spacer" && column.articles.count < 2 ){ additionalColumnClass += " zpSpacer"; } else if ( firstWidgetName == "Navigationsmenü" ){ additionalColumnClass += " zpnavmenu"; } // TODO move adding of missing classes to converter and remove next 4 lines var columnCssClass = column.cssClass; if ( !column.cssClass || !column.cssClass.match(/\bc[1-9][0-2]?\b/) ){ columnCssClass = "c" + String(Math.round(12 / columns.count - 0.1)) ; } if ( column.value("clearLeft") ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t>\n\t\t\t\n\t\t\t\t\t\t\t"); for ( var iart = 0; iart < articles.count; ++iart ){ var a = articles.item(iart); context.write(a.render()); } context.write("\n\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\n\t\t\t\t\t\t"); } // insert zp-ad-box in last row of last container on impressum pages if ( system.isFreeware && areaName.toLowerCase() == "standard" && page.isSpecialPage("legal") && icon == containers.count-1 && ipar == paragraphs.count-1 ){ context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t"); context.write( system.partial("zpinfolegal.html") ); context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\n\t\t\t\t\t
    \n\t\t\t\t"); if ( articleCount > 0 && paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t
    \n\t\t\t\t"); } context.write("\n\t\t\n\t\t\t\t"); } context.write(""); } context.write("\n\t"); if ( !hideIeForArea ) { context.write("\n\t\t\n\t"); } context.write("\n
    \n\n"); // insert overlay on startpage if ( !system.preview && system.isFreeware && areaName.toLowerCase() == "standard" && projectFolder.startPage && projectFolder.startPage.id == page.id ){ context.write("\n\t\t"); context.write( system.partial("zpinfooverlay.html") ); context.write("\n\t\t"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794581984().executeScript(); 2020-07-14 20:57:59,461 [19] INFO - --------- 2020-07-14 20:57:59,474 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,474 [19] INFO - --------- 2020-07-14 20:57:59,474 [19] INFO - function SE637303570794581984() {} SE637303570794581984.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. var areaName = context.param(0, "Standard"); var areaNameLc = areaName.toLowerCase(); var maxColumns = context.param(1, "0"); var cssRowClass = context.param(2, ""); var displayNumColumns = context.param(3, "12"); // number of columns to display. We always calculate with 12, but can display less var cssAreaClass = context.param(4, ""); var noBreakoutWithNews = context.param(5, true); var hideIeForArea = context.param(6, false); var canContainer = project.canContainer; var showEmptyArticleAreas = (system.preview && system.showEmptyPreviewAreas); var hasNews = page.hasArea("News") && (page.anyAreaArticles("News") || showEmptyArticleAreas); var hasNonSymlinkContainer = false; var lastContainerIsSymlink = false; if ( maxColumns == "1" ){ if ( cssRowClass == "" || cssRowClass == "noresize" ){ cssRowClass = "noresize"; } else{ cssRowClass += " noresize"; } } var intPreviewData = ''; if ( system.preview ){ // if internal preview, we add some additional data-attributes to the area // for access in JS (non internal scripting) intPreviewData += ' data-showemptyarticleareas="' + showEmptyArticleAreas + '"'; } context.write("\n\n
    \n\t"); var containers = page.containers(areaName); var firstC = 0; var lastC = containers.count-1; //system.log("last: " + lastC + " of " + containers.count); if ( lastC > firstC && !containers.item(lastC).hasArticles ){ // last container has no articles and is not rendered, so find last visible one for ( var ilcon = lastC; ilcon > 1; --ilcon ){ var lastContainer = containers.item(ilcon); if ( lastContainer.hasArticles ){ lastC = ilcon; break; } } } for ( var icon = 0; icon < containers.count; ++icon ){ var container = containers.item(icon); // if current container doesn't contain any articles, we skip this loop // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content if ( !container.hasArticles && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ firstC++; continue; } // append container styles to head via css var cid = container.id; var output = ""; var isSection = container.value("issection") == "1"; var isStyled = false; if ( container.value("fontcolor", "") !== "" && container.value("fontcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output = cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + container.value("fontcolor") + ";"; output += "}\n"; } if ( container.value("linkcolor", "") !== "" && container.value("linkcolor") !== "transparent" ){ var cssSelector = "#container_" + cid; output += "\n\n" + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles)"; output += ", " + cssSelector + " a:not(.button):not(.fancybox):not(.zpSO-Uplink-Flat):not(.zpnolayoutlinkstyles):hover{"; output += "color: " + container.value("linkcolor") + ";"; output += "}\n"; } if ( container.value("margin", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("margin-top") ){ output += "margin-top: " + container.value("margin-top") + " !important;"; } if ( container.value("margin-bottom") ){ output += "margin-bottom: " + container.value("margin-bottom") + " !important;" ; } output += "}\n"; } if ( container.value("padding", "") !== "" ){ var cssSelector = "#container_" + cid; output += cssSelector + "{"; if ( container.value("padding-top") ){ output += "padding-top: " + container.value("padding-top") + " !important;"; } if ( container.value("padding-bottom") ){ output += "padding-bottom: " + container.value("padding-bottom") + " !important;"; } if ( container.value("padding-left") ){ output += "padding-left: " + container.value("padding-left") + " !important;"; } if ( container.value("padding-right") ){ output += "padding-right: " + container.value("padding-right") + " !important;"; } output += "}\n"; } if ( container.value("bgcolor", "") !== "" && container.value("bgcolor", "") !== "transparent" ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-color: " + container.value("bgcolor") + " !important;"; output += "}\n"; } var image = container.cssBackgroundImage("bgimage"); if ( image.imageUrl ){ isStyled = true; var cssSelector = "#container_" + cid; output += cssSelector + "{"; output += "background-image: url(" + image.imageUrl + ") !important;"; output += "background-repeat: " + image.repeat + " !important;"; output += "background-size: " + image.size + " !important;"; output += "background-position: " + (image.position !== "" ? image.position : "center center") + " !important;"; output += "background-attachment: " + (image.attachment !== "" ? image.attachment : "scroll") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var containerstyle = container.inlineCss || ""; containerstyle = containerstyle.toString().replace(/^\s+|\s+$/gm,''); // trim() // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( containerstyle && containerstyle.slice(-1) !== ";" ){ containerstyle += ";"; } var initialContainerstyle = containerstyle; containerstyle = containerstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( containerstyle ){ containerstyle = ' style="' + containerstyle + '"'; } if ( noBreakoutWithNews && system.preview && container.value("breakout") == "1" && hasNews ){ system.warn("Die 'Randlos-Option' für einen Container kann nicht berücksichtigt werden, weil der 'Einfügen-Schalter' auf an steht oder die Seite auch Artikel im News-Bereich enthält."); } var containerTag = "div"; if ( isSection ){ containerTag = "section"; } var containerIsSymlink = container.symlink ? true : false; if ( !containerIsSymlink ){ hasNonSymlinkContainer = true; } else if ( icon == containers.count-1 ){ lastContainerIsSymlink = true; } context.write("\n\t\t\t<"); context.write( containerTag ); context.write(" id=\"container_"); context.write( container.id ); context.write("\" class=\"zpContainer"); if (icon==firstC){ context.write(" first"); } if (icon==lastC){ context.write(" last"); } if( container.value("animate", "") !== "" && container.value("animate") !== "off" ){ context.write(" zpanimate "); context.write( container.value("animate")); } if( isStyled ){ context.write(" styled"); } context.write(" "); if ( container.value("breakout") == "1" ){ context.write("zpBreakout "); } if( noBreakoutWithNews && hasNews ) { context.write(" hasNews"); } context.write(" "); context.write( container.cssClass ); context.write("\""); context.write( containerstyle ); context.write(" \n\t\t\t\t data-zpeleel=\"container\" data-zpleid=\""); context.write( container.id ); context.write("\">\n\t\t\t"); var paragraphs = container.paragraphs; for ( var ipar = 0; ipar < paragraphs.count; ++ipar ){ var additionalRowClass = ""; var paragraph = paragraphs.item(ipar); var columns = paragraph.columns; // if current paragraph doesn't contain articles, we skip the loop, so we don't print empty paragraphs // we do not skip when on impressum page and the container ist the last one, as we need to insert freeware content var articleCount = paragraph.articles.count; if ( articleCount < 1 && !(icon == containers.count-1 && page.isSpecialPage("legal")) ){ continue; } else if ( articleCount > 0 ){ // set special rowClass for Articles which are not visible, so we can remove any margins which might not be desired var firstWidgetName = paragraph.articles.item(0).widgetName; switch(firstWidgetName) { case "Info-Banner": additionalRowClass = " alertbanner"; break; case "Quelltext": additionalRowClass = " quelltext"; break; case "Slider": additionalRowClass = " zpwSlider"; break; case "Carousel": additionalRowClass = " zpwCarousel"; break; case "Navigationsmenü": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Navigationsmenü manuell": if ( paragraph.articles.item(0).value("menufixed") ){ additionalRowClass = " zpwNavmenu zpwNavmenuFixed"; } else{ additionalRowClass = " zpwNavmenu"; } break; case "Video-Hintergrund": additionalRowClass = " zpvideobg"; break; } // append row styles to head via css var rid = paragraph.id; var output = ""; if ( paragraph.value("margin", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("margin-top") ){ output += "margin-top: " + paragraph.value("margin-top", "initial") + " !important;"; } if ( paragraph.value("margin-bottom") ){ output += "margin-bottom: " + paragraph.value("margin-bottom", "initial") + " !important;" ; } output += "}\n"; } if ( paragraph.value("padding", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; if ( paragraph.value("padding-top") ){ output += "padding-top: " + paragraph.value("padding-top") + " !important;"; } if ( paragraph.value("padding-bottom") ){ output += "padding-bottom: " + paragraph.value("padding-bottom") + " !important;"; } if ( paragraph.value("padding-left") ){ output += "padding-left: " + paragraph.value("padding-left") + " !important;"; } if ( paragraph.value("padding-right") ){ output += "padding-right: " + paragraph.value("padding-right") + " !important;"; } output += "}\n"; } if ( paragraph.value("bgcolor", "") !== "" && paragraph.value("bgcolor", "") !== "transparent" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-color: " + paragraph.value("bgcolor") + " !important;"; output += "}\n"; } var pimage = paragraph.cssBackgroundImage("bgimage"); if ( pimage.imageUrl ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "background-image: url(" + pimage.imageUrl + ") !important;"; output += "background-repeat: " + pimage.repeat + " !important;"; output += "background-size: " + pimage.size + " !important;"; output += "background-position: " + (pimage.position !== "" ? pimage.position : "center center") + " !important;"; output += "background-attachment: " + (pimage.attachment !== "" ? pimage.attachment : "scroll") + ";"; output += "}\n"; } if ( paragraph.value("justifycontent", "") !== "" ){ var cssSelector = ".zpRow[data-row-id=\"" + rid + "\"]"; output += cssSelector + "{"; output += "justify-content: " + paragraph.value("justifycontent") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } // paragraph styles var rowstyle = paragraph.inlineCss || ""; rowstyle = rowstyle.toString().replace(/^\s+|\s+$/gm,''); // trim(); // make sure the users inlineCss properly ends with a semicolon as we attach more styles later below if ( rowstyle && rowstyle.slice(-1) !== ";" ){ rowstyle += ";"; } context.write("\n\t\t\n\t\t\t\t\t"); if ( paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t"); rowstyle = " width: 100%; margin: 0 auto; float: none;"; } rowstyle.replace(/^\s+|\s+$/gm,''); // trim() if ( rowstyle ){ rowstyle = ' style="' + rowstyle + '"'; } } context.write("\n\t\t\t\t\t
    \n\t\t\t\t\t>\n\t\t\n\t\t\t\t\t"); var evenodd = "even"; for ( var icol = 0; icol < columns.count; ++icol ){ var column = columns.item(icol); var articles = column.articles; var coid = column.id; var output = ""; var isStyled = false; var selectorPrefix = "#container_" + cid + " "; if ( column.value("bgcolor", "") !== "" && column.value("bgcolor", "") !== "transparent" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "background-color: " + column.value("bgcolor") + ";"; output += "padding-top: 15px;"; output += "padding-bottom: 15px;"; output += "}\n"; isStyled = true; } if ( column.value("fontcolor", "") !== "" && column.value("fontcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector; output += ", " + cssSelector + " p"; output += ", " + cssSelector + " h1"; output += ", " + cssSelector + " h2"; output += ", " + cssSelector + " h3{"; output += "color: " + column.value("fontcolor") + ";"; output += "}\n"; } if ( column.value("linkcolor", "") !== "" && column.value("linkcolor") !== "transparent" ){ var cssSelector = selectorPrefix + "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += "\n\n" + cssSelector + " a:not(.button)"; output += ", " + cssSelector + " a:not(.button):hover{"; output += "color: " + column.value("linkcolor") + ";"; output += "}\n"; } if ( column.value("align-self", "") !== "" ){ var cssSelector = "div.zpRow .zpColumn[data-column-id='" + coid + "']"; output += cssSelector + "{"; output += "align-self: " + column.value("align-self") + ";"; output += "}\n"; } if ( output !== "" ){ system.addHtmlHeadElement("\n" + output.replace(/^\s+|\s+$/gm,'') + "\n"); } var clearCss = column.value("clearLeft") ? "clear: left;" : ""; if ( column.articles.count > 0 ){ var firstWidgetName = articles.item(0).widgetName; } else{ var firstWidgetName = ""; } // used in a className, alternate between even and odd, not taking into account zpSpacer-Columns if( firstWidgetName !== "Spacer" ){ if( evenodd === "even" ){ evenodd = "odd"; } else{ evenodd = "even"; } var additionalColumnClass = " " + evenodd; } else{ var additionalColumnClass = ""; } // if a spacer-widget is alone in a column, we set a class .zpSpacer, so we can set the width of spacer-widgets responsively in zpgrid.less accordingly if ( firstWidgetName == "Spacer" && column.articles.count < 2 ){ additionalColumnClass += " zpSpacer"; } else if ( firstWidgetName == "Navigationsmenü" ){ additionalColumnClass += " zpnavmenu"; } // TODO move adding of missing classes to converter and remove next 4 lines var columnCssClass = column.cssClass; if ( !column.cssClass || !column.cssClass.match(/\bc[1-9][0-2]?\b/) ){ columnCssClass = "c" + String(Math.round(12 / columns.count - 0.1)) ; } if ( column.value("clearLeft") ){ context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t>\n\t\t\t\n\t\t\t\t\t\t\t"); for ( var iart = 0; iart < articles.count; ++iart ){ var a = articles.item(iart); context.write(a.render()); } context.write("\n\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\n\t\t\t\t\t\t"); } // insert zp-ad-box in last row of last container on impressum pages if ( system.isFreeware && areaName.toLowerCase() == "standard" && page.isSpecialPage("legal") && icon == containers.count-1 && ipar == paragraphs.count-1 ){ context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t"); context.write( system.partial("zpinfolegal.html") ); context.write("\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t"); } context.write("\n\n\t\t\t\t\t
    \n\t\t\t\t"); if ( articleCount > 0 && paragraph.value("breakout") == "1" ){ context.write("\n\t\t\t\t
    \n\t\t\t\t"); } context.write("\n\t\t\n\t\t\t\t"); } context.write(""); } context.write("\n\t"); if ( !hideIeForArea ) { context.write("\n\t\t\n\t"); } context.write("\n
    \n\n"); // insert overlay on startpage if ( !system.preview && system.isFreeware && areaName.toLowerCase() == "standard" && projectFolder.startPage && projectFolder.startPage.id == page.id ){ context.write("\n\t\t"); context.write( system.partial("zpinfooverlay.html") ); context.write("\n\t\t"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\area.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794581984().executeScript(); 2020-07-14 20:57:59,476 [19] INFO - --------- 2020-07-14 20:57:59,477 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1829. 2020-07-14 20:57:59,477 [19] INFO - --------- 2020-07-14 20:57:59,478 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,478 [19] INFO - --------- 2020-07-14 20:57:59,479 [19] INFO - function SE637303570794781996() {} SE637303570794781996.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. var args = context.param(0, {}); var wraptag = args["wraptag"] || "div"; var menuid = args["menuid"] || "xmenu"; var menuclass = args["menuclass"] || ""; var listwrapper = args["listwrapper"] || ["",""]; var itemwrapper = args["itemwrapper"] || ["",""]; var areaname = args["areaname"] || "Footer"; context.write("\r\n"); if ( page.attribute("show_extra_menu") ) { var extraMenu = page.extraMenu; context.write("\r\n\t<"); context.write( wraptag ); context.write(" id=\""); context.write( menuid ); context.write("\" class=\""); context.write( menuclass ); context.write("\" "); context.write( system.partial("inline-editing-xmenu.html", areaname) ); context.write(">\r\n\t\t"); context.write( listwrapper[0] ); context.write("\r\n\t\t"); for ( var mi = 0; mi < extraMenu.menuItems.count; ++mi ) { var menuItem = extraMenu.menuItems.item(mi); var rel = ""; if ( menuItem.nofollow ){ rel += "nofollow "; } if ( menuItem.target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } context.write("\r\n\t\t\t"); context.write( itemwrapper[0] ); context.write(""); context.write(menuItem.name); context.write(""); context.write( itemwrapper[1] ); context.write("\r\n\t\t"); } context.write("\r\n\t\t\t"); var output = ""; // Special case for Top Responsive which can add entries via attribute if ( page.attribute("add_extramenu") ) { output += page.attribute("add_extramenu"); } if ( page.attribute("show_language_menu") ){ // language selection var pf = project.projectFolders; if ( pf.count > 0 ){ output += itemwrapper[0] + '' + itemwrapper[1]; } } if ( output !== "" ){ context.write(output); } context.write("\r\n\t\t\t\r\n\t\t"); context.write( listwrapper[1] ); context.write("\r\n\t\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794781996().executeScript(); 2020-07-14 20:57:59,479 [19] INFO - --------- 2020-07-14 20:57:59,481 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,481 [19] INFO - --------- 2020-07-14 20:57:59,482 [19] INFO - function SE637303570794811997() {} SE637303570794811997.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794811997().executeScript(); 2020-07-14 20:57:59,482 [19] INFO - --------- 2020-07-14 20:57:59,483 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,483 [19] INFO - --------- 2020-07-14 20:57:59,484 [19] INFO - function SE637303570794811997() {} SE637303570794811997.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-xmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794811997().executeScript(); 2020-07-14 20:57:59,484 [19] INFO - --------- 2020-07-14 20:57:59,484 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1830. 2020-07-14 20:57:59,485 [19] INFO - --------- 2020-07-14 20:57:59,491 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,491 [19] INFO - --------- 2020-07-14 20:57:59,492 [19] INFO - function SE637303570794781996() {} SE637303570794781996.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. var args = context.param(0, {}); var wraptag = args["wraptag"] || "div"; var menuid = args["menuid"] || "xmenu"; var menuclass = args["menuclass"] || ""; var listwrapper = args["listwrapper"] || ["",""]; var itemwrapper = args["itemwrapper"] || ["",""]; var areaname = args["areaname"] || "Footer"; context.write("\r\n"); if ( page.attribute("show_extra_menu") ) { var extraMenu = page.extraMenu; context.write("\r\n\t<"); context.write( wraptag ); context.write(" id=\""); context.write( menuid ); context.write("\" class=\""); context.write( menuclass ); context.write("\" "); context.write( system.partial("inline-editing-xmenu.html", areaname) ); context.write(">\r\n\t\t"); context.write( listwrapper[0] ); context.write("\r\n\t\t"); for ( var mi = 0; mi < extraMenu.menuItems.count; ++mi ) { var menuItem = extraMenu.menuItems.item(mi); var rel = ""; if ( menuItem.nofollow ){ rel += "nofollow "; } if ( menuItem.target == "_blank"){ rel += "noopener "; } rel = rel.trim(); if ( rel !== "" ){ rel = ' rel="' + rel + '"'; } context.write("\r\n\t\t\t"); context.write( itemwrapper[0] ); context.write(""); context.write(menuItem.name); context.write(""); context.write( itemwrapper[1] ); context.write("\r\n\t\t"); } context.write("\r\n\t\t\t"); var output = ""; // Special case for Top Responsive which can add entries via attribute if ( page.attribute("add_extramenu") ) { output += page.attribute("add_extramenu"); } if ( page.attribute("show_language_menu") ){ // language selection var pf = project.projectFolders; if ( pf.count > 0 ){ output += itemwrapper[0] + '' + itemwrapper[1]; } } if ( output !== "" ){ context.write(output); } context.write("\r\n\t\t\t\r\n\t\t"); context.write( listwrapper[1] ); context.write("\r\n\t\r\n"); } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\zpextramenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794781996().executeScript(); 2020-07-14 20:57:59,492 [19] INFO - --------- 2020-07-14 20:57:59,493 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1831. 2020-07-14 20:57:59,493 [19] INFO - --------- 2020-07-14 20:57:59,497 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,497 [19] INFO - --------- 2020-07-14 20:57:59,498 [19] INFO - function SE637303570794972007() {} SE637303570794972007.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794972007().executeScript(); 2020-07-14 20:57:59,498 [19] INFO - --------- 2020-07-14 20:57:59,499 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,499 [19] INFO - --------- 2020-07-14 20:57:59,500 [19] INFO - function SE637303570794972007() {} SE637303570794972007.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-copyright.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570794972007().executeScript(); 2020-07-14 20:57:59,500 [19] INFO - --------- 2020-07-14 20:57:59,500 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1832. 2020-07-14 20:57:59,501 [19] INFO - --------- 2020-07-14 20:57:59,506 [19] INFO - Finished executing the following script: 2020-07-14 20:57:59,507 [19] INFO - --------- 2020-07-14 20:57:59,507 [19] INFO - function SE637303570579959709() {} SE637303570579959709.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. context.write("\r\n\r\n\r\n\t"); context.write( page.title ); context.write("\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); if ( "../assets/favicon.ico" !== "" ) { context.write(""); } context.write("\r\n\t\r\n\t"); if ( parseInt(page.attribute("webfonts-deactivate", 0)) !== 1 ){context.write(project.webFonts())} context.write("\r\n\r\n\t"); context.write( project.bundleCss() ); context.write("\r\n\r\n\t\r\n\r\n\t"); var additionalCss = page.attribute("additional_css"); if ( additionalCss ) { context.write("\r\n\t\t"); context.write( additionalCss ); context.write("\r\n\t"); } context.write(" \r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( project.bundleJs() ); context.write("\r\n\t\r\n\t\r\n\t"); if ( page.attribute("search_field_visible") ) { context.write("\r\n\t\t\r\n\t"); } context.write("\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( system.partial("rss.html") ); context.write("\r\n\t\r\n\t"); var header = page.anyAreaArticles("Header") || (system.preview && system.showEmptyPreviewAreas) var news = page.anyAreaArticles("News") || (system.preview && system.showEmptyPreviewAreas) function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } var sidebar = hasVisibleChildPages(page.id) || page.level >= 2 || news; context.write("\r\n\r\n\t\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n\t
    \r\n\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Banner") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Banner", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\t\t\t\t"); if ( page.attribute("search_field_visible") ) { context.write("
    \" method=\"get\">
    "); } context.write("\r\n\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t"); if ( page.attribute("web_name_slogan") ) { context.write("\r\n\t\t\t\t\t\t\t\t\t
    Vom Gerätewagen der Schweizer Feuerwehr zum Expeditionsmobil \"Willi\"
    \r\n\t\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( header ) { context.write("\r\n\t\t\t\t"); context.write( system.partial("header.html") ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\t\r\n\t\t\t"); context.write( system.partial("hauptmenu.html") ); context.write("\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t"); if ( page.attribute("show_breadcrumb") ) { context.write("
    \r\n\t\t\t\t"); context.write( system.partial("breadcrumbs.html", (page.attribute("breadcrumb")||"").replace(/"/g, """), (page.attribute("breadcrumb_separator")||"").replace(/"/g, """) ) ); context.write("\r\n\t\t\t
    "); } context.write("\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "top" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Standard", 0, null, null, "zpgrid") ); context.write("
    \r\n\t\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "bottom" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "News", 1, "news") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); context.write( system.partial('zpextramenu.html') ); context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( page.attribute("show_copyright") || project.showCreatorText ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); if ( page.attribute("show_copyright") ) { context.write("\r\n\t\t\t\t\t\t\t© 2018 Willi"); if ( project.showCreatorText ) { context.write(". "); } context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( project.showCreatorText ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write(project.creatorText); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Footer") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Footer", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t
    \r\n\t
    \t\r\n\t\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570579959709().executeScript(); 2020-07-14 20:57:59,508 [19] INFO - --------- 2020-07-14 20:57:59,508 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1833. 2020-07-14 20:57:59,508 [19] INFO - --------- 2020-07-14 20:57:59,511 [19] INFO - Closing the script engine. 2020-07-14 20:57:59,511 [19] INFO - --------- 2020-07-14 20:57:59,512 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1833. 2020-07-14 20:57:59,513 [19] INFO - --------- 2020-07-14 20:57:59,679 [19] INFO - Script engine constructed. 2020-07-14 20:57:59,679 [19] INFO - Script engine initialized. 2020-07-14 20:57:59,680 [19] INFO - About to execute the following script: 2020-07-14 20:57:59,680 [19] INFO - --------- 2020-07-14 20:57:59,681 [19] INFO - /* ------------- {{OmitSourceOutput:Begin}} -------------- */ context.write("\r\n\r\n"); function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } function isNull(obj) { return obj === undefined || obj == null || !obj || 0 === obj.length; } String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; String.format = function(format) { var args = Array.prototype.slice.call(arguments, 1); return format.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; // trim() polyfill - https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/Trim if (!String.prototype.trim) { String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; } // // var vbCrLf = "\r\n"; // // function less(lessString) { // return _context.Less(lessString); // } // // function HtmlEncode(obj){ // return system.htmlEncode(obj); // } // // // helps convert some ZP string values to a bool. // function IsTrue(obj){ // return (obj == "True" || obj === true || obj == 1 ); // } // // // Prüfen, ob leer. // function IsEmpty(str) { // return (!str || 0 === str.length); // } // // // Prüfen, ob leer oder nur Whitespaces enthalten. // function IsBlank(str) { // return (!str || /^\s*$/.test(str)); // } // // // Prüfen, ob leer. // String.prototype.IsEmpty = function() { // return (this.length === 0 || !this.trim()); // }; // // // Prüfen ob NULL oder undefined. // function isNull(obj) { // return obj === undefined || obj == null || !obj // } // // // Eigene Format-Funktion. // // Beispiel: "Dies ist {0} Test.".Format("ein"); // if (!String.prototype.Format) { // String.prototype.Format = function() { // var args = arguments; // return this.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // // Alternative Schreibweise für Format-Funktion. // // Beispiel: String.Format("Dies ist {0} Test.", "ein"); // if (!String.Format) { // String.Format = function(format) { // var args = Array.prototype.slice.call(arguments, 1); // return format.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // /* // // HTML-Attribut ausgeben, nur wenn auch Inhalt hat. // function htmlAttr(attrName, attrValue) { // if ( IsBlank(attrValue) ) { // return ""; // } else { // return '{0}="{1}"'.Format( attrName, attrValue ); // } // } // // // HTML-Attribut ausgeben wenn condition == true. // function htmlAttrIf(condition, attrName, attrValue) { // if ( ! IsTrue(condition) ) { // return ""; // } else { // return htmlAttr(attrName, attrValue); // } // } // */ // // // Ersatz für die VBSkript isNumeric Funktion -> http://stackoverflow.com/questions/18082/validate-decimal-numbers-in-javascript-isnumeric // function isNumeric(n) { // return !isNaN(parseFloat(n)) && isFinite(n); // } // // // Einfacher Ersatz für VBScript Replace() - die "count" und "compare" Parameter von VBScript werden nicht unterstützt! // function Replace(searchstring, find, replace) { // return searchstring.replace(find, replace); // } // // // diverse String helper. Quelle: http://www.4guysfromrolla.com/webtech/vb2java.shtml // function Left(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // return String(str).substring(0,n); // } // } // // function Right(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // var iLen = String(str).length; // return String(str).substring(iLen, iLen - n); // } // } // // function Mid(str, start, len) { // // this is using ONE-Based strongs to mimic vbscript! // // // Make sure start and len are within proper bounds // if (start <= 0 || len < 0){ // return ""; // } // // var iEnd, iLen = String(str).length; // if (start + len > iLen){ // iEnd = iLen; // } // else { // iEnd = (start - 1) + len; // } // return String(str).substring(start-1,iEnd); // } // context.write("\r\n"); /* ------------- {{OmitSourceOutput:End}} -------------- */ context.write("\r\n"); /* Shortcuts. */ var article = null; var page = null; var projectFolder = null; var project = null; var system = null; 2020-07-14 20:58:00,845 [19] INFO - --------- 2020-07-14 20:58:00,846 [19] INFO - Finished executing the following script: 2020-07-14 20:58:00,847 [19] INFO - --------- 2020-07-14 20:58:00,847 [19] INFO - /* ------------- {{OmitSourceOutput:Begin}} -------------- */ context.write("\r\n\r\n"); function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } function isNull(obj) { return obj === undefined || obj == null || !obj || 0 === obj.length; } String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; String.format = function(format) { var args = Array.prototype.slice.call(arguments, 1); return format.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; // trim() polyfill - https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/Trim if (!String.prototype.trim) { String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; } // // var vbCrLf = "\r\n"; // // function less(lessString) { // return _context.Less(lessString); // } // // function HtmlEncode(obj){ // return system.htmlEncode(obj); // } // // // helps convert some ZP string values to a bool. // function IsTrue(obj){ // return (obj == "True" || obj === true || obj == 1 ); // } // // // Prüfen, ob leer. // function IsEmpty(str) { // return (!str || 0 === str.length); // } // // // Prüfen, ob leer oder nur Whitespaces enthalten. // function IsBlank(str) { // return (!str || /^\s*$/.test(str)); // } // // // Prüfen, ob leer. // String.prototype.IsEmpty = function() { // return (this.length === 0 || !this.trim()); // }; // // // Prüfen ob NULL oder undefined. // function isNull(obj) { // return obj === undefined || obj == null || !obj // } // // // Eigene Format-Funktion. // // Beispiel: "Dies ist {0} Test.".Format("ein"); // if (!String.prototype.Format) { // String.prototype.Format = function() { // var args = arguments; // return this.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // // Alternative Schreibweise für Format-Funktion. // // Beispiel: String.Format("Dies ist {0} Test.", "ein"); // if (!String.Format) { // String.Format = function(format) { // var args = Array.prototype.slice.call(arguments, 1); // return format.replace(/{(\d+)}/g, function(match, number) { // return typeof args[number] != 'undefined' // ? args[number] // : match // ; // }); // }; // } // // /* // // HTML-Attribut ausgeben, nur wenn auch Inhalt hat. // function htmlAttr(attrName, attrValue) { // if ( IsBlank(attrValue) ) { // return ""; // } else { // return '{0}="{1}"'.Format( attrName, attrValue ); // } // } // // // HTML-Attribut ausgeben wenn condition == true. // function htmlAttrIf(condition, attrName, attrValue) { // if ( ! IsTrue(condition) ) { // return ""; // } else { // return htmlAttr(attrName, attrValue); // } // } // */ // // // Ersatz für die VBSkript isNumeric Funktion -> http://stackoverflow.com/questions/18082/validate-decimal-numbers-in-javascript-isnumeric // function isNumeric(n) { // return !isNaN(parseFloat(n)) && isFinite(n); // } // // // Einfacher Ersatz für VBScript Replace() - die "count" und "compare" Parameter von VBScript werden nicht unterstützt! // function Replace(searchstring, find, replace) { // return searchstring.replace(find, replace); // } // // // diverse String helper. Quelle: http://www.4guysfromrolla.com/webtech/vb2java.shtml // function Left(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // return String(str).substring(0,n); // } // } // // function Right(str, n) { // if (n <= 0){ // Invalid bound, return blank string // return ""; // } // else if (n > String(str).length){ // Invalid bound, return // return str; // entire string // } // else { // Valid bound, return appropriate substring // var iLen = String(str).length; // return String(str).substring(iLen, iLen - n); // } // } // // function Mid(str, start, len) { // // this is using ONE-Based strongs to mimic vbscript! // // // Make sure start and len are within proper bounds // if (start <= 0 || len < 0){ // return ""; // } // // var iEnd, iLen = String(str).length; // if (start + len > iLen){ // iEnd = iLen; // } // else { // iEnd = (start - 1) + len; // } // return String(str).substring(start-1,iEnd); // } // context.write("\r\n"); /* ------------- {{OmitSourceOutput:End}} -------------- */ context.write("\r\n"); /* Shortcuts. */ var article = null; var page = null; var projectFolder = null; var project = null; var system = null; 2020-07-14 20:58:00,848 [19] INFO - --------- 2020-07-14 20:58:00,848 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1834. 2020-07-14 20:58:00,848 [19] INFO - --------- 2020-07-14 20:58:00,849 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,849 [19] INFO - --------- 2020-07-14 20:58:00,849 [19] INFO - function SE637303570796782110() {} SE637303570796782110.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. if (shop.active) { var basketPageUrl = null; var currentProjectFolderId = page.projectFolder.id; var projectFolderBasketArticle; var foundItems = project.getArticlesWithStyle("basket"); for ( var g=0; g < foundItems.count; ++g ) { var foundItem = foundItems.item(g); if ( foundItem.active ) { if ( isNull(firstBasketArticle) ){ var firstBasketArticle = foundItem.page.url; } if ( project.getPage(foundItem.page.id).projectFolder.id == currentProjectFolderId ){ projectFolderBasketArticle = foundItem.page.url; } } } var basketPageUrl = projectFolderBasketArticle || firstBasketArticle; context.write("\n\t"); if ( basketPageUrl && page.url !== basketPageUrl ){ context.write("\n\t\n\t\n\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570796782110().executeScript(); 2020-07-14 20:58:00,850 [19] INFO - --------- 2020-07-14 20:58:00,854 [19] INFO - Finished executing the following script: 2020-07-14 20:58:00,854 [19] INFO - --------- 2020-07-14 20:58:00,855 [19] INFO - function SE637303570796782110() {} SE637303570796782110.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. if (shop.active) { var basketPageUrl = null; var currentProjectFolderId = page.projectFolder.id; var projectFolderBasketArticle; var foundItems = project.getArticlesWithStyle("basket"); for ( var g=0; g < foundItems.count; ++g ) { var foundItem = foundItems.item(g); if ( foundItem.active ) { if ( isNull(firstBasketArticle) ){ var firstBasketArticle = foundItem.page.url; } if ( project.getPage(foundItem.page.id).projectFolder.id == currentProjectFolderId ){ projectFolderBasketArticle = foundItem.page.url; } } } var basketPageUrl = projectFolderBasketArticle || firstBasketArticle; context.write("\n\t"); if ( basketPageUrl && page.url !== basketPageUrl ){ context.write("\n\t\n\t\n\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570796782110().executeScript(); 2020-07-14 20:58:00,855 [19] INFO - --------- 2020-07-14 20:58:00,856 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1835. 2020-07-14 20:58:00,856 [19] INFO - --------- 2020-07-14 20:58:00,857 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,857 [19] INFO - --------- 2020-07-14 20:58:00,860 [19] INFO - function SE637303570808572784() {} SE637303570808572784.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. context.write("\r\n\r\n\r\n\t"); context.write( page.title ); context.write("\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); if ( "../assets/favicon.ico" !== "" ) { context.write(""); } context.write("\r\n\t\r\n\t"); if ( parseInt(page.attribute("webfonts-deactivate", 0)) !== 1 ){context.write(project.webFonts())} context.write("\r\n\r\n\t"); context.write( project.bundleCss() ); context.write("\r\n\r\n\t\r\n\r\n\t"); var additionalCss = page.attribute("additional_css"); if ( additionalCss ) { context.write("\r\n\t\t"); context.write( additionalCss ); context.write("\r\n\t"); } context.write(" \r\n\t\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( project.bundleJs() ); context.write("\r\n\t\r\n\t\r\n\t"); if ( page.attribute("search_field_visible") ) { context.write("\r\n\t\t\r\n\t"); } context.write("\r\n\t\r\n\t\r\n\t\r\n\t"); context.write( system.partial("rss.html") ); context.write("\r\n\t\r\n\t"); var header = page.anyAreaArticles("Header") || (system.preview && system.showEmptyPreviewAreas) var news = page.anyAreaArticles("News") || (system.preview && system.showEmptyPreviewAreas) function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } var sidebar = hasVisibleChildPages(page.id) || page.level >= 2 || news; context.write("\r\n\r\n\t\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n\t
    \r\n\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Banner") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Banner", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t\t
    \r\n\t\t\t\t"); if ( page.attribute("search_field_visible") ) { context.write("
    \" method=\"get\">
    "); } context.write("\r\n\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\"");\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t"); if ( page.attribute("show_web_name") ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t"); if ( page.attribute("web_name_slogan") ) { context.write("\r\n\t\t\t\t\t\t\t\t\t
    Vom Gerätewagen der Schweizer Feuerwehr zum Expeditionsmobil \"Willi\"
    \r\n\t\t\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( (page.attribute("show_web_logo") && "../assets/willi.png" !== "") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( header ) { context.write("\r\n\t\t\t\t"); context.write( system.partial("header.html") ); context.write("\r\n\t\t\t"); } context.write("\r\n\t\t\t\r\n\t\t\t"); context.write( system.partial("hauptmenu.html") ); context.write("\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t"); if ( page.attribute("show_breadcrumb") ) { context.write("
    \r\n\t\t\t\t"); context.write( system.partial("breadcrumbs.html", (page.attribute("breadcrumb")||"").replace(/"/g, """), (page.attribute("breadcrumb_separator")||"").replace(/"/g, """) ) ); context.write("\r\n\t\t\t
    "); } context.write("\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "top" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Standard", 0, null, null, "zpgrid") ); context.write("
    \r\n\t\t\t\t
    \r\n\t\t\t\t"); if ( "bottom" == "bottom" ){ context.write("\r\n\t\t\t\t\t"); context.write( system.partial("submenu-layout.html") ); context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t\t"); context.write( system.partial("area.html", "News", 1, "news") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\t"); context.write( system.partial('zpextramenu.html') ); context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( page.attribute("show_copyright") || project.showCreatorText ) { context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t"); if ( page.attribute("show_copyright") ) { context.write("\r\n\t\t\t\t\t\t\t© 2018 Willi"); if ( project.showCreatorText ) { context.write(". "); } context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); if ( project.showCreatorText ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write(project.creatorText); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
    \r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t"); if ( page.anyAreaArticles("Footer") || (system.preview && system.showEmptyPreviewAreas) ) { context.write("\r\n\t\t\t\t
    \r\n\t\t\t\t\t"); context.write( system.partial("area.html", "Footer", 0, null, null, "zpgrid") ); context.write("\r\n\t\t\t\t
    \r\n\t\t\t"); } context.write("\r\n\t\t
    \r\n\t
    \t\r\n\t\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\pages\default.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570808572784().executeScript(); 2020-07-14 20:58:00,861 [19] INFO - --------- 2020-07-14 20:58:00,882 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,882 [19] INFO - --------- 2020-07-14 20:58:00,883 [19] INFO - function SE637303570808822799() {} SE637303570808822799.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. if ( project.rss ) { var feeds = projectFolder.rssFeeds; for ( var i=0; i\r\n\t\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570808822799().executeScript(); 2020-07-14 20:58:00,883 [19] INFO - --------- 2020-07-14 20:58:00,884 [19] INFO - Finished executing the following script: 2020-07-14 20:58:00,885 [19] INFO - --------- 2020-07-14 20:58:00,885 [19] INFO - function SE637303570808822799() {} SE637303570808822799.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. if ( project.rss ) { var feeds = projectFolder.rssFeeds; for ( var i=0; i\r\n\t\t"); } } // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\rss.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570808822799().executeScript(); 2020-07-14 20:58:00,885 [19] INFO - --------- 2020-07-14 20:58:00,886 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1836. 2020-07-14 20:58:00,886 [19] INFO - --------- 2020-07-14 20:58:00,947 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,947 [19] INFO - --------- 2020-07-14 20:58:00,947 [19] INFO - function SE637303570809472836() {} SE637303570809472836.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809472836().executeScript(); 2020-07-14 20:58:00,948 [19] INFO - --------- 2020-07-14 20:58:00,949 [19] INFO - Finished executing the following script: 2020-07-14 20:58:00,949 [19] INFO - --------- 2020-07-14 20:58:00,949 [19] INFO - function SE637303570809472836() {} SE637303570809472836.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-search.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809472836().executeScript(); 2020-07-14 20:58:00,950 [19] INFO - --------- 2020-07-14 20:58:00,950 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1837. 2020-07-14 20:58:00,950 [19] INFO - --------- 2020-07-14 20:58:00,951 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,952 [19] INFO - --------- 2020-07-14 20:58:00,952 [19] INFO - function SE637303570809512838() {} SE637303570809512838.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809512838().executeScript(); 2020-07-14 20:58:00,952 [19] INFO - --------- 2020-07-14 20:58:00,953 [19] INFO - Finished executing the following script: 2020-07-14 20:58:00,954 [19] INFO - --------- 2020-07-14 20:58:00,954 [19] INFO - function SE637303570809512838() {} SE637303570809512838.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-logo.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809512838().executeScript(); 2020-07-14 20:58:00,954 [19] INFO - --------- 2020-07-14 20:58:00,955 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1838. 2020-07-14 20:58:00,955 [19] INFO - --------- 2020-07-14 20:58:00,957 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,958 [19] INFO - --------- 2020-07-14 20:58:00,958 [19] INFO - function SE637303570809572842() {} SE637303570809572842.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809572842().executeScript(); 2020-07-14 20:58:00,958 [19] INFO - --------- 2020-07-14 20:58:00,969 [19] INFO - Finished executing the following script: 2020-07-14 20:58:00,969 [19] INFO - --------- 2020-07-14 20:58:00,970 [19] INFO - function SE637303570809572842() {} SE637303570809572842.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-webtitle.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809572842().executeScript(); 2020-07-14 20:58:00,970 [19] INFO - --------- 2020-07-14 20:58:00,970 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1839. 2020-07-14 20:58:00,971 [19] INFO - --------- 2020-07-14 20:58:00,972 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,972 [19] INFO - --------- 2020-07-14 20:58:00,973 [19] INFO - function SE637303570809722850() {} SE637303570809722850.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. var areaName = "Header"; var headers = page.articlesInArea(areaName); var headerShown = false; for ( var ihead = 0; ihead < headers.count; ++ihead ){ // in a header-area, we only render the first active container/row/article if ( headerShown && ihead > 0 ){ break; } context.write(headers.item(ihead).render()); headerShown = true; } context.write("\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809722850().executeScript(); 2020-07-14 20:58:00,973 [19] INFO - --------- 2020-07-14 20:58:00,980 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,981 [19] INFO - --------- 2020-07-14 20:58:00,981 [19] INFO - function SE637303570809802855() {} SE637303570809802855.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. var cssClass = article.cssClass || ""; if ( cssClass ){ cssClass = " " + cssClass; } var inlineCss = article.inlineCss || ""; if ( inlineCss ){ inlineCss = ' style="' + inlineCss + '"'; } if ( "950" !== "" && "250" !== "" ){ var ratio = (parseInt("250") / parseInt("950")) * 100; } else{ var ratio = 30; } var wrapperStyles = ' style="height: 0; padding-bottom: ' + ratio + '%;"'; context.write("\r\n\r\n
    \r\n\t
    \r\n\t\t
      \r\n\t\t"); var numHeaders = article.value("header-count"); for ( var i = 1; i <= numHeaders; ++i ) { var headerTitle = article.valueExpanded("header-title-" + i, ""); var headerDescription = article.valueExpanded("header-description-" + i, ""); var headerImage = article.value("header-image-" + i); var image = project.getImage(headerImage); if ( image ){ image.skipContentCopy(); } var clickHref = ""; if ( article.value("header-image-clickurl-" + i, "") ) { clickHref = system.partial("zplink-expanded.html", "header-image-clickurl-" + i); } var linkDataAttributes = ""; var clickUrl = article.value("header-image-clickurl-" + i, ""); var clickTarget = article.value("header-image-clickurl-" + i + "_target", ""); if ( clickUrl !== "" ){ linkDataAttributes += ' data-clickurl="' + clickUrl + '"'; } if ( clickTarget !== "" ){ linkDataAttributes += ' data-clicktarget="' + clickTarget + '"'; } context.write("\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t"); if ( image ) { context.write("\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\"");\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( headerTitle || headerDescription ) { context.write("\r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t\t"); if ( headerTitle ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write( system.partial("header-headline.html", i) ); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); context.write( headerDescription ); context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\r\n\r\n\t\t"); } context.write("\r\n\r\n
    \r\n
    \r\n
    \r\n\r\n"); var nextText = system.htmlEncode(page.attribute("header_next_text")) || "weiter"; var prevText = system.htmlEncode(page.attribute("header_prev_text")) || "zurück"; var inlineEditingInitDelay = 50; var useSmoothHeight = "true" === "false" ? "false" : "true"; if ( useSmoothHeight === "true" ){ inlineEditingInitDelay = 1000; } context.write("\r\n\r\n"); if ( numHeaders > 0 ) { context.write("\r\n\t\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809802855().executeScript(); 2020-07-14 20:58:00,982 [19] INFO - --------- 2020-07-14 20:58:00,984 [19] INFO - About to execute the following script: 2020-07-14 20:58:00,985 [19] INFO - --------- 2020-07-14 20:58:00,985 [19] INFO - function SE637303570809842857() {} SE637303570809842857.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. context.write(" \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809842857().executeScript(); 2020-07-14 20:58:00,986 [19] INFO - --------- 2020-07-14 20:58:00,999 [19] INFO - Finished executing the following script: 2020-07-14 20:58:00,999 [19] INFO - --------- 2020-07-14 20:58:01,000 [19] INFO - function SE637303570809842857() {} SE637303570809842857.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. context.write(" \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\inline-editing-header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809842857().executeScript(); 2020-07-14 20:58:01,000 [19] INFO - --------- 2020-07-14 20:58:01,000 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1840. 2020-07-14 20:58:01,001 [19] INFO - --------- 2020-07-14 20:58:01,035 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,036 [19] INFO - --------- 2020-07-14 20:58:01,036 [19] INFO - function SE637303570809802855() {} SE637303570809802855.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. var cssClass = article.cssClass || ""; if ( cssClass ){ cssClass = " " + cssClass; } var inlineCss = article.inlineCss || ""; if ( inlineCss ){ inlineCss = ' style="' + inlineCss + '"'; } if ( "950" !== "" && "250" !== "" ){ var ratio = (parseInt("250") / parseInt("950")) * 100; } else{ var ratio = 30; } var wrapperStyles = ' style="height: 0; padding-bottom: ' + ratio + '%;"'; context.write("\r\n\r\n
    \r\n\t
    \r\n\t\t
      \r\n\t\t"); var numHeaders = article.value("header-count"); for ( var i = 1; i <= numHeaders; ++i ) { var headerTitle = article.valueExpanded("header-title-" + i, ""); var headerDescription = article.valueExpanded("header-description-" + i, ""); var headerImage = article.value("header-image-" + i); var image = project.getImage(headerImage); if ( image ){ image.skipContentCopy(); } var clickHref = ""; if ( article.value("header-image-clickurl-" + i, "") ) { clickHref = system.partial("zplink-expanded.html", "header-image-clickurl-" + i); } var linkDataAttributes = ""; var clickUrl = article.value("header-image-clickurl-" + i, ""); var clickTarget = article.value("header-image-clickurl-" + i + "_target", ""); if ( clickUrl !== "" ){ linkDataAttributes += ' data-clickurl="' + clickUrl + '"'; } if ( clickTarget !== "" ){ linkDataAttributes += ' data-clicktarget="' + clickTarget + '"'; } context.write("\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t"); if ( image ) { context.write("\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\"");\r\n\t\t\t\t\t"); if ( clickHref ){ context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\t\r\n\t\t\t\t"); if ( headerTitle || headerDescription ) { context.write("\r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t\t"); if ( headerTitle ) { context.write("\r\n\t\t\t\t\t\t\t"); context.write( system.partial("header-headline.html", i) ); context.write("\r\n\t\t\t\t\t\t"); } context.write("\r\n\t\t\t\t\t\t"); context.write( headerDescription ); context.write("\r\n\t\t\t\t\t
      \r\n\t\t\t\t\t"); if ( !image ){ context.write("\r\n\t\t\t\t\t\t
      \r\n\t\t\t\t\t"); } context.write("\r\n\t\t\t\t"); } context.write("\r\n\t\t\t\r\n\r\n\t\t"); } context.write("\r\n\r\n
    \r\n
    \r\n
    \r\n\r\n"); var nextText = system.htmlEncode(page.attribute("header_next_text")) || "weiter"; var prevText = system.htmlEncode(page.attribute("header_prev_text")) || "zurück"; var inlineEditingInitDelay = 50; var useSmoothHeight = "true" === "false" ? "false" : "true"; if ( useSmoothHeight === "true" ){ inlineEditingInitDelay = 1000; } context.write("\r\n\r\n"); if ( numHeaders > 0 ) { context.write("\r\n\t\r\n"); } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\widgets\singleheader\standard.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809802855().executeScript(); 2020-07-14 20:58:01,038 [19] INFO - --------- 2020-07-14 20:58:01,038 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1841. 2020-07-14 20:58:01,038 [19] INFO - --------- 2020-07-14 20:58:01,051 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,051 [19] INFO - --------- 2020-07-14 20:58:01,051 [19] INFO - function SE637303570809722850() {} SE637303570809722850.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. var areaName = "Header"; var headers = page.articlesInArea(areaName); var headerShown = false; for ( var ihead = 0; ihead < headers.count; ++ihead ){ // in a header-area, we only render the first active container/row/article if ( headerShown && ihead > 0 ){ break; } context.write(headers.item(ihead).render()); headerShown = true; } context.write("\r\n\r\n\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\_shared\templates\partials\header.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570809722850().executeScript(); 2020-07-14 20:58:01,052 [19] INFO - --------- 2020-07-14 20:58:01,052 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1842. 2020-07-14 20:58:01,052 [19] INFO - --------- 2020-07-14 20:58:01,053 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,053 [19] INFO - --------- 2020-07-14 20:58:01,054 [19] INFO - function SE637303570810532897() {} SE637303570810532897.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-hauptmenu-aktiv.html", p.id, 1) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-hauptmenu.html", p.id, 1) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810532897().executeScript(); 2020-07-14 20:58:01,054 [19] INFO - --------- 2020-07-14 20:58:01,060 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,060 [19] INFO - --------- 2020-07-14 20:58:01,061 [19] INFO - function SE637303570810602901() {} SE637303570810602901.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810602901().executeScript(); 2020-07-14 20:58:01,061 [19] INFO - --------- 2020-07-14 20:58:01,063 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,063 [19] INFO - --------- 2020-07-14 20:58:01,063 [19] INFO - function SE637303570810602901() {} SE637303570810602901.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810602901().executeScript(); 2020-07-14 20:58:01,064 [19] INFO - --------- 2020-07-14 20:58:01,064 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1843. 2020-07-14 20:58:01,064 [19] INFO - --------- 2020-07-14 20:58:01,070 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,070 [19] INFO - --------- 2020-07-14 20:58:01,071 [19] INFO - function SE637303570810702906() {} SE637303570810702906.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810702906().executeScript(); 2020-07-14 20:58:01,071 [19] INFO - --------- 2020-07-14 20:58:01,073 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,073 [19] INFO - --------- 2020-07-14 20:58:01,073 [19] INFO - function SE637303570810702906() {} SE637303570810702906.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810702906().executeScript(); 2020-07-14 20:58:01,074 [19] INFO - --------- 2020-07-14 20:58:01,074 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1844. 2020-07-14 20:58:01,074 [19] INFO - --------- 2020-07-14 20:58:01,079 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,080 [19] INFO - --------- 2020-07-14 20:58:01,080 [19] INFO - function SE637303570810792911() {} SE637303570810792911.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810792911().executeScript(); 2020-07-14 20:58:01,081 [19] INFO - --------- 2020-07-14 20:58:01,082 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,083 [19] INFO - --------- 2020-07-14 20:58:01,083 [19] INFO - function SE637303570810792911() {} SE637303570810792911.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu-aktiv.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810792911().executeScript(); 2020-07-14 20:58:01,083 [19] INFO - --------- 2020-07-14 20:58:01,084 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1845. 2020-07-14 20:58:01,084 [19] INFO - --------- 2020-07-14 20:58:01,086 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,086 [19] INFO - --------- 2020-07-14 20:58:01,087 [19] INFO - function SE637303570810862915() {} SE637303570810862915.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810862915().executeScript(); 2020-07-14 20:58:01,087 [19] INFO - --------- 2020-07-14 20:58:01,090 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,090 [19] INFO - --------- 2020-07-14 20:58:01,090 [19] INFO - function SE637303570810862915() {} SE637303570810862915.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810862915().executeScript(); 2020-07-14 20:58:01,090 [19] INFO - --------- 2020-07-14 20:58:01,091 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1846. 2020-07-14 20:58:01,091 [19] INFO - --------- 2020-07-14 20:58:01,094 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,094 [19] INFO - --------- 2020-07-14 20:58:01,094 [19] INFO - function SE637303570810942920() {} SE637303570810942920.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810942920().executeScript(); 2020-07-14 20:58:01,095 [19] INFO - --------- 2020-07-14 20:58:01,097 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,097 [19] INFO - --------- 2020-07-14 20:58:01,097 [19] INFO - function SE637303570810942920() {} SE637303570810942920.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810942920().executeScript(); 2020-07-14 20:58:01,098 [19] INFO - --------- 2020-07-14 20:58:01,098 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1847. 2020-07-14 20:58:01,098 [19] INFO - --------- 2020-07-14 20:58:01,100 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,100 [19] INFO - --------- 2020-07-14 20:58:01,101 [19] INFO - function SE637303570811002923() {} SE637303570811002923.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570811002923().executeScript(); 2020-07-14 20:58:01,101 [19] INFO - --------- 2020-07-14 20:58:01,103 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,103 [19] INFO - --------- 2020-07-14 20:58:01,104 [19] INFO - function SE637303570811002923() {} SE637303570811002923.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570811002923().executeScript(); 2020-07-14 20:58:01,104 [19] INFO - --------- 2020-07-14 20:58:01,104 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1848. 2020-07-14 20:58:01,105 [19] INFO - --------- 2020-07-14 20:58:01,106 [19] INFO - About to execute the following script: 2020-07-14 20:58:01,107 [19] INFO - --------- 2020-07-14 20:58:01,107 [19] INFO - function SE637303570811062927() {} SE637303570811062927.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570811062927().executeScript(); 2020-07-14 20:58:01,107 [19] INFO - --------- 2020-07-14 20:58:01,109 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,109 [19] INFO - --------- 2020-07-14 20:58:01,110 [19] INFO - function SE637303570811062927() {} SE637303570811062927.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. var pageId = context.param(0, 0); var p = project.getPage(pageId); context.write("\r\n\r\n
  • "); context.write( p.name ); context.write("
  • \r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\item-hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570811062927().executeScript(); 2020-07-14 20:58:01,110 [19] INFO - --------- 2020-07-14 20:58:01,110 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1849. 2020-07-14 20:58:01,111 [19] INFO - --------- 2020-07-14 20:58:01,111 [19] INFO - Finished executing the following script: 2020-07-14 20:58:01,112 [19] INFO - --------- 2020-07-14 20:58:01,112 [19] INFO - function SE637303570810532897() {} SE637303570810532897.prototype.executeScript = function(){ // Start source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. var pageId = context.param(0, 0); var level = context.param(1, 1); var p = project.getPage(pageId); var childPages = isNull(p) ? page.projectFolder.pages : p.pages; if ( childPages.count<=0 || (!isNull(p) && !hasVisibleChildPages(p.id)) ) { return; } if ( !isNull(p) && p.level!=1 ) { return; } context.write("\r\n
      \r\n\r\n\r\n "); for ( var i = 0; i < childPages.count; ++i ) { var p = childPages.item(i); if ( p.visible && p.active ) { context.write("\r\n\r\n "); if ( p.id==page.id || hasActiveChildPage(p.id) ) { context.write("\r\n "); context.write( system.partial("item-hauptmenu-aktiv.html", p.id, 1) ); context.write("\r\n "); } else { context.write("\r\n "); context.write( system.partial("item-hauptmenu.html", p.id, 1) ); context.write("\r\n "); } context.write("\r\n\r\n "); } } context.write("\r\n\r\n
    \r\n\r\n "); function hasActiveChildPage(pageId) { var p = project.getPage(pageId); var childPages = p.pages; for ( var i = 0; i < childPages.count; ++i ) { var childPage = childPages.item(i); if ( childPage.id === page.id || hasActiveChildPage(childPage.id) ) { return true; } } return false; } function hasVisibleChildPages(pageId) { var p = project.getPage(pageId); if ( !isNull(p) ) { var cps = p.pages; for ( var i = 0; i < cps.count; ++i ) { var cp = cps.item(i); if ( cp.visible && cp.active ) { return true; } } } return false; } context.write("\r\n"); // End source file: 'C:\Users\DieGohliser\AppData\Local\Zeta Producer 15\packaging\layouts\Simple Responsive\templates\partials\hauptmenu.html'. }; /* Shortcuts. */ article = context.article; page = context.page; projectFolder = context.projectFolder; project = context.project; system = context.system; new SE637303570810532897().executeScript(); ----------------------------------------