---------------------------------------- 2020-07-14 20:58:11,644 [19] INFO - Information: 0 : 2020-07-14 20:58:13,012 [19] INFO - function SE637303570916438954() {} SE637303570916438954.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 SE637303570916438954().executeScript(); 2020-07-14 20:58:13,012 [19] INFO - --------- 2020-07-14 20:58:13,012 [19] INFO - Information: 0 : 2020-07-14 20:58:13,012 [19] INFO - --------- 2020-07-14 20:58:13,014 [19] INFO - Information: 0 : 2020-07-14 20:58:13,014 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,016 [19] INFO - Information: 0 : 2020-07-14 20:58:13,016 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,017 [19] INFO - Information: 0 : 2020-07-14 20:58:13,017 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,017 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 798 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,017 [19] INFO - Information: 0 : 2020-07-14 20:58:13,018 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,019 [19] INFO - Information: 0 : 2020-07-14 20:58:13,019 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,019 [19] INFO - Information: 0 : 2020-07-14 20:58:13,019 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,020 [19] INFO - Entering 'ensureContentCopy' for image 474, article 1494, size 449. 2020-07-14 20:58:13,020 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1494, image ID = 474, maxWidthInPixel = 449. 2020-07-14 20:58:13,020 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,020 [19] INFO - Leaving 'ensureContentCopy' for image 474, article 1494, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,023 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,030 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x3641 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\a1a2aca36d7a487a9936d26b0892519a.jpg“ live from file. 2020-07-14 20:58:13,030 [19] INFO - Returning live-calculated image size for image with ID 474, file version „ContentCopy“ of 2048×3641 pixels. 2020-07-14 20:58:13,030 [19] INFO - Returning cached image size for image with ID 474, file version „ContentCopy“ of 2048×3641 pixels. 2020-07-14 20:58:13,032 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,032 [19] INFO - Information: 0 : 2020-07-14 20:58:13,032 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,032 [19] INFO - --------- 2020-07-14 20:58:13,032 [19] INFO - Information: 0 : 2020-07-14 20:58:13,032 [19] INFO - --------- 2020-07-14 20:58:13,032 [19] INFO - function SE637303570930329749() {} SE637303570930329749.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 SE637303570930329749().executeScript(); 2020-07-14 20:58:13,033 [19] INFO - Information: 0 : 2020-07-14 20:58:13,033 [19] INFO - function SE637303570930329749() {} SE637303570930329749.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 SE637303570930329749().executeScript(); 2020-07-14 20:58:13,033 [19] INFO - --------- 2020-07-14 20:58:13,033 [19] INFO - Information: 0 : 2020-07-14 20:58:13,033 [19] INFO - --------- 2020-07-14 20:58:13,037 [19] INFO - Information: 0 : 2020-07-14 20:58:13,038 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,040 [19] INFO - Information: 0 : 2020-07-14 20:58:13,040 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,040 [19] INFO - Information: 0 : 2020-07-14 20:58:13,040 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,041 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,041 [19] INFO - Information: 0 : 2020-07-14 20:58:13,041 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,041 [19] INFO - --------- 2020-07-14 20:58:13,041 [19] INFO - Information: 0 : 2020-07-14 20:58:13,041 [19] INFO - --------- 2020-07-14 20:58:13,041 [19] INFO - function SE637303570930329749() {} SE637303570930329749.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 SE637303570930329749().executeScript(); 2020-07-14 20:58:13,042 [19] INFO - Information: 0 : 2020-07-14 20:58:13,042 [19] INFO - function SE637303570930329749() {} SE637303570930329749.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 SE637303570930329749().executeScript(); 2020-07-14 20:58:13,042 [19] INFO - --------- 2020-07-14 20:58:13,042 [19] INFO - Information: 0 : 2020-07-14 20:58:13,042 [19] INFO - --------- 2020-07-14 20:58:13,042 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2081. 2020-07-14 20:58:13,042 [19] INFO - Information: 0 : 2020-07-14 20:58:13,043 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2081. 2020-07-14 20:58:13,043 [19] INFO - --------- 2020-07-14 20:58:13,043 [19] INFO - Information: 0 : 2020-07-14 20:58:13,043 [19] INFO - --------- 2020-07-14 20:58:13,043 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,043 [19] INFO - Information: 0 : 2020-07-14 20:58:13,043 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,045 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,045 [19] INFO - Information: 0 : 2020-07-14 20:58:13,045 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,045 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,046 [19] INFO - Information: 0 : 2020-07-14 20:58:13,046 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,046 [19] INFO - --------- 2020-07-14 20:58:13,046 [19] INFO - Information: 0 : 2020-07-14 20:58:13,046 [19] INFO - --------- 2020-07-14 20:58:13,046 [19] INFO - function SE637303570916438954() {} SE637303570916438954.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 SE637303570916438954().executeScript(); 2020-07-14 20:58:13,047 [19] INFO - Information: 0 : 2020-07-14 20:58:13,048 [19] INFO - function SE637303570916438954() {} SE637303570916438954.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 SE637303570916438954().executeScript(); 2020-07-14 20:58:13,048 [19] INFO - --------- 2020-07-14 20:58:13,049 [19] INFO - Information: 0 : 2020-07-14 20:58:13,049 [19] INFO - --------- 2020-07-14 20:58:13,049 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2082. 2020-07-14 20:58:13,049 [19] INFO - Information: 0 : 2020-07-14 20:58:13,049 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2082. 2020-07-14 20:58:13,049 [19] INFO - --------- 2020-07-14 20:58:13,050 [19] INFO - Information: 0 : 2020-07-14 20:58:13,050 [19] INFO - --------- 2020-07-14 20:58:13,051 [19] INFO - Information: 0 : 2020-07-14 20:58:13,051 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,053 [19] INFO - Information: 0 : 2020-07-14 20:58:13,053 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,054 [19] INFO - Information: 0 : 2020-07-14 20:58:13,054 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,057 [19] INFO - Information: 0 : 2020-07-14 20:58:13,057 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,059 [19] INFO - Information: 0 : 2020-07-14 20:58:13,059 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,060 [19] INFO - Information: 0 : 2020-07-14 20:58:13,060 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,061 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,061 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,061 [19] INFO - Information: 0 : 2020-07-14 20:58:13,061 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,062 [19] INFO - --------- 2020-07-14 20:58:13,062 [19] INFO - Information: 0 : 2020-07-14 20:58:13,062 [19] INFO - --------- 2020-07-14 20:58:13,062 [19] INFO - function SE637303570930619765() {} SE637303570930619765.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 SE637303570930619765().executeScript(); 2020-07-14 20:58:13,063 [19] INFO - Information: 0 : 2020-07-14 20:58:13,063 [19] INFO - function SE637303570930619765() {} SE637303570930619765.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 SE637303570930619765().executeScript(); 2020-07-14 20:58:13,063 [19] INFO - --------- 2020-07-14 20:58:13,063 [19] INFO - Information: 0 : 2020-07-14 20:58:13,063 [19] INFO - --------- 2020-07-14 20:58:13,065 [19] INFO - Information: 0 : 2020-07-14 20:58:13,065 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,068 [19] INFO - Information: 0 : 2020-07-14 20:58:13,068 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,068 [19] INFO - Information: 0 : 2020-07-14 20:58:13,068 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,068 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 798 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,069 [19] INFO - Information: 0 : 2020-07-14 20:58:13,069 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,070 [19] INFO - Information: 0 : 2020-07-14 20:58:13,070 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,070 [19] INFO - Information: 0 : 2020-07-14 20:58:13,070 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,071 [19] INFO - Entering 'ensureContentCopy' for image 475, article 1495, size 449. 2020-07-14 20:58:13,071 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1495, image ID = 475, maxWidthInPixel = 449. 2020-07-14 20:58:13,071 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,071 [19] INFO - Leaving 'ensureContentCopy' for image 475, article 1495, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,080 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x3641 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\a4230a08da2142ab8d39c35e02bb284a.jpg“ live from file. 2020-07-14 20:58:13,080 [19] INFO - Returning live-calculated image size for image with ID 475, file version „ContentCopy“ of 2048×3641 pixels. 2020-07-14 20:58:13,080 [19] INFO - Returning cached image size for image with ID 475, file version „ContentCopy“ of 2048×3641 pixels. 2020-07-14 20:58:13,082 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,082 [19] INFO - Information: 0 : 2020-07-14 20:58:13,082 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,082 [19] INFO - --------- 2020-07-14 20:58:13,082 [19] INFO - Information: 0 : 2020-07-14 20:58:13,082 [19] INFO - --------- 2020-07-14 20:58:13,082 [19] INFO - function SE637303570930829777() {} SE637303570930829777.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 SE637303570930829777().executeScript(); 2020-07-14 20:58:13,083 [19] INFO - Information: 0 : 2020-07-14 20:58:13,083 [19] INFO - function SE637303570930829777() {} SE637303570930829777.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 SE637303570930829777().executeScript(); 2020-07-14 20:58:13,083 [19] INFO - --------- 2020-07-14 20:58:13,083 [19] INFO - Information: 0 : 2020-07-14 20:58:13,083 [19] INFO - --------- 2020-07-14 20:58:13,088 [19] INFO - Information: 0 : 2020-07-14 20:58:13,088 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,090 [19] INFO - Information: 0 : 2020-07-14 20:58:13,090 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,090 [19] INFO - Information: 0 : 2020-07-14 20:58:13,090 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,091 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,091 [19] INFO - Information: 0 : 2020-07-14 20:58:13,091 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,091 [19] INFO - --------- 2020-07-14 20:58:13,091 [19] INFO - Information: 0 : 2020-07-14 20:58:13,092 [19] INFO - --------- 2020-07-14 20:58:13,092 [19] INFO - function SE637303570930829777() {} SE637303570930829777.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 SE637303570930829777().executeScript(); 2020-07-14 20:58:13,092 [19] INFO - Information: 0 : 2020-07-14 20:58:13,092 [19] INFO - function SE637303570930829777() {} SE637303570930829777.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 SE637303570930829777().executeScript(); 2020-07-14 20:58:13,092 [19] INFO - --------- 2020-07-14 20:58:13,092 [19] INFO - Information: 0 : 2020-07-14 20:58:13,092 [19] INFO - --------- 2020-07-14 20:58:13,093 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2083. 2020-07-14 20:58:13,093 [19] INFO - Information: 0 : 2020-07-14 20:58:13,093 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2083. 2020-07-14 20:58:13,093 [19] INFO - --------- 2020-07-14 20:58:13,093 [19] INFO - Information: 0 : 2020-07-14 20:58:13,093 [19] INFO - --------- 2020-07-14 20:58:13,093 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,093 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,093 [19] INFO - Information: 0 : 2020-07-14 20:58:13,093 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,095 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,095 [19] INFO - Information: 0 : 2020-07-14 20:58:13,095 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,095 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,096 [19] INFO - Information: 0 : 2020-07-14 20:58:13,096 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,096 [19] INFO - --------- 2020-07-14 20:58:13,096 [19] INFO - Information: 0 : 2020-07-14 20:58:13,096 [19] INFO - --------- 2020-07-14 20:58:13,096 [19] INFO - function SE637303570930619765() {} SE637303570930619765.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 SE637303570930619765().executeScript(); 2020-07-14 20:58:13,097 [19] INFO - Information: 0 : 2020-07-14 20:58:13,097 [19] INFO - function SE637303570930619765() {} SE637303570930619765.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 SE637303570930619765().executeScript(); 2020-07-14 20:58:13,097 [19] INFO - --------- 2020-07-14 20:58:13,097 [19] INFO - Information: 0 : 2020-07-14 20:58:13,097 [19] INFO - --------- 2020-07-14 20:58:13,097 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2084. 2020-07-14 20:58:13,098 [19] INFO - Information: 0 : 2020-07-14 20:58:13,098 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2084. 2020-07-14 20:58:13,098 [19] INFO - --------- 2020-07-14 20:58:13,098 [19] INFO - Information: 0 : 2020-07-14 20:58:13,098 [19] INFO - --------- 2020-07-14 20:58:13,099 [19] INFO - Information: 0 : 2020-07-14 20:58:13,099 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,101 [19] INFO - Information: 0 : 2020-07-14 20:58:13,101 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,102 [19] INFO - Information: 0 : 2020-07-14 20:58:13,102 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,106 [19] INFO - Information: 0 : 2020-07-14 20:58:13,106 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,108 [19] INFO - Information: 0 : 2020-07-14 20:58:13,108 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,108 [19] INFO - Information: 0 : 2020-07-14 20:58:13,108 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,109 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,110 [19] INFO - Information: 0 : 2020-07-14 20:58:13,110 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,110 [19] INFO - --------- 2020-07-14 20:58:13,110 [19] INFO - Information: 0 : 2020-07-14 20:58:13,110 [19] INFO - --------- 2020-07-14 20:58:13,110 [19] INFO - function SE637303570931099793() {} SE637303570931099793.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 SE637303570931099793().executeScript(); 2020-07-14 20:58:13,111 [19] INFO - Information: 0 : 2020-07-14 20:58:13,111 [19] INFO - function SE637303570931099793() {} SE637303570931099793.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 SE637303570931099793().executeScript(); 2020-07-14 20:58:13,111 [19] INFO - --------- 2020-07-14 20:58:13,111 [19] INFO - Information: 0 : 2020-07-14 20:58:13,111 [19] INFO - --------- 2020-07-14 20:58:13,113 [19] INFO - Information: 0 : 2020-07-14 20:58:13,113 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,116 [19] INFO - Information: 0 : 2020-07-14 20:58:13,116 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,116 [19] INFO - Information: 0 : 2020-07-14 20:58:13,116 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,116 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 798 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,117 [19] INFO - Information: 0 : 2020-07-14 20:58:13,117 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,118 [19] INFO - Information: 0 : 2020-07-14 20:58:13,118 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,118 [19] INFO - Information: 0 : 2020-07-14 20:58:13,118 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,119 [19] INFO - Entering 'ensureContentCopy' for image 478, article 1498, size 449. 2020-07-14 20:58:13,119 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1498, image ID = 478, maxWidthInPixel = 449. 2020-07-14 20:58:13,119 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,119 [19] INFO - Leaving 'ensureContentCopy' for image 478, article 1498, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,123 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,128 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x3641 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\e16ac3ee00f149a8b5623bb13ea2bbb0.jpg“ live from file. 2020-07-14 20:58:13,128 [19] INFO - Returning live-calculated image size for image with ID 478, file version „ContentCopy“ of 2048×3641 pixels. 2020-07-14 20:58:13,128 [19] INFO - Returning cached image size for image with ID 478, file version „ContentCopy“ of 2048×3641 pixels. 2020-07-14 20:58:13,130 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,130 [19] INFO - Information: 0 : 2020-07-14 20:58:13,130 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,130 [19] INFO - --------- 2020-07-14 20:58:13,130 [19] INFO - Information: 0 : 2020-07-14 20:58:13,130 [19] INFO - --------- 2020-07-14 20:58:13,130 [19] INFO - function SE637303570931299804() {} SE637303570931299804.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 SE637303570931299804().executeScript(); 2020-07-14 20:58:13,130 [19] INFO - Information: 0 : 2020-07-14 20:58:13,131 [19] INFO - function SE637303570931299804() {} SE637303570931299804.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 SE637303570931299804().executeScript(); 2020-07-14 20:58:13,131 [19] INFO - --------- 2020-07-14 20:58:13,131 [19] INFO - Information: 0 : 2020-07-14 20:58:13,131 [19] INFO - --------- 2020-07-14 20:58:13,135 [19] INFO - Information: 0 : 2020-07-14 20:58:13,135 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,137 [19] INFO - Information: 0 : 2020-07-14 20:58:13,138 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,138 [19] INFO - Information: 0 : 2020-07-14 20:58:13,138 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,139 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,139 [19] INFO - Information: 0 : 2020-07-14 20:58:13,139 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,139 [19] INFO - --------- 2020-07-14 20:58:13,139 [19] INFO - Information: 0 : 2020-07-14 20:58:13,139 [19] INFO - --------- 2020-07-14 20:58:13,139 [19] INFO - function SE637303570931299804() {} SE637303570931299804.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 SE637303570931299804().executeScript(); 2020-07-14 20:58:13,140 [19] INFO - Information: 0 : 2020-07-14 20:58:13,140 [19] INFO - function SE637303570931299804() {} SE637303570931299804.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 SE637303570931299804().executeScript(); 2020-07-14 20:58:13,140 [19] INFO - --------- 2020-07-14 20:58:13,140 [19] INFO - Information: 0 : 2020-07-14 20:58:13,140 [19] INFO - --------- 2020-07-14 20:58:13,140 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2085. 2020-07-14 20:58:13,140 [19] INFO - Information: 0 : 2020-07-14 20:58:13,140 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2085. 2020-07-14 20:58:13,141 [19] INFO - --------- 2020-07-14 20:58:13,141 [19] INFO - Information: 0 : 2020-07-14 20:58:13,141 [19] INFO - --------- 2020-07-14 20:58:13,141 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,141 [19] INFO - Information: 0 : 2020-07-14 20:58:13,141 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,143 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,143 [19] INFO - Information: 0 : 2020-07-14 20:58:13,143 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,143 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,143 [19] INFO - Information: 0 : 2020-07-14 20:58:13,143 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,143 [19] INFO - --------- 2020-07-14 20:58:13,143 [19] INFO - Information: 0 : 2020-07-14 20:58:13,144 [19] INFO - --------- 2020-07-14 20:58:13,144 [19] INFO - function SE637303570931099793() {} SE637303570931099793.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 SE637303570931099793().executeScript(); 2020-07-14 20:58:13,144 [19] INFO - Information: 0 : 2020-07-14 20:58:13,145 [19] INFO - function SE637303570931099793() {} SE637303570931099793.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 SE637303570931099793().executeScript(); 2020-07-14 20:58:13,145 [19] INFO - --------- 2020-07-14 20:58:13,145 [19] INFO - Information: 0 : 2020-07-14 20:58:13,145 [19] INFO - --------- 2020-07-14 20:58:13,145 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2086. 2020-07-14 20:58:13,145 [19] INFO - Information: 0 : 2020-07-14 20:58:13,145 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2086. 2020-07-14 20:58:13,145 [19] INFO - --------- 2020-07-14 20:58:13,146 [19] INFO - Information: 0 : 2020-07-14 20:58:13,146 [19] INFO - --------- 2020-07-14 20:58:13,146 [19] INFO - Information: 0 : 2020-07-14 20:58:13,147 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,149 [19] INFO - Information: 0 : 2020-07-14 20:58:13,149 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,149 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,150 [19] INFO - Information: 0 : 2020-07-14 20:58:13,151 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,153 [19] INFO - Information: 0 : 2020-07-14 20:58:13,153 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,153 [19] INFO - Information: 0 : 2020-07-14 20:58:13,153 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,154 [19] INFO - Information: 0 : 2020-07-14 20:58:13,154 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,156 [19] INFO - Information: 0 : 2020-07-14 20:58:13,156 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,156 [19] INFO - Information: 0 : 2020-07-14 20:58:13,156 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,158 [19] INFO - Information: 0 : 2020-07-14 20:58:13,158 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,160 [19] INFO - Information: 0 : 2020-07-14 20:58:13,160 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,160 [19] INFO - Information: 0 : 2020-07-14 20:58:13,160 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,161 [19] INFO - Information: 0 : 2020-07-14 20:58:13,161 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,163 [19] INFO - Information: 0 : 2020-07-14 20:58:13,163 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,163 [19] INFO - Information: 0 : 2020-07-14 20:58:13,164 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,164 [19] INFO - Information: 0 : 2020-07-14 20:58:13,164 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,165 [19] INFO - Information: 0 : 2020-07-14 20:58:13,165 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,166 [19] INFO - Information: 0 : 2020-07-14 20:58:13,166 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,169 [19] INFO - Information: 0 : 2020-07-14 20:58:13,169 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,170 [19] INFO - Information: 0 : 2020-07-14 20:58:13,170 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,171 [19] INFO - Information: 0 : 2020-07-14 20:58:13,171 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,174 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,174 [19] INFO - Information: 0 : 2020-07-14 20:58:13,174 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,174 [19] INFO - --------- 2020-07-14 20:58:13,174 [19] INFO - Information: 0 : 2020-07-14 20:58:13,175 [19] INFO - --------- 2020-07-14 20:58:13,175 [19] INFO - function SE637303570931749830() {} SE637303570931749830.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 SE637303570931749830().executeScript(); 2020-07-14 20:58:13,175 [19] INFO - Information: 0 : 2020-07-14 20:58:13,175 [19] INFO - function SE637303570931749830() {} SE637303570931749830.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 SE637303570931749830().executeScript(); 2020-07-14 20:58:13,176 [19] INFO - --------- 2020-07-14 20:58:13,176 [19] INFO - Information: 0 : 2020-07-14 20:58:13,176 [19] INFO - --------- 2020-07-14 20:58:13,178 [19] INFO - Information: 0 : 2020-07-14 20:58:13,178 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,180 [19] INFO - Information: 0 : 2020-07-14 20:58:13,180 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,180 [19] INFO - Information: 0 : 2020-07-14 20:58:13,180 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,180 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 253 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,181 [19] INFO - Information: 0 : 2020-07-14 20:58:13,181 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,182 [19] INFO - Information: 0 : 2020-07-14 20:58:13,182 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,183 [19] INFO - Information: 0 : 2020-07-14 20:58:13,183 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,183 [19] INFO - Entering 'ensureContentCopy' for image 477, article 1497, size 449. 2020-07-14 20:58:13,184 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1497, image ID = 477, maxWidthInPixel = 449. 2020-07-14 20:58:13,184 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,184 [19] INFO - Leaving 'ensureContentCopy' for image 477, article 1497, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,192 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1152 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\09a630931faf4d15b4a03622a40bf773.jpg“ live from file. 2020-07-14 20:58:13,193 [19] INFO - Returning live-calculated image size for image with ID 477, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,193 [19] INFO - Returning cached image size for image with ID 477, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,194 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,194 [19] INFO - Information: 0 : 2020-07-14 20:58:13,194 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,194 [19] INFO - --------- 2020-07-14 20:58:13,195 [19] INFO - Information: 0 : 2020-07-14 20:58:13,195 [19] INFO - --------- 2020-07-14 20:58:13,195 [19] INFO - function SE637303570931949841() {} SE637303570931949841.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 SE637303570931949841().executeScript(); 2020-07-14 20:58:13,195 [19] INFO - Information: 0 : 2020-07-14 20:58:13,195 [19] INFO - function SE637303570931949841() {} SE637303570931949841.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 SE637303570931949841().executeScript(); 2020-07-14 20:58:13,195 [19] INFO - --------- 2020-07-14 20:58:13,195 [19] INFO - Information: 0 : 2020-07-14 20:58:13,195 [19] INFO - --------- 2020-07-14 20:58:13,200 [19] INFO - Information: 0 : 2020-07-14 20:58:13,200 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,202 [19] INFO - Information: 0 : 2020-07-14 20:58:13,202 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,202 [19] INFO - Information: 0 : 2020-07-14 20:58:13,202 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,203 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,203 [19] INFO - Information: 0 : 2020-07-14 20:58:13,203 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,204 [19] INFO - --------- 2020-07-14 20:58:13,204 [19] INFO - Information: 0 : 2020-07-14 20:58:13,204 [19] INFO - --------- 2020-07-14 20:58:13,204 [19] INFO - function SE637303570931949841() {} SE637303570931949841.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 SE637303570931949841().executeScript(); 2020-07-14 20:58:13,204 [19] INFO - Information: 0 : 2020-07-14 20:58:13,204 [19] INFO - function SE637303570931949841() {} SE637303570931949841.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 SE637303570931949841().executeScript(); 2020-07-14 20:58:13,204 [19] INFO - --------- 2020-07-14 20:58:13,205 [19] INFO - Information: 0 : 2020-07-14 20:58:13,205 [19] INFO - --------- 2020-07-14 20:58:13,205 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2087. 2020-07-14 20:58:13,205 [19] INFO - Information: 0 : 2020-07-14 20:58:13,205 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2087. 2020-07-14 20:58:13,205 [19] INFO - --------- 2020-07-14 20:58:13,205 [19] INFO - Information: 0 : 2020-07-14 20:58:13,205 [19] INFO - --------- 2020-07-14 20:58:13,205 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,205 [19] INFO - Information: 0 : 2020-07-14 20:58:13,206 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,207 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,208 [19] INFO - Information: 0 : 2020-07-14 20:58:13,208 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,208 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,208 [19] INFO - Information: 0 : 2020-07-14 20:58:13,208 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,208 [19] INFO - --------- 2020-07-14 20:58:13,208 [19] INFO - Information: 0 : 2020-07-14 20:58:13,208 [19] INFO - --------- 2020-07-14 20:58:13,208 [19] INFO - function SE637303570931749830() {} SE637303570931749830.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 SE637303570931749830().executeScript(); 2020-07-14 20:58:13,209 [19] INFO - Information: 0 : 2020-07-14 20:58:13,209 [19] INFO - function SE637303570931749830() {} SE637303570931749830.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 SE637303570931749830().executeScript(); 2020-07-14 20:58:13,210 [19] INFO - --------- 2020-07-14 20:58:13,210 [19] INFO - Information: 0 : 2020-07-14 20:58:13,210 [19] INFO - --------- 2020-07-14 20:58:13,210 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2088. 2020-07-14 20:58:13,210 [19] INFO - Information: 0 : 2020-07-14 20:58:13,210 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2088. 2020-07-14 20:58:13,210 [19] INFO - --------- 2020-07-14 20:58:13,210 [19] INFO - Information: 0 : 2020-07-14 20:58:13,210 [19] INFO - --------- 2020-07-14 20:58:13,211 [19] INFO - Information: 0 : 2020-07-14 20:58:13,211 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,213 [19] INFO - Information: 0 : 2020-07-14 20:58:13,214 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,214 [19] INFO - Information: 0 : 2020-07-14 20:58:13,214 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,217 [19] INFO - Information: 0 : 2020-07-14 20:58:13,217 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,219 [19] INFO - Information: 0 : 2020-07-14 20:58:13,219 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,219 [19] INFO - Information: 0 : 2020-07-14 20:58:13,219 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,221 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,221 [19] INFO - Information: 0 : 2020-07-14 20:58:13,221 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,221 [19] INFO - --------- 2020-07-14 20:58:13,221 [19] INFO - Information: 0 : 2020-07-14 20:58:13,222 [19] INFO - --------- 2020-07-14 20:58:13,222 [19] INFO - function SE637303570932219857() {} SE637303570932219857.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 SE637303570932219857().executeScript(); 2020-07-14 20:58:13,222 [19] INFO - Information: 0 : 2020-07-14 20:58:13,223 [19] INFO - function SE637303570932219857() {} SE637303570932219857.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 SE637303570932219857().executeScript(); 2020-07-14 20:58:13,223 [19] INFO - --------- 2020-07-14 20:58:13,223 [19] INFO - Information: 0 : 2020-07-14 20:58:13,223 [19] INFO - --------- 2020-07-14 20:58:13,225 [19] INFO - Information: 0 : 2020-07-14 20:58:13,225 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,227 [19] INFO - Information: 0 : 2020-07-14 20:58:13,227 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,227 [19] INFO - Information: 0 : 2020-07-14 20:58:13,227 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,228 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 253 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,228 [19] INFO - Information: 0 : 2020-07-14 20:58:13,228 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,229 [19] INFO - Information: 0 : 2020-07-14 20:58:13,229 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,230 [19] INFO - Information: 0 : 2020-07-14 20:58:13,230 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,230 [19] INFO - Entering 'ensureContentCopy' for image 479, article 1499, size 449. 2020-07-14 20:58:13,231 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1499, image ID = 479, maxWidthInPixel = 449. 2020-07-14 20:58:13,231 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,231 [19] INFO - Leaving 'ensureContentCopy' for image 479, article 1499, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,239 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1152 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\9dc852d718354c45af409fb7781fac03.jpg“ live from file. 2020-07-14 20:58:13,239 [19] INFO - Returning live-calculated image size for image with ID 479, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,240 [19] INFO - Returning cached image size for image with ID 479, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,241 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,241 [19] INFO - Information: 0 : 2020-07-14 20:58:13,241 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,241 [19] INFO - --------- 2020-07-14 20:58:13,241 [19] INFO - Information: 0 : 2020-07-14 20:58:13,242 [19] INFO - --------- 2020-07-14 20:58:13,242 [19] INFO - function SE637303570932419868() {} SE637303570932419868.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 SE637303570932419868().executeScript(); 2020-07-14 20:58:13,242 [19] INFO - Information: 0 : 2020-07-14 20:58:13,242 [19] INFO - function SE637303570932419868() {} SE637303570932419868.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 SE637303570932419868().executeScript(); 2020-07-14 20:58:13,242 [19] INFO - --------- 2020-07-14 20:58:13,242 [19] INFO - Information: 0 : 2020-07-14 20:58:13,242 [19] INFO - --------- 2020-07-14 20:58:13,247 [19] INFO - Information: 0 : 2020-07-14 20:58:13,247 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,249 [19] INFO - Information: 0 : 2020-07-14 20:58:13,249 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,249 [19] INFO - Information: 0 : 2020-07-14 20:58:13,249 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,250 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,250 [19] INFO - Information: 0 : 2020-07-14 20:58:13,251 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,251 [19] INFO - --------- 2020-07-14 20:58:13,251 [19] INFO - Information: 0 : 2020-07-14 20:58:13,251 [19] INFO - --------- 2020-07-14 20:58:13,251 [19] INFO - function SE637303570932419868() {} SE637303570932419868.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 SE637303570932419868().executeScript(); 2020-07-14 20:58:13,251 [19] INFO - Information: 0 : 2020-07-14 20:58:13,251 [19] INFO - function SE637303570932419868() {} SE637303570932419868.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 SE637303570932419868().executeScript(); 2020-07-14 20:58:13,251 [19] INFO - --------- 2020-07-14 20:58:13,252 [19] INFO - Information: 0 : 2020-07-14 20:58:13,252 [19] INFO - --------- 2020-07-14 20:58:13,252 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2089. 2020-07-14 20:58:13,252 [19] INFO - Information: 0 : 2020-07-14 20:58:13,252 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2089. 2020-07-14 20:58:13,252 [19] INFO - --------- 2020-07-14 20:58:13,252 [19] INFO - Information: 0 : 2020-07-14 20:58:13,252 [19] INFO - --------- 2020-07-14 20:58:13,252 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,252 [19] INFO - Information: 0 : 2020-07-14 20:58:13,253 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,254 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,254 [19] INFO - Information: 0 : 2020-07-14 20:58:13,254 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,255 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,255 [19] INFO - Information: 0 : 2020-07-14 20:58:13,255 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,255 [19] INFO - --------- 2020-07-14 20:58:13,255 [19] INFO - Information: 0 : 2020-07-14 20:58:13,255 [19] INFO - --------- 2020-07-14 20:58:13,255 [19] INFO - function SE637303570932219857() {} SE637303570932219857.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 SE637303570932219857().executeScript(); 2020-07-14 20:58:13,256 [19] INFO - Information: 0 : 2020-07-14 20:58:13,256 [19] INFO - function SE637303570932219857() {} SE637303570932219857.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 SE637303570932219857().executeScript(); 2020-07-14 20:58:13,256 [19] INFO - --------- 2020-07-14 20:58:13,256 [19] INFO - Information: 0 : 2020-07-14 20:58:13,257 [19] INFO - --------- 2020-07-14 20:58:13,257 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2090. 2020-07-14 20:58:13,257 [19] INFO - Information: 0 : 2020-07-14 20:58:13,257 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2090. 2020-07-14 20:58:13,257 [19] INFO - --------- 2020-07-14 20:58:13,257 [19] INFO - Information: 0 : 2020-07-14 20:58:13,257 [19] INFO - --------- 2020-07-14 20:58:13,258 [19] INFO - Information: 0 : 2020-07-14 20:58:13,258 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,260 [19] INFO - Information: 0 : 2020-07-14 20:58:13,260 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,261 [19] INFO - Information: 0 : 2020-07-14 20:58:13,261 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,261 [19] INFO - Information: 0 : 2020-07-14 20:58:13,261 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,264 [19] INFO - Information: 0 : 2020-07-14 20:58:13,264 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,264 [19] INFO - Information: 0 : 2020-07-14 20:58:13,264 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,265 [19] INFO - Information: 0 : 2020-07-14 20:58:13,265 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,267 [19] INFO - Information: 0 : 2020-07-14 20:58:13,267 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,267 [19] INFO - Information: 0 : 2020-07-14 20:58:13,267 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,269 [19] INFO - Information: 0 : 2020-07-14 20:58:13,269 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,271 [19] INFO - Information: 0 : 2020-07-14 20:58:13,271 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,271 [19] INFO - Information: 0 : 2020-07-14 20:58:13,271 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,272 [19] INFO - Information: 0 : 2020-07-14 20:58:13,272 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,274 [19] INFO - Information: 0 : 2020-07-14 20:58:13,274 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,274 [19] INFO - Information: 0 : 2020-07-14 20:58:13,274 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,275 [19] INFO - Information: 0 : 2020-07-14 20:58:13,275 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,276 [19] INFO - Information: 0 : 2020-07-14 20:58:13,276 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,277 [19] INFO - Information: 0 : 2020-07-14 20:58:13,277 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,280 [19] INFO - Information: 0 : 2020-07-14 20:58:13,280 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,281 [19] INFO - Information: 0 : 2020-07-14 20:58:13,281 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,282 [19] INFO - Information: 0 : 2020-07-14 20:58:13,282 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,282 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,283 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,283 [19] INFO - Information: 0 : 2020-07-14 20:58:13,283 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,284 [19] INFO - --------- 2020-07-14 20:58:13,284 [19] INFO - Information: 0 : 2020-07-14 20:58:13,284 [19] INFO - --------- 2020-07-14 20:58:13,284 [19] INFO - function SE637303570932839892() {} SE637303570932839892.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 SE637303570932839892().executeScript(); 2020-07-14 20:58:13,284 [19] INFO - Information: 0 : 2020-07-14 20:58:13,285 [19] INFO - function SE637303570932839892() {} SE637303570932839892.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 SE637303570932839892().executeScript(); 2020-07-14 20:58:13,285 [19] INFO - --------- 2020-07-14 20:58:13,285 [19] INFO - Information: 0 : 2020-07-14 20:58:13,285 [19] INFO - --------- 2020-07-14 20:58:13,287 [19] INFO - Information: 0 : 2020-07-14 20:58:13,287 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,289 [19] INFO - Information: 0 : 2020-07-14 20:58:13,289 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,289 [19] INFO - Information: 0 : 2020-07-14 20:58:13,290 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,290 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 253 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,290 [19] INFO - Information: 0 : 2020-07-14 20:58:13,290 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,292 [19] INFO - Information: 0 : 2020-07-14 20:58:13,292 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,292 [19] INFO - Information: 0 : 2020-07-14 20:58:13,292 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,292 [19] INFO - Entering 'ensureContentCopy' for image 480, article 1500, size 449. 2020-07-14 20:58:13,293 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1500, image ID = 480, maxWidthInPixel = 449. 2020-07-14 20:58:13,293 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,293 [19] INFO - Leaving 'ensureContentCopy' for image 480, article 1500, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,301 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1152 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\26de0c7765f94e91bafde2bcd8b2ae71.jpg“ live from file. 2020-07-14 20:58:13,302 [19] INFO - Returning live-calculated image size for image with ID 480, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,302 [19] INFO - Returning cached image size for image with ID 480, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,303 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,303 [19] INFO - Information: 0 : 2020-07-14 20:58:13,303 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,303 [19] INFO - --------- 2020-07-14 20:58:13,304 [19] INFO - Information: 0 : 2020-07-14 20:58:13,304 [19] INFO - --------- 2020-07-14 20:58:13,304 [19] INFO - function SE637303570933039904() {} SE637303570933039904.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 SE637303570933039904().executeScript(); 2020-07-14 20:58:13,304 [19] INFO - Information: 0 : 2020-07-14 20:58:13,304 [19] INFO - function SE637303570933039904() {} SE637303570933039904.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 SE637303570933039904().executeScript(); 2020-07-14 20:58:13,304 [19] INFO - --------- 2020-07-14 20:58:13,305 [19] INFO - Information: 0 : 2020-07-14 20:58:13,305 [19] INFO - --------- 2020-07-14 20:58:13,309 [19] INFO - Information: 0 : 2020-07-14 20:58:13,309 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,311 [19] INFO - Information: 0 : 2020-07-14 20:58:13,312 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,312 [19] INFO - Information: 0 : 2020-07-14 20:58:13,312 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,312 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,313 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,313 [19] INFO - Information: 0 : 2020-07-14 20:58:13,313 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,313 [19] INFO - --------- 2020-07-14 20:58:13,313 [19] INFO - Information: 0 : 2020-07-14 20:58:13,313 [19] INFO - --------- 2020-07-14 20:58:13,314 [19] INFO - function SE637303570933039904() {} SE637303570933039904.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 SE637303570933039904().executeScript(); 2020-07-14 20:58:13,314 [19] INFO - Information: 0 : 2020-07-14 20:58:13,314 [19] INFO - function SE637303570933039904() {} SE637303570933039904.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 SE637303570933039904().executeScript(); 2020-07-14 20:58:13,314 [19] INFO - --------- 2020-07-14 20:58:13,314 [19] INFO - Information: 0 : 2020-07-14 20:58:13,314 [19] INFO - --------- 2020-07-14 20:58:13,314 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2091. 2020-07-14 20:58:13,315 [19] INFO - Information: 0 : 2020-07-14 20:58:13,315 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2091. 2020-07-14 20:58:13,315 [19] INFO - --------- 2020-07-14 20:58:13,315 [19] INFO - Information: 0 : 2020-07-14 20:58:13,315 [19] INFO - --------- 2020-07-14 20:58:13,315 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:13,315 [19] INFO - Information: 0 : 2020-07-14 20:58:13,315 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:13,317 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,317 [19] INFO - Information: 0 : 2020-07-14 20:58:13,317 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,317 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,317 [19] INFO - Information: 0 : 2020-07-14 20:58:13,317 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,318 [19] INFO - --------- 2020-07-14 20:58:13,318 [19] INFO - Information: 0 : 2020-07-14 20:58:13,318 [19] INFO - --------- 2020-07-14 20:58:13,318 [19] INFO - function SE637303570932839892() {} SE637303570932839892.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 SE637303570932839892().executeScript(); 2020-07-14 20:58:13,319 [19] INFO - Information: 0 : 2020-07-14 20:58:13,321 [19] INFO - function SE637303570932839892() {} SE637303570932839892.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 SE637303570932839892().executeScript(); 2020-07-14 20:58:13,321 [19] INFO - --------- 2020-07-14 20:58:13,321 [19] INFO - Information: 0 : 2020-07-14 20:58:13,321 [19] INFO - --------- 2020-07-14 20:58:13,321 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2092. 2020-07-14 20:58:13,321 [19] INFO - Information: 0 : 2020-07-14 20:58:13,321 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2092. 2020-07-14 20:58:13,322 [19] INFO - --------- 2020-07-14 20:58:13,322 [19] INFO - Information: 0 : 2020-07-14 20:58:13,322 [19] INFO - --------- 2020-07-14 20:58:13,322 [19] INFO - Information: 0 : 2020-07-14 20:58:13,322 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,325 [19] INFO - Information: 0 : 2020-07-14 20:58:13,325 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,325 [19] INFO - Information: 0 : 2020-07-14 20:58:13,325 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,329 [19] INFO - Information: 0 : 2020-07-14 20:58:13,329 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,331 [19] INFO - Information: 0 : 2020-07-14 20:58:13,331 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,331 [19] INFO - Information: 0 : 2020-07-14 20:58:13,331 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,332 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,333 [19] INFO - Information: 0 : 2020-07-14 20:58:13,333 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,333 [19] INFO - --------- 2020-07-14 20:58:13,333 [19] INFO - Information: 0 : 2020-07-14 20:58:13,333 [19] INFO - --------- 2020-07-14 20:58:13,333 [19] INFO - function SE637303570933329920() {} SE637303570933329920.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 SE637303570933329920().executeScript(); 2020-07-14 20:58:13,334 [19] INFO - Information: 0 : 2020-07-14 20:58:13,334 [19] INFO - function SE637303570933329920() {} SE637303570933329920.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 SE637303570933329920().executeScript(); 2020-07-14 20:58:13,334 [19] INFO - --------- 2020-07-14 20:58:13,334 [19] INFO - Information: 0 : 2020-07-14 20:58:13,334 [19] INFO - --------- 2020-07-14 20:58:13,336 [19] INFO - Information: 0 : 2020-07-14 20:58:13,336 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,339 [19] INFO - Information: 0 : 2020-07-14 20:58:13,339 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,339 [19] INFO - Information: 0 : 2020-07-14 20:58:13,339 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,339 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 253 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,340 [19] INFO - Information: 0 : 2020-07-14 20:58:13,340 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,341 [19] INFO - Information: 0 : 2020-07-14 20:58:13,341 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,342 [19] INFO - Information: 0 : 2020-07-14 20:58:13,342 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,342 [19] INFO - Entering 'ensureContentCopy' for image 481, article 1501, size 449. 2020-07-14 20:58:13,343 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1501, image ID = 481, maxWidthInPixel = 449. 2020-07-14 20:58:13,343 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,343 [19] INFO - Leaving 'ensureContentCopy' for image 481, article 1501, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,351 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1152 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\44ca2a6f55df462080b78405b666e064.jpg“ live from file. 2020-07-14 20:58:13,351 [19] INFO - Returning live-calculated image size for image with ID 481, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,352 [19] INFO - Returning cached image size for image with ID 481, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,353 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,353 [19] INFO - Information: 0 : 2020-07-14 20:58:13,353 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,353 [19] INFO - --------- 2020-07-14 20:58:13,354 [19] INFO - Information: 0 : 2020-07-14 20:58:13,354 [19] INFO - --------- 2020-07-14 20:58:13,354 [19] INFO - function SE637303570933539932() {} SE637303570933539932.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 SE637303570933539932().executeScript(); 2020-07-14 20:58:13,354 [19] INFO - Information: 0 : 2020-07-14 20:58:13,354 [19] INFO - function SE637303570933539932() {} SE637303570933539932.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 SE637303570933539932().executeScript(); 2020-07-14 20:58:13,354 [19] INFO - --------- 2020-07-14 20:58:13,354 [19] INFO - Information: 0 : 2020-07-14 20:58:13,354 [19] INFO - --------- 2020-07-14 20:58:13,359 [19] INFO - Information: 0 : 2020-07-14 20:58:13,359 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,361 [19] INFO - Information: 0 : 2020-07-14 20:58:13,361 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,361 [19] INFO - Information: 0 : 2020-07-14 20:58:13,362 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,362 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,363 [19] INFO - Information: 0 : 2020-07-14 20:58:13,363 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,363 [19] INFO - --------- 2020-07-14 20:58:13,363 [19] INFO - Information: 0 : 2020-07-14 20:58:13,363 [19] INFO - --------- 2020-07-14 20:58:13,363 [19] INFO - function SE637303570933539932() {} SE637303570933539932.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 SE637303570933539932().executeScript(); 2020-07-14 20:58:13,363 [19] INFO - Information: 0 : 2020-07-14 20:58:13,363 [19] INFO - function SE637303570933539932() {} SE637303570933539932.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 SE637303570933539932().executeScript(); 2020-07-14 20:58:13,364 [19] INFO - --------- 2020-07-14 20:58:13,364 [19] INFO - Information: 0 : 2020-07-14 20:58:13,364 [19] INFO - --------- 2020-07-14 20:58:13,364 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2093. 2020-07-14 20:58:13,364 [19] INFO - Information: 0 : 2020-07-14 20:58:13,364 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2093. 2020-07-14 20:58:13,364 [19] INFO - --------- 2020-07-14 20:58:13,364 [19] INFO - Information: 0 : 2020-07-14 20:58:13,364 [19] INFO - --------- 2020-07-14 20:58:13,365 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,365 [19] INFO - Information: 0 : 2020-07-14 20:58:13,365 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,366 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,367 [19] INFO - Information: 0 : 2020-07-14 20:58:13,367 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,367 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,367 [19] INFO - Information: 0 : 2020-07-14 20:58:13,367 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,367 [19] INFO - --------- 2020-07-14 20:58:13,367 [19] INFO - Information: 0 : 2020-07-14 20:58:13,367 [19] INFO - --------- 2020-07-14 20:58:13,367 [19] INFO - function SE637303570933329920() {} SE637303570933329920.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 SE637303570933329920().executeScript(); 2020-07-14 20:58:13,368 [19] INFO - Information: 0 : 2020-07-14 20:58:13,368 [19] INFO - function SE637303570933329920() {} SE637303570933329920.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 SE637303570933329920().executeScript(); 2020-07-14 20:58:13,368 [19] INFO - --------- 2020-07-14 20:58:13,369 [19] INFO - Information: 0 : 2020-07-14 20:58:13,369 [19] INFO - --------- 2020-07-14 20:58:13,369 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2094. 2020-07-14 20:58:13,369 [19] INFO - Information: 0 : 2020-07-14 20:58:13,369 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2094. 2020-07-14 20:58:13,369 [19] INFO - --------- 2020-07-14 20:58:13,369 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,370 [19] INFO - Information: 0 : 2020-07-14 20:58:13,370 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,371 [19] INFO - Information: 0 : 2020-07-14 20:58:13,371 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,371 [19] INFO - Information: 0 : 2020-07-14 20:58:13,372 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,372 [19] INFO - Information: 0 : 2020-07-14 20:58:13,372 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,374 [19] INFO - Information: 0 : 2020-07-14 20:58:13,374 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,375 [19] INFO - Information: 0 : 2020-07-14 20:58:13,375 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,375 [19] INFO - Information: 0 : 2020-07-14 20:58:13,375 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,378 [19] INFO - Information: 0 : 2020-07-14 20:58:13,378 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,378 [19] INFO - Information: 0 : 2020-07-14 20:58:13,378 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,379 [19] INFO - Information: 0 : 2020-07-14 20:58:13,379 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,380 [19] INFO - Information: 0 : 2020-07-14 20:58:13,380 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,381 [19] INFO - Information: 0 : 2020-07-14 20:58:13,381 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,383 [19] INFO - Information: 0 : 2020-07-14 20:58:13,383 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,384 [19] INFO - Information: 0 : 2020-07-14 20:58:13,384 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,385 [19] INFO - Information: 0 : 2020-07-14 20:58:13,385 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,385 [19] INFO - Information: 0 : 2020-07-14 20:58:13,386 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,388 [19] INFO - Information: 0 : 2020-07-14 20:58:13,388 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,388 [19] INFO - Information: 0 : 2020-07-14 20:58:13,388 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,389 [19] INFO - Information: 0 : 2020-07-14 20:58:13,389 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,390 [19] INFO - Information: 0 : 2020-07-14 20:58:13,390 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,391 [19] INFO - Information: 0 : 2020-07-14 20:58:13,391 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,394 [19] INFO - Information: 0 : 2020-07-14 20:58:13,394 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,395 [19] INFO - Information: 0 : 2020-07-14 20:58:13,395 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,396 [19] INFO - Information: 0 : 2020-07-14 20:58:13,396 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,397 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,397 [19] INFO - Information: 0 : 2020-07-14 20:58:13,397 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,397 [19] INFO - --------- 2020-07-14 20:58:13,397 [19] INFO - Information: 0 : 2020-07-14 20:58:13,398 [19] INFO - --------- 2020-07-14 20:58:13,398 [19] INFO - function SE637303570933979957() {} SE637303570933979957.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 SE637303570933979957().executeScript(); 2020-07-14 20:58:13,398 [19] INFO - Information: 0 : 2020-07-14 20:58:13,398 [19] INFO - function SE637303570933979957() {} SE637303570933979957.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 SE637303570933979957().executeScript(); 2020-07-14 20:58:13,399 [19] INFO - --------- 2020-07-14 20:58:13,399 [19] INFO - Information: 0 : 2020-07-14 20:58:13,399 [19] INFO - --------- 2020-07-14 20:58:13,401 [19] INFO - Information: 0 : 2020-07-14 20:58:13,401 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,403 [19] INFO - Information: 0 : 2020-07-14 20:58:13,403 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,403 [19] INFO - Information: 0 : 2020-07-14 20:58:13,403 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,403 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 253 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,404 [19] INFO - Information: 0 : 2020-07-14 20:58:13,404 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,405 [19] INFO - Information: 0 : 2020-07-14 20:58:13,405 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,405 [19] INFO - Information: 0 : 2020-07-14 20:58:13,406 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,406 [19] INFO - Entering 'ensureContentCopy' for image 482, article 1502, size 449. 2020-07-14 20:58:13,406 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1502, image ID = 482, maxWidthInPixel = 449. 2020-07-14 20:58:13,406 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,407 [19] INFO - Leaving 'ensureContentCopy' for image 482, article 1502, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,415 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1152 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\1f950dc9ba7a4476a62afe529bf0266c.jpg“ live from file. 2020-07-14 20:58:13,415 [19] INFO - Returning live-calculated image size for image with ID 482, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,415 [19] INFO - Returning cached image size for image with ID 482, file version „ContentCopy“ of 2048×1152 pixels. 2020-07-14 20:58:13,417 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,417 [19] INFO - Information: 0 : 2020-07-14 20:58:13,417 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,417 [19] INFO - --------- 2020-07-14 20:58:13,417 [19] INFO - Information: 0 : 2020-07-14 20:58:13,417 [19] INFO - --------- 2020-07-14 20:58:13,418 [19] INFO - function SE637303570934179969() {} SE637303570934179969.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 SE637303570934179969().executeScript(); 2020-07-14 20:58:13,418 [19] INFO - Information: 0 : 2020-07-14 20:58:13,418 [19] INFO - function SE637303570934179969() {} SE637303570934179969.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 SE637303570934179969().executeScript(); 2020-07-14 20:58:13,418 [19] INFO - --------- 2020-07-14 20:58:13,418 [19] INFO - Information: 0 : 2020-07-14 20:58:13,418 [19] INFO - --------- 2020-07-14 20:58:13,423 [19] INFO - Information: 0 : 2020-07-14 20:58:13,423 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,425 [19] INFO - Information: 0 : 2020-07-14 20:58:13,425 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,425 [19] INFO - Information: 0 : 2020-07-14 20:58:13,425 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,426 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,426 [19] INFO - Information: 0 : 2020-07-14 20:58:13,426 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,426 [19] INFO - --------- 2020-07-14 20:58:13,427 [19] INFO - Information: 0 : 2020-07-14 20:58:13,427 [19] INFO - --------- 2020-07-14 20:58:13,427 [19] INFO - function SE637303570934179969() {} SE637303570934179969.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 SE637303570934179969().executeScript(); 2020-07-14 20:58:13,427 [19] INFO - Information: 0 : 2020-07-14 20:58:13,427 [19] INFO - function SE637303570934179969() {} SE637303570934179969.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 SE637303570934179969().executeScript(); 2020-07-14 20:58:13,427 [19] INFO - --------- 2020-07-14 20:58:13,427 [19] INFO - Information: 0 : 2020-07-14 20:58:13,427 [19] INFO - --------- 2020-07-14 20:58:13,428 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2095. 2020-07-14 20:58:13,428 [19] INFO - Information: 0 : 2020-07-14 20:58:13,428 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2095. 2020-07-14 20:58:13,428 [19] INFO - --------- 2020-07-14 20:58:13,428 [19] INFO - Information: 0 : 2020-07-14 20:58:13,428 [19] INFO - --------- 2020-07-14 20:58:13,428 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,428 [19] INFO - Information: 0 : 2020-07-14 20:58:13,428 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,430 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,430 [19] INFO - Information: 0 : 2020-07-14 20:58:13,430 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,430 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,431 [19] INFO - Information: 0 : 2020-07-14 20:58:13,431 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,431 [19] INFO - --------- 2020-07-14 20:58:13,431 [19] INFO - Information: 0 : 2020-07-14 20:58:13,431 [19] INFO - --------- 2020-07-14 20:58:13,431 [19] INFO - function SE637303570933979957() {} SE637303570933979957.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 SE637303570933979957().executeScript(); 2020-07-14 20:58:13,432 [19] INFO - Information: 0 : 2020-07-14 20:58:13,432 [19] INFO - function SE637303570933979957() {} SE637303570933979957.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 SE637303570933979957().executeScript(); 2020-07-14 20:58:13,432 [19] INFO - --------- 2020-07-14 20:58:13,432 [19] INFO - Information: 0 : 2020-07-14 20:58:13,432 [19] INFO - --------- 2020-07-14 20:58:13,433 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2096. 2020-07-14 20:58:13,433 [19] INFO - Information: 0 : 2020-07-14 20:58:13,433 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2096. 2020-07-14 20:58:13,433 [19] INFO - --------- 2020-07-14 20:58:13,433 [19] INFO - Information: 0 : 2020-07-14 20:58:13,433 [19] INFO - --------- 2020-07-14 20:58:13,434 [19] INFO - Information: 0 : 2020-07-14 20:58:13,434 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,436 [19] INFO - Information: 0 : 2020-07-14 20:58:13,436 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,436 [19] INFO - Information: 0 : 2020-07-14 20:58:13,436 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,440 [19] INFO - Information: 0 : 2020-07-14 20:58:13,440 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,442 [19] INFO - Information: 0 : 2020-07-14 20:58:13,442 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,442 [19] INFO - Information: 0 : 2020-07-14 20:58:13,442 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,444 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,444 [19] INFO - Information: 0 : 2020-07-14 20:58:13,444 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,444 [19] INFO - --------- 2020-07-14 20:58:13,444 [19] INFO - Information: 0 : 2020-07-14 20:58:13,444 [19] INFO - --------- 2020-07-14 20:58:13,444 [19] INFO - function SE637303570934439984() {} SE637303570934439984.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 SE637303570934439984().executeScript(); 2020-07-14 20:58:13,445 [19] INFO - Information: 0 : 2020-07-14 20:58:13,445 [19] INFO - function SE637303570934439984() {} SE637303570934439984.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 SE637303570934439984().executeScript(); 2020-07-14 20:58:13,445 [19] INFO - --------- 2020-07-14 20:58:13,445 [19] INFO - Information: 0 : 2020-07-14 20:58:13,446 [19] INFO - --------- 2020-07-14 20:58:13,447 [19] INFO - Information: 0 : 2020-07-14 20:58:13,447 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,449 [19] INFO - Information: 0 : 2020-07-14 20:58:13,450 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,450 [19] INFO - Information: 0 : 2020-07-14 20:58:13,450 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,450 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,451 [19] INFO - Information: 0 : 2020-07-14 20:58:13,451 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,452 [19] INFO - Information: 0 : 2020-07-14 20:58:13,452 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,452 [19] INFO - Information: 0 : 2020-07-14 20:58:13,452 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,453 [19] INFO - Entering 'ensureContentCopy' for image 484, article 1503, size 449. 2020-07-14 20:58:13,453 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1503, image ID = 484, maxWidthInPixel = 449. 2020-07-14 20:58:13,453 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,453 [19] INFO - Leaving 'ensureContentCopy' for image 484, article 1503, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,461 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\68f169cc7f8c4a059ad42b62b704f1c8.jpg“ live from file. 2020-07-14 20:58:13,461 [19] INFO - Returning live-calculated image size for image with ID 484, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,462 [19] INFO - Returning cached image size for image with ID 484, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,462 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,465 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,465 [19] INFO - Information: 0 : 2020-07-14 20:58:13,465 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,466 [19] INFO - --------- 2020-07-14 20:58:13,466 [19] INFO - Information: 0 : 2020-07-14 20:58:13,466 [19] INFO - --------- 2020-07-14 20:58:13,466 [19] INFO - function SE637303570934639995() {} SE637303570934639995.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 SE637303570934639995().executeScript(); 2020-07-14 20:58:13,466 [19] INFO - Information: 0 : 2020-07-14 20:58:13,466 [19] INFO - function SE637303570934639995() {} SE637303570934639995.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 SE637303570934639995().executeScript(); 2020-07-14 20:58:13,466 [19] INFO - --------- 2020-07-14 20:58:13,467 [19] INFO - Information: 0 : 2020-07-14 20:58:13,467 [19] INFO - --------- 2020-07-14 20:58:13,472 [19] INFO - Information: 0 : 2020-07-14 20:58:13,472 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,474 [19] INFO - Information: 0 : 2020-07-14 20:58:13,474 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,474 [19] INFO - Information: 0 : 2020-07-14 20:58:13,474 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,475 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,476 [19] INFO - Information: 0 : 2020-07-14 20:58:13,476 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,476 [19] INFO - --------- 2020-07-14 20:58:13,476 [19] INFO - Information: 0 : 2020-07-14 20:58:13,476 [19] INFO - --------- 2020-07-14 20:58:13,476 [19] INFO - function SE637303570934639995() {} SE637303570934639995.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 SE637303570934639995().executeScript(); 2020-07-14 20:58:13,476 [19] INFO - Information: 0 : 2020-07-14 20:58:13,477 [19] INFO - function SE637303570934639995() {} SE637303570934639995.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 SE637303570934639995().executeScript(); 2020-07-14 20:58:13,477 [19] INFO - --------- 2020-07-14 20:58:13,477 [19] INFO - Information: 0 : 2020-07-14 20:58:13,477 [19] INFO - --------- 2020-07-14 20:58:13,477 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2097. 2020-07-14 20:58:13,477 [19] INFO - Information: 0 : 2020-07-14 20:58:13,477 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2097. 2020-07-14 20:58:13,477 [19] INFO - --------- 2020-07-14 20:58:13,478 [19] INFO - Information: 0 : 2020-07-14 20:58:13,478 [19] INFO - --------- 2020-07-14 20:58:13,478 [19] INFO - [system.partial] „article-begin.html“ 13 ms „[0, popupimage]“ 2020-07-14 20:58:13,478 [19] INFO - Information: 0 : 2020-07-14 20:58:13,478 [19] INFO - [system.partial] „article-begin.html“ 13 ms „[0, popupimage]“ 2020-07-14 20:58:13,480 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,480 [19] INFO - Information: 0 : 2020-07-14 20:58:13,480 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,480 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,480 [19] INFO - Information: 0 : 2020-07-14 20:58:13,480 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,480 [19] INFO - --------- 2020-07-14 20:58:13,480 [19] INFO - Information: 0 : 2020-07-14 20:58:13,480 [19] INFO - --------- 2020-07-14 20:58:13,481 [19] INFO - function SE637303570934439984() {} SE637303570934439984.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 SE637303570934439984().executeScript(); 2020-07-14 20:58:13,481 [19] INFO - Information: 0 : 2020-07-14 20:58:13,481 [19] INFO - function SE637303570934439984() {} SE637303570934439984.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 SE637303570934439984().executeScript(); 2020-07-14 20:58:13,482 [19] INFO - --------- 2020-07-14 20:58:13,482 [19] INFO - Information: 0 : 2020-07-14 20:58:13,482 [19] INFO - --------- 2020-07-14 20:58:13,482 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2098. 2020-07-14 20:58:13,482 [19] INFO - Information: 0 : 2020-07-14 20:58:13,482 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2098. 2020-07-14 20:58:13,482 [19] INFO - --------- 2020-07-14 20:58:13,482 [19] INFO - Information: 0 : 2020-07-14 20:58:13,482 [19] INFO - --------- 2020-07-14 20:58:13,483 [19] INFO - Information: 0 : 2020-07-14 20:58:13,483 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,486 [19] INFO - Information: 0 : 2020-07-14 20:58:13,486 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,486 [19] INFO - Information: 0 : 2020-07-14 20:58:13,486 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,487 [19] INFO - Information: 0 : 2020-07-14 20:58:13,487 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,489 [19] INFO - Information: 0 : 2020-07-14 20:58:13,489 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,489 [19] INFO - Information: 0 : 2020-07-14 20:58:13,489 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,490 [19] INFO - Information: 0 : 2020-07-14 20:58:13,490 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,492 [19] INFO - Information: 0 : 2020-07-14 20:58:13,492 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,492 [19] INFO - Information: 0 : 2020-07-14 20:58:13,492 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,492 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,494 [19] INFO - Information: 0 : 2020-07-14 20:58:13,494 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,496 [19] INFO - Information: 0 : 2020-07-14 20:58:13,496 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,496 [19] INFO - Information: 0 : 2020-07-14 20:58:13,496 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,497 [19] INFO - Information: 0 : 2020-07-14 20:58:13,497 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,499 [19] INFO - Information: 0 : 2020-07-14 20:58:13,499 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,499 [19] INFO - Information: 0 : 2020-07-14 20:58:13,500 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,500 [19] INFO - Information: 0 : 2020-07-14 20:58:13,500 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,501 [19] INFO - Information: 0 : 2020-07-14 20:58:13,502 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,502 [19] INFO - Information: 0 : 2020-07-14 20:58:13,502 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,505 [19] INFO - Information: 0 : 2020-07-14 20:58:13,505 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,506 [19] INFO - Information: 0 : 2020-07-14 20:58:13,506 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,507 [19] INFO - Information: 0 : 2020-07-14 20:58:13,507 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,509 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,509 [19] INFO - Information: 0 : 2020-07-14 20:58:13,509 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,510 [19] INFO - --------- 2020-07-14 20:58:13,510 [19] INFO - Information: 0 : 2020-07-14 20:58:13,510 [19] INFO - --------- 2020-07-14 20:58:13,510 [19] INFO - function SE637303570935090021() {} SE637303570935090021.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 SE637303570935090021().executeScript(); 2020-07-14 20:58:13,511 [19] INFO - Information: 0 : 2020-07-14 20:58:13,511 [19] INFO - function SE637303570935090021() {} SE637303570935090021.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 SE637303570935090021().executeScript(); 2020-07-14 20:58:13,512 [19] INFO - --------- 2020-07-14 20:58:13,512 [19] INFO - Information: 0 : 2020-07-14 20:58:13,512 [19] INFO - --------- 2020-07-14 20:58:13,514 [19] INFO - Information: 0 : 2020-07-14 20:58:13,514 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,516 [19] INFO - Information: 0 : 2020-07-14 20:58:13,516 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,516 [19] INFO - Information: 0 : 2020-07-14 20:58:13,516 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,517 [19] INFO - Information: 0 : 2020-07-14 20:58:13,517 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,528 [19] INFO - Information: 0 : 2020-07-14 20:58:13,528 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,528 [19] INFO - Information: 0 : 2020-07-14 20:58:13,528 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,531 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,543 [19] INFO - Information: 0 : 2020-07-14 20:58:13,543 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,545 [19] INFO - Information: 0 : 2020-07-14 20:58:13,545 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,545 [19] INFO - Information: 0 : 2020-07-14 20:58:13,545 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,545 [19] INFO - Information: 0 : 2020-07-14 20:58:13,545 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,548 [19] INFO - Information: 0 : 2020-07-14 20:58:13,549 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,549 [19] INFO - Information: 0 : 2020-07-14 20:58:13,549 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,549 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,549 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,549 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,549 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,550 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,552 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,552 [19] INFO - Information: 0 : 2020-07-14 20:58:13,552 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,552 [19] INFO - --------- 2020-07-14 20:58:13,552 [19] INFO - Information: 0 : 2020-07-14 20:58:13,552 [19] INFO - --------- 2020-07-14 20:58:13,553 [19] INFO - function SE637303570935520045() {} SE637303570935520045.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 SE637303570935520045().executeScript(); 2020-07-14 20:58:13,553 [19] INFO - Information: 0 : 2020-07-14 20:58:13,553 [19] INFO - function SE637303570935520045() {} SE637303570935520045.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 SE637303570935520045().executeScript(); 2020-07-14 20:58:13,553 [19] INFO - --------- 2020-07-14 20:58:13,553 [19] INFO - Information: 0 : 2020-07-14 20:58:13,553 [19] INFO - --------- 2020-07-14 20:58:13,558 [19] INFO - Information: 0 : 2020-07-14 20:58:13,558 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,560 [19] INFO - Information: 0 : 2020-07-14 20:58:13,560 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,560 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,561 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,561 [19] INFO - Information: 0 : 2020-07-14 20:58:13,561 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,561 [19] INFO - --------- 2020-07-14 20:58:13,561 [19] INFO - Information: 0 : 2020-07-14 20:58:13,562 [19] INFO - --------- 2020-07-14 20:58:13,562 [19] INFO - function SE637303570935520045() {} SE637303570935520045.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 SE637303570935520045().executeScript(); 2020-07-14 20:58:13,562 [19] INFO - Information: 0 : 2020-07-14 20:58:13,562 [19] INFO - function SE637303570935520045() {} SE637303570935520045.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 SE637303570935520045().executeScript(); 2020-07-14 20:58:13,562 [19] INFO - --------- 2020-07-14 20:58:13,562 [19] INFO - Information: 0 : 2020-07-14 20:58:13,562 [19] INFO - --------- 2020-07-14 20:58:13,562 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2099. 2020-07-14 20:58:13,563 [19] INFO - Information: 0 : 2020-07-14 20:58:13,563 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2099. 2020-07-14 20:58:13,563 [19] INFO - --------- 2020-07-14 20:58:13,563 [19] INFO - Information: 0 : 2020-07-14 20:58:13,563 [19] INFO - --------- 2020-07-14 20:58:13,563 [19] INFO - [system.partial] „article-begin.html“ 11 ms „“ 2020-07-14 20:58:13,563 [19] INFO - Information: 0 : 2020-07-14 20:58:13,563 [19] INFO - [system.partial] „article-begin.html“ 11 ms „“ 2020-07-14 20:58:13,564 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,564 [19] INFO - Information: 0 : 2020-07-14 20:58:13,564 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,564 [19] INFO - --------- 2020-07-14 20:58:13,564 [19] INFO - Information: 0 : 2020-07-14 20:58:13,564 [19] INFO - --------- 2020-07-14 20:58:13,564 [19] INFO - function SE637303570935640052() {} SE637303570935640052.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 SE637303570935640052().executeScript(); 2020-07-14 20:58:13,564 [19] INFO - Information: 0 : 2020-07-14 20:58:13,565 [19] INFO - function SE637303570935640052() {} SE637303570935640052.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 SE637303570935640052().executeScript(); 2020-07-14 20:58:13,565 [19] INFO - --------- 2020-07-14 20:58:13,565 [19] INFO - Information: 0 : 2020-07-14 20:58:13,565 [19] INFO - --------- 2020-07-14 20:58:13,568 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,569 [19] INFO - Information: 0 : 2020-07-14 20:58:13,569 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,569 [19] INFO - --------- 2020-07-14 20:58:13,569 [19] INFO - Information: 0 : 2020-07-14 20:58:13,569 [19] INFO - --------- 2020-07-14 20:58:13,569 [19] INFO - function SE637303570935640052() {} SE637303570935640052.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 SE637303570935640052().executeScript(); 2020-07-14 20:58:13,569 [19] INFO - Information: 0 : 2020-07-14 20:58:13,569 [19] INFO - function SE637303570935640052() {} SE637303570935640052.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 SE637303570935640052().executeScript(); 2020-07-14 20:58:13,569 [19] INFO - --------- 2020-07-14 20:58:13,570 [19] INFO - Information: 0 : 2020-07-14 20:58:13,570 [19] INFO - --------- 2020-07-14 20:58:13,570 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2100. 2020-07-14 20:58:13,570 [19] INFO - Information: 0 : 2020-07-14 20:58:13,570 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2100. 2020-07-14 20:58:13,570 [19] INFO - --------- 2020-07-14 20:58:13,570 [19] INFO - Information: 0 : 2020-07-14 20:58:13,570 [19] INFO - --------- 2020-07-14 20:58:13,570 [19] INFO - [system.partial] „article-headline.html“ 6 ms „“ 2020-07-14 20:58:13,570 [19] INFO - Information: 0 : 2020-07-14 20:58:13,571 [19] INFO - [system.partial] „article-headline.html“ 6 ms „“ 2020-07-14 20:58:13,571 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 485. 2020-07-14 20:58:13,571 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 485. 2020-07-14 20:58:13,571 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,572 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,572 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 485. 2020-07-14 20:58:13,572 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,573 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\a3566171315b4f1e995293816ca014c9.jpg“ (22.01.2019 19:23:20) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7236-920.jpg“ (15.05.2019 20:35:18). Delta last write time is -9767518 seconds. Is source file newer: False. 2020-07-14 20:58:13,581 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,582 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 486. 2020-07-14 20:58:13,582 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 486. 2020-07-14 20:58:13,582 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,583 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,583 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 486. 2020-07-14 20:58:13,583 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,584 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\5d080863075c4723a2076df069c37c3a.jpg“ (22.01.2019 19:23:24) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7233-920.jpg“ (15.05.2019 20:35:17). Delta last write time is -9767513 seconds. Is source file newer: False. 2020-07-14 20:58:13,590 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,593 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,593 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 487. 2020-07-14 20:58:13,594 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 487. 2020-07-14 20:58:13,594 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,595 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,595 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 487. 2020-07-14 20:58:13,595 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,596 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\59cf33bbbf714c99a657cf1012a37911.jpg“ (22.01.2019 19:23:22) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7234-920.jpg“ (15.05.2019 20:35:19). Delta last write time is -9767517 seconds. Is source file newer: False. 2020-07-14 20:58:13,604 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,605 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 488. 2020-07-14 20:58:13,605 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 488. 2020-07-14 20:58:13,606 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,607 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,607 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 488. 2020-07-14 20:58:13,607 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,608 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\15c2f4e8ca2c422cad43c15e2da6024b.jpg“ (22.01.2019 19:23:24) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7237-920.jpg“ (15.05.2019 20:35:21). Delta last write time is -9767517 seconds. Is source file newer: False. 2020-07-14 20:58:13,616 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,617 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 489. 2020-07-14 20:58:13,617 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 489. 2020-07-14 20:58:13,617 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,618 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,618 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 489. 2020-07-14 20:58:13,618 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,619 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\b9ca1d0285c64dc997cbfab7a4e53afa.jpg“ (22.01.2019 19:23:20) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7238-920.jpg“ (15.05.2019 20:35:24). Delta last write time is -9767524 seconds. Is source file newer: False. 2020-07-14 20:58:13,622 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,627 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,628 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 485. 2020-07-14 20:58:13,628 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 485. 2020-07-14 20:58:13,629 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,629 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 485. 2020-07-14 20:58:13,630 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,631 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\a3566171315b4f1e995293816ca014c9.jpg“ (22.01.2019 19:23:20) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7236-920.jpg“ (15.05.2019 20:35:18). Delta last write time is -9767518 seconds. Is source file newer: False. 2020-07-14 20:58:13,632 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,633 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 486. 2020-07-14 20:58:13,633 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 486. 2020-07-14 20:58:13,633 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,634 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 486. 2020-07-14 20:58:13,634 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,635 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\5d080863075c4723a2076df069c37c3a.jpg“ (22.01.2019 19:23:24) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7233-920.jpg“ (15.05.2019 20:35:17). Delta last write time is -9767513 seconds. Is source file newer: False. 2020-07-14 20:58:13,636 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,637 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 487. 2020-07-14 20:58:13,637 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 487. 2020-07-14 20:58:13,638 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,638 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 487. 2020-07-14 20:58:13,639 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,639 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\59cf33bbbf714c99a657cf1012a37911.jpg“ (22.01.2019 19:23:22) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7234-920.jpg“ (15.05.2019 20:35:19). Delta last write time is -9767517 seconds. Is source file newer: False. 2020-07-14 20:58:13,641 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,641 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 488. 2020-07-14 20:58:13,642 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 488. 2020-07-14 20:58:13,642 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,642 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 488. 2020-07-14 20:58:13,643 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,644 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\15c2f4e8ca2c422cad43c15e2da6024b.jpg“ (22.01.2019 19:23:24) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7237-920.jpg“ (15.05.2019 20:35:21). Delta last write time is -9767517 seconds. Is source file newer: False. 2020-07-14 20:58:13,645 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,646 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 489. 2020-07-14 20:58:13,646 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 489. 2020-07-14 20:58:13,647 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'. 2020-07-14 20:58:13,647 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 489. 2020-07-14 20:58:13,648 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „920“, thumbnail height: „0“, return full info: „True“). 2020-07-14 20:58:13,648 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\b9ca1d0285c64dc997cbfab7a4e53afa.jpg“ (22.01.2019 19:23:20) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn7238-920.jpg“ (15.05.2019 20:35:24). Delta last write time is -9767524 seconds. Is source file newer: False. 2020-07-14 20:58:13,649 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „920“, thumbnail height: „690“). 2020-07-14 20:58:13,650 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,650 [19] INFO - Information: 0 : 2020-07-14 20:58:13,650 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,651 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,651 [19] INFO - Information: 0 : 2020-07-14 20:58:13,651 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,651 [19] INFO - --------- 2020-07-14 20:58:13,651 [19] INFO - Information: 0 : 2020-07-14 20:58:13,651 [19] INFO - --------- 2020-07-14 20:58:13,652 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,651 [19] INFO - function SE637303570935090021() {} SE637303570935090021.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 SE637303570935090021().executeScript(); 2020-07-14 20:58:13,652 [19] INFO - Information: 0 : 2020-07-14 20:58:13,652 [19] INFO - function SE637303570935090021() {} SE637303570935090021.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 SE637303570935090021().executeScript(); 2020-07-14 20:58:13,653 [19] INFO - --------- 2020-07-14 20:58:13,653 [19] INFO - Information: 0 : 2020-07-14 20:58:13,653 [19] INFO - --------- 2020-07-14 20:58:13,653 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2101. 2020-07-14 20:58:13,654 [19] INFO - Information: 0 : 2020-07-14 20:58:13,654 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2101. 2020-07-14 20:58:13,654 [19] INFO - --------- 2020-07-14 20:58:13,654 [19] INFO - Information: 0 : 2020-07-14 20:58:13,654 [19] INFO - --------- 2020-07-14 20:58:13,655 [19] INFO - Information: 0 : 2020-07-14 20:58:13,655 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,657 [19] INFO - Information: 0 : 2020-07-14 20:58:13,657 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,658 [19] INFO - Information: 0 : 2020-07-14 20:58:13,658 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,658 [19] INFO - Information: 0 : 2020-07-14 20:58:13,658 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,660 [19] INFO - Information: 0 : 2020-07-14 20:58:13,661 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,661 [19] INFO - Information: 0 : 2020-07-14 20:58:13,661 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,662 [19] INFO - Information: 0 : 2020-07-14 20:58:13,662 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,663 [19] INFO - Information: 0 : 2020-07-14 20:58:13,664 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,664 [19] INFO - Information: 0 : 2020-07-14 20:58:13,664 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,666 [19] INFO - Information: 0 : 2020-07-14 20:58:13,666 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,668 [19] INFO - Information: 0 : 2020-07-14 20:58:13,668 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,668 [19] INFO - Information: 0 : 2020-07-14 20:58:13,668 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,669 [19] INFO - Information: 0 : 2020-07-14 20:58:13,669 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,671 [19] INFO - Information: 0 : 2020-07-14 20:58:13,671 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,671 [19] INFO - Information: 0 : 2020-07-14 20:58:13,671 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,672 [19] INFO - Information: 0 : 2020-07-14 20:58:13,672 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,673 [19] INFO - Information: 0 : 2020-07-14 20:58:13,673 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,673 [19] INFO - Information: 0 : 2020-07-14 20:58:13,673 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,677 [19] INFO - Information: 0 : 2020-07-14 20:58:13,677 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,679 [19] INFO - Information: 0 : 2020-07-14 20:58:13,679 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,679 [19] INFO - Information: 0 : 2020-07-14 20:58:13,679 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,680 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,680 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,681 [19] INFO - Information: 0 : 2020-07-14 20:58:13,681 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,681 [19] INFO - --------- 2020-07-14 20:58:13,681 [19] INFO - Information: 0 : 2020-07-14 20:58:13,681 [19] INFO - --------- 2020-07-14 20:58:13,681 [19] INFO - function SE637303570936800119() {} SE637303570936800119.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 SE637303570936800119().executeScript(); 2020-07-14 20:58:13,682 [19] INFO - Information: 0 : 2020-07-14 20:58:13,682 [19] INFO - function SE637303570936800119() {} SE637303570936800119.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 SE637303570936800119().executeScript(); 2020-07-14 20:58:13,682 [19] INFO - --------- 2020-07-14 20:58:13,683 [19] INFO - Information: 0 : 2020-07-14 20:58:13,683 [19] INFO - --------- 2020-07-14 20:58:13,684 [19] INFO - Information: 0 : 2020-07-14 20:58:13,684 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,686 [19] INFO - Information: 0 : 2020-07-14 20:58:13,687 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,687 [19] INFO - Information: 0 : 2020-07-14 20:58:13,687 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,687 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,688 [19] INFO - Information: 0 : 2020-07-14 20:58:13,688 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,689 [19] INFO - Information: 0 : 2020-07-14 20:58:13,689 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,690 [19] INFO - Information: 0 : 2020-07-14 20:58:13,690 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,690 [19] INFO - Entering 'ensureContentCopy' for image 490, article 1505, size 449. 2020-07-14 20:58:13,690 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1505, image ID = 490, maxWidthInPixel = 449. 2020-07-14 20:58:13,691 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,691 [19] INFO - Leaving 'ensureContentCopy' for image 490, article 1505, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,699 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\4e22b60e4e9043a4ba94bbd6cac28f83.jpg“ live from file. 2020-07-14 20:58:13,699 [19] INFO - Returning live-calculated image size for image with ID 490, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,700 [19] INFO - Returning cached image size for image with ID 490, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,701 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,701 [19] INFO - Information: 0 : 2020-07-14 20:58:13,701 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,701 [19] INFO - --------- 2020-07-14 20:58:13,702 [19] INFO - Information: 0 : 2020-07-14 20:58:13,702 [19] INFO - --------- 2020-07-14 20:58:13,702 [19] INFO - function SE637303570937010131() {} SE637303570937010131.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 SE637303570937010131().executeScript(); 2020-07-14 20:58:13,702 [19] INFO - Information: 0 : 2020-07-14 20:58:13,702 [19] INFO - function SE637303570937010131() {} SE637303570937010131.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 SE637303570937010131().executeScript(); 2020-07-14 20:58:13,702 [19] INFO - --------- 2020-07-14 20:58:13,702 [19] INFO - Information: 0 : 2020-07-14 20:58:13,703 [19] INFO - --------- 2020-07-14 20:58:13,707 [19] INFO - Information: 0 : 2020-07-14 20:58:13,707 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,709 [19] INFO - Information: 0 : 2020-07-14 20:58:13,709 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,709 [19] INFO - Information: 0 : 2020-07-14 20:58:13,709 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,710 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,711 [19] INFO - Information: 0 : 2020-07-14 20:58:13,711 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,711 [19] INFO - --------- 2020-07-14 20:58:13,711 [19] INFO - Information: 0 : 2020-07-14 20:58:13,711 [19] INFO - --------- 2020-07-14 20:58:13,711 [19] INFO - function SE637303570937010131() {} SE637303570937010131.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 SE637303570937010131().executeScript(); 2020-07-14 20:58:13,711 [19] INFO - Information: 0 : 2020-07-14 20:58:13,711 [19] INFO - function SE637303570937010131() {} SE637303570937010131.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 SE637303570937010131().executeScript(); 2020-07-14 20:58:13,712 [19] INFO - --------- 2020-07-14 20:58:13,712 [19] INFO - Information: 0 : 2020-07-14 20:58:13,712 [19] INFO - --------- 2020-07-14 20:58:13,712 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2102. 2020-07-14 20:58:13,712 [19] INFO - Information: 0 : 2020-07-14 20:58:13,712 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2102. 2020-07-14 20:58:13,712 [19] INFO - --------- 2020-07-14 20:58:13,712 [19] INFO - Information: 0 : 2020-07-14 20:58:13,712 [19] INFO - --------- 2020-07-14 20:58:13,713 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,713 [19] INFO - Information: 0 : 2020-07-14 20:58:13,713 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,715 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,715 [19] INFO - Information: 0 : 2020-07-14 20:58:13,715 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,715 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,715 [19] INFO - Information: 0 : 2020-07-14 20:58:13,715 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,715 [19] INFO - --------- 2020-07-14 20:58:13,715 [19] INFO - Information: 0 : 2020-07-14 20:58:13,715 [19] INFO - --------- 2020-07-14 20:58:13,716 [19] INFO - function SE637303570936800119() {} SE637303570936800119.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 SE637303570936800119().executeScript(); 2020-07-14 20:58:13,716 [19] INFO - Information: 0 : 2020-07-14 20:58:13,717 [19] INFO - function SE637303570936800119() {} SE637303570936800119.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 SE637303570936800119().executeScript(); 2020-07-14 20:58:13,717 [19] INFO - --------- 2020-07-14 20:58:13,717 [19] INFO - Information: 0 : 2020-07-14 20:58:13,717 [19] INFO - --------- 2020-07-14 20:58:13,717 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2103. 2020-07-14 20:58:13,717 [19] INFO - Information: 0 : 2020-07-14 20:58:13,720 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2103. 2020-07-14 20:58:13,720 [19] INFO - --------- 2020-07-14 20:58:13,721 [19] INFO - Information: 0 : 2020-07-14 20:58:13,721 [19] INFO - --------- 2020-07-14 20:58:13,721 [19] INFO - Information: 0 : 2020-07-14 20:58:13,721 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,724 [19] INFO - Information: 0 : 2020-07-14 20:58:13,724 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,724 [19] INFO - Information: 0 : 2020-07-14 20:58:13,724 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,728 [19] INFO - Information: 0 : 2020-07-14 20:58:13,728 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,729 [19] INFO - Information: 0 : 2020-07-14 20:58:13,730 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,730 [19] INFO - Information: 0 : 2020-07-14 20:58:13,730 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,731 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,731 [19] INFO - Information: 0 : 2020-07-14 20:58:13,732 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,732 [19] INFO - --------- 2020-07-14 20:58:13,732 [19] INFO - Information: 0 : 2020-07-14 20:58:13,732 [19] INFO - --------- 2020-07-14 20:58:13,732 [19] INFO - function SE637303570937310148() {} SE637303570937310148.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 SE637303570937310148().executeScript(); 2020-07-14 20:58:13,733 [19] INFO - Information: 0 : 2020-07-14 20:58:13,733 [19] INFO - function SE637303570937310148() {} SE637303570937310148.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 SE637303570937310148().executeScript(); 2020-07-14 20:58:13,733 [19] INFO - --------- 2020-07-14 20:58:13,733 [19] INFO - Information: 0 : 2020-07-14 20:58:13,733 [19] INFO - --------- 2020-07-14 20:58:13,735 [19] INFO - Information: 0 : 2020-07-14 20:58:13,735 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,737 [19] INFO - Information: 0 : 2020-07-14 20:58:13,737 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,738 [19] INFO - Information: 0 : 2020-07-14 20:58:13,738 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,738 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,738 [19] INFO - Information: 0 : 2020-07-14 20:58:13,739 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,740 [19] INFO - Information: 0 : 2020-07-14 20:58:13,740 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,740 [19] INFO - Information: 0 : 2020-07-14 20:58:13,740 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,741 [19] INFO - Entering 'ensureContentCopy' for image 491, article 1506, size 449. 2020-07-14 20:58:13,741 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1506, image ID = 491, maxWidthInPixel = 449. 2020-07-14 20:58:13,741 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,741 [19] INFO - Leaving 'ensureContentCopy' for image 491, article 1506, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,746 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,750 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\cb9c6502febc44549772bfc6a5f2af8c.jpg“ live from file. 2020-07-14 20:58:13,750 [19] INFO - Returning live-calculated image size for image with ID 491, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,750 [19] INFO - Returning cached image size for image with ID 491, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,752 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,752 [19] INFO - Information: 0 : 2020-07-14 20:58:13,752 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,752 [19] INFO - --------- 2020-07-14 20:58:13,752 [19] INFO - Information: 0 : 2020-07-14 20:58:13,753 [19] INFO - --------- 2020-07-14 20:58:13,753 [19] INFO - function SE637303570937520160() {} SE637303570937520160.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 SE637303570937520160().executeScript(); 2020-07-14 20:58:13,753 [19] INFO - Information: 0 : 2020-07-14 20:58:13,753 [19] INFO - function SE637303570937520160() {} SE637303570937520160.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 SE637303570937520160().executeScript(); 2020-07-14 20:58:13,754 [19] INFO - --------- 2020-07-14 20:58:13,754 [19] INFO - Information: 0 : 2020-07-14 20:58:13,754 [19] INFO - --------- 2020-07-14 20:58:13,758 [19] INFO - Information: 0 : 2020-07-14 20:58:13,758 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,760 [19] INFO - Information: 0 : 2020-07-14 20:58:13,761 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,761 [19] INFO - Information: 0 : 2020-07-14 20:58:13,761 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,762 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,762 [19] INFO - Information: 0 : 2020-07-14 20:58:13,762 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,762 [19] INFO - --------- 2020-07-14 20:58:13,762 [19] INFO - Information: 0 : 2020-07-14 20:58:13,762 [19] INFO - --------- 2020-07-14 20:58:13,763 [19] INFO - function SE637303570937520160() {} SE637303570937520160.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 SE637303570937520160().executeScript(); 2020-07-14 20:58:13,763 [19] INFO - Information: 0 : 2020-07-14 20:58:13,763 [19] INFO - function SE637303570937520160() {} SE637303570937520160.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 SE637303570937520160().executeScript(); 2020-07-14 20:58:13,763 [19] INFO - --------- 2020-07-14 20:58:13,763 [19] INFO - Information: 0 : 2020-07-14 20:58:13,763 [19] INFO - --------- 2020-07-14 20:58:13,763 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2104. 2020-07-14 20:58:13,764 [19] INFO - Information: 0 : 2020-07-14 20:58:13,764 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2104. 2020-07-14 20:58:13,764 [19] INFO - --------- 2020-07-14 20:58:13,764 [19] INFO - Information: 0 : 2020-07-14 20:58:13,764 [19] INFO - --------- 2020-07-14 20:58:13,764 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:13,764 [19] INFO - Information: 0 : 2020-07-14 20:58:13,764 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:13,766 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,766 [19] INFO - Information: 0 : 2020-07-14 20:58:13,766 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,766 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,766 [19] INFO - Information: 0 : 2020-07-14 20:58:13,767 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,767 [19] INFO - --------- 2020-07-14 20:58:13,767 [19] INFO - Information: 0 : 2020-07-14 20:58:13,767 [19] INFO - --------- 2020-07-14 20:58:13,767 [19] INFO - function SE637303570937310148() {} SE637303570937310148.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 SE637303570937310148().executeScript(); 2020-07-14 20:58:13,768 [19] INFO - Information: 0 : 2020-07-14 20:58:13,768 [19] INFO - function SE637303570937310148() {} SE637303570937310148.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 SE637303570937310148().executeScript(); 2020-07-14 20:58:13,768 [19] INFO - --------- 2020-07-14 20:58:13,769 [19] INFO - Information: 0 : 2020-07-14 20:58:13,769 [19] INFO - --------- 2020-07-14 20:58:13,769 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2105. 2020-07-14 20:58:13,769 [19] INFO - Information: 0 : 2020-07-14 20:58:13,769 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2105. 2020-07-14 20:58:13,769 [19] INFO - --------- 2020-07-14 20:58:13,769 [19] INFO - Information: 0 : 2020-07-14 20:58:13,769 [19] INFO - --------- 2020-07-14 20:58:13,770 [19] INFO - Information: 0 : 2020-07-14 20:58:13,770 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,773 [19] INFO - Information: 0 : 2020-07-14 20:58:13,773 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,773 [19] INFO - Information: 0 : 2020-07-14 20:58:13,773 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,773 [19] INFO - Information: 0 : 2020-07-14 20:58:13,774 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,775 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,776 [19] INFO - Information: 0 : 2020-07-14 20:58:13,776 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,776 [19] INFO - Information: 0 : 2020-07-14 20:58:13,776 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,777 [19] INFO - Information: 0 : 2020-07-14 20:58:13,777 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,779 [19] INFO - Information: 0 : 2020-07-14 20:58:13,779 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,779 [19] INFO - Information: 0 : 2020-07-14 20:58:13,779 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,782 [19] INFO - Information: 0 : 2020-07-14 20:58:13,782 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,784 [19] INFO - Information: 0 : 2020-07-14 20:58:13,784 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,784 [19] INFO - Information: 0 : 2020-07-14 20:58:13,784 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,785 [19] INFO - Information: 0 : 2020-07-14 20:58:13,785 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,787 [19] INFO - Information: 0 : 2020-07-14 20:58:13,787 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,788 [19] INFO - Information: 0 : 2020-07-14 20:58:13,788 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,788 [19] INFO - Information: 0 : 2020-07-14 20:58:13,788 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,790 [19] INFO - Information: 0 : 2020-07-14 20:58:13,790 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,790 [19] INFO - Information: 0 : 2020-07-14 20:58:13,790 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,793 [19] INFO - Information: 0 : 2020-07-14 20:58:13,793 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,795 [19] INFO - Information: 0 : 2020-07-14 20:58:13,795 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,795 [19] INFO - Information: 0 : 2020-07-14 20:58:13,795 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,796 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,796 [19] INFO - Information: 0 : 2020-07-14 20:58:13,797 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,797 [19] INFO - --------- 2020-07-14 20:58:13,797 [19] INFO - Information: 0 : 2020-07-14 20:58:13,797 [19] INFO - --------- 2020-07-14 20:58:13,797 [19] INFO - function SE637303570937960185() {} SE637303570937960185.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 SE637303570937960185().executeScript(); 2020-07-14 20:58:13,797 [19] INFO - Information: 0 : 2020-07-14 20:58:13,798 [19] INFO - function SE637303570937960185() {} SE637303570937960185.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 SE637303570937960185().executeScript(); 2020-07-14 20:58:13,798 [19] INFO - --------- 2020-07-14 20:58:13,798 [19] INFO - Information: 0 : 2020-07-14 20:58:13,798 [19] INFO - --------- 2020-07-14 20:58:13,800 [19] INFO - Information: 0 : 2020-07-14 20:58:13,800 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,802 [19] INFO - Information: 0 : 2020-07-14 20:58:13,802 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,803 [19] INFO - Information: 0 : 2020-07-14 20:58:13,803 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,803 [19] INFO - [SetContentCopyImageSizeInPixel] 890 x 668 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,803 [19] INFO - Information: 0 : 2020-07-14 20:58:13,803 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,804 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,805 [19] INFO - Information: 0 : 2020-07-14 20:58:13,805 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,805 [19] INFO - Information: 0 : 2020-07-14 20:58:13,805 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,806 [19] INFO - Entering 'ensureContentCopy' for image 492, article 1507, size 890. 2020-07-14 20:58:13,806 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1507, image ID = 492, maxWidthInPixel = 890. 2020-07-14 20:58:13,806 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,806 [19] INFO - Leaving 'ensureContentCopy' for image 492, article 1507, size „890“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,815 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\a8c2788ae4664e3d980541a0d20cddf0.jpg“ live from file. 2020-07-14 20:58:13,815 [19] INFO - Returning live-calculated image size for image with ID 492, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,815 [19] INFO - Returning cached image size for image with ID 492, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,817 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,817 [19] INFO - Information: 0 : 2020-07-14 20:58:13,817 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,817 [19] INFO - --------- 2020-07-14 20:58:13,817 [19] INFO - Information: 0 : 2020-07-14 20:58:13,817 [19] INFO - --------- 2020-07-14 20:58:13,817 [19] INFO - function SE637303570938160196() {} SE637303570938160196.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 SE637303570938160196().executeScript(); 2020-07-14 20:58:13,817 [19] INFO - Information: 0 : 2020-07-14 20:58:13,818 [19] INFO - function SE637303570938160196() {} SE637303570938160196.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 SE637303570938160196().executeScript(); 2020-07-14 20:58:13,818 [19] INFO - --------- 2020-07-14 20:58:13,818 [19] INFO - Information: 0 : 2020-07-14 20:58:13,818 [19] INFO - --------- 2020-07-14 20:58:13,823 [19] INFO - Information: 0 : 2020-07-14 20:58:13,823 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,825 [19] INFO - Information: 0 : 2020-07-14 20:58:13,825 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,825 [19] INFO - Information: 0 : 2020-07-14 20:58:13,825 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,826 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,826 [19] INFO - Information: 0 : 2020-07-14 20:58:13,826 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,826 [19] INFO - --------- 2020-07-14 20:58:13,827 [19] INFO - Information: 0 : 2020-07-14 20:58:13,827 [19] INFO - --------- 2020-07-14 20:58:13,827 [19] INFO - function SE637303570938160196() {} SE637303570938160196.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 SE637303570938160196().executeScript(); 2020-07-14 20:58:13,827 [19] INFO - Information: 0 : 2020-07-14 20:58:13,827 [19] INFO - function SE637303570938160196() {} SE637303570938160196.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 SE637303570938160196().executeScript(); 2020-07-14 20:58:13,827 [19] INFO - --------- 2020-07-14 20:58:13,827 [19] INFO - Information: 0 : 2020-07-14 20:58:13,827 [19] INFO - --------- 2020-07-14 20:58:13,828 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2106. 2020-07-14 20:58:13,828 [19] INFO - Information: 0 : 2020-07-14 20:58:13,828 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2106. 2020-07-14 20:58:13,828 [19] INFO - --------- 2020-07-14 20:58:13,828 [19] INFO - Information: 0 : 2020-07-14 20:58:13,828 [19] INFO - --------- 2020-07-14 20:58:13,828 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,828 [19] INFO - Information: 0 : 2020-07-14 20:58:13,828 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,830 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,830 [19] INFO - Information: 0 : 2020-07-14 20:58:13,830 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,830 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,830 [19] INFO - Information: 0 : 2020-07-14 20:58:13,831 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,831 [19] INFO - --------- 2020-07-14 20:58:13,831 [19] INFO - Information: 0 : 2020-07-14 20:58:13,831 [19] INFO - --------- 2020-07-14 20:58:13,831 [19] INFO - function SE637303570937960185() {} SE637303570937960185.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 SE637303570937960185().executeScript(); 2020-07-14 20:58:13,831 [19] INFO - Information: 0 : 2020-07-14 20:58:13,832 [19] INFO - function SE637303570937960185() {} SE637303570937960185.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 SE637303570937960185().executeScript(); 2020-07-14 20:58:13,832 [19] INFO - --------- 2020-07-14 20:58:13,832 [19] INFO - Information: 0 : 2020-07-14 20:58:13,832 [19] INFO - --------- 2020-07-14 20:58:13,832 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2107. 2020-07-14 20:58:13,832 [19] INFO - Information: 0 : 2020-07-14 20:58:13,832 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2107. 2020-07-14 20:58:13,833 [19] INFO - --------- 2020-07-14 20:58:13,833 [19] INFO - Information: 0 : 2020-07-14 20:58:13,833 [19] INFO - --------- 2020-07-14 20:58:13,834 [19] INFO - Information: 0 : 2020-07-14 20:58:13,834 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,836 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,837 [19] INFO - Information: 0 : 2020-07-14 20:58:13,837 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,839 [19] INFO - Information: 0 : 2020-07-14 20:58:13,839 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,840 [19] INFO - Information: 0 : 2020-07-14 20:58:13,840 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,841 [19] INFO - Information: 0 : 2020-07-14 20:58:13,841 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,842 [19] INFO - Information: 0 : 2020-07-14 20:58:13,842 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,842 [19] INFO - Information: 0 : 2020-07-14 20:58:13,842 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,844 [19] INFO - Information: 0 : 2020-07-14 20:58:13,844 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,846 [19] INFO - Information: 0 : 2020-07-14 20:58:13,846 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,846 [19] INFO - Information: 0 : 2020-07-14 20:58:13,846 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,847 [19] INFO - Information: 0 : 2020-07-14 20:58:13,847 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,849 [19] INFO - Information: 0 : 2020-07-14 20:58:13,849 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,849 [19] INFO - Information: 0 : 2020-07-14 20:58:13,849 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,850 [19] INFO - Information: 0 : 2020-07-14 20:58:13,850 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,851 [19] INFO - Information: 0 : 2020-07-14 20:58:13,852 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,852 [19] INFO - Information: 0 : 2020-07-14 20:58:13,852 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,854 [19] INFO - Information: 0 : 2020-07-14 20:58:13,855 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,856 [19] INFO - Information: 0 : 2020-07-14 20:58:13,856 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,857 [19] INFO - Information: 0 : 2020-07-14 20:58:13,857 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,858 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,858 [19] INFO - Information: 0 : 2020-07-14 20:58:13,858 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,858 [19] INFO - --------- 2020-07-14 20:58:13,858 [19] INFO - Information: 0 : 2020-07-14 20:58:13,859 [19] INFO - --------- 2020-07-14 20:58:13,859 [19] INFO - function SE637303570938580220() {} SE637303570938580220.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 SE637303570938580220().executeScript(); 2020-07-14 20:58:13,859 [19] INFO - Information: 0 : 2020-07-14 20:58:13,859 [19] INFO - function SE637303570938580220() {} SE637303570938580220.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 SE637303570938580220().executeScript(); 2020-07-14 20:58:13,860 [19] INFO - --------- 2020-07-14 20:58:13,860 [19] INFO - Information: 0 : 2020-07-14 20:58:13,860 [19] INFO - --------- 2020-07-14 20:58:13,862 [19] INFO - Information: 0 : 2020-07-14 20:58:13,862 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,864 [19] INFO - Information: 0 : 2020-07-14 20:58:13,864 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,864 [19] INFO - Information: 0 : 2020-07-14 20:58:13,864 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,865 [19] INFO - [SetContentCopyImageSizeInPixel] 890 x 668 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,865 [19] INFO - Information: 0 : 2020-07-14 20:58:13,865 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,866 [19] INFO - Information: 0 : 2020-07-14 20:58:13,866 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,867 [19] INFO - Information: 0 : 2020-07-14 20:58:13,867 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,867 [19] INFO - Entering 'ensureContentCopy' for image 493, article 1508, size 890. 2020-07-14 20:58:13,870 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1508, image ID = 493, maxWidthInPixel = 890. 2020-07-14 20:58:13,870 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,870 [19] INFO - Leaving 'ensureContentCopy' for image 493, article 1508, size „890“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,871 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,879 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\796e06d7346f4c8ba97515b06e75558e.jpg“ live from file. 2020-07-14 20:58:13,879 [19] INFO - Returning live-calculated image size for image with ID 493, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,879 [19] INFO - Returning cached image size for image with ID 493, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,880 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,880 [19] INFO - Information: 0 : 2020-07-14 20:58:13,881 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,881 [19] INFO - --------- 2020-07-14 20:58:13,881 [19] INFO - Information: 0 : 2020-07-14 20:58:13,881 [19] INFO - --------- 2020-07-14 20:58:13,881 [19] INFO - function SE637303570938800233() {} SE637303570938800233.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 SE637303570938800233().executeScript(); 2020-07-14 20:58:13,881 [19] INFO - Information: 0 : 2020-07-14 20:58:13,881 [19] INFO - function SE637303570938800233() {} SE637303570938800233.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 SE637303570938800233().executeScript(); 2020-07-14 20:58:13,882 [19] INFO - --------- 2020-07-14 20:58:13,882 [19] INFO - Information: 0 : 2020-07-14 20:58:13,882 [19] INFO - --------- 2020-07-14 20:58:13,886 [19] INFO - Information: 0 : 2020-07-14 20:58:13,886 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,889 [19] INFO - Information: 0 : 2020-07-14 20:58:13,889 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,889 [19] INFO - Information: 0 : 2020-07-14 20:58:13,889 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,890 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,890 [19] INFO - Information: 0 : 2020-07-14 20:58:13,891 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,891 [19] INFO - --------- 2020-07-14 20:58:13,891 [19] INFO - Information: 0 : 2020-07-14 20:58:13,891 [19] INFO - --------- 2020-07-14 20:58:13,891 [19] INFO - function SE637303570938800233() {} SE637303570938800233.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 SE637303570938800233().executeScript(); 2020-07-14 20:58:13,891 [19] INFO - Information: 0 : 2020-07-14 20:58:13,891 [19] INFO - function SE637303570938800233() {} SE637303570938800233.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 SE637303570938800233().executeScript(); 2020-07-14 20:58:13,892 [19] INFO - --------- 2020-07-14 20:58:13,892 [19] INFO - Information: 0 : 2020-07-14 20:58:13,892 [19] INFO - --------- 2020-07-14 20:58:13,892 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2108. 2020-07-14 20:58:13,892 [19] INFO - Information: 0 : 2020-07-14 20:58:13,892 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2108. 2020-07-14 20:58:13,892 [19] INFO - --------- 2020-07-14 20:58:13,892 [19] INFO - Information: 0 : 2020-07-14 20:58:13,892 [19] INFO - --------- 2020-07-14 20:58:13,893 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:13,893 [19] INFO - Information: 0 : 2020-07-14 20:58:13,893 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:13,894 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,894 [19] INFO - Information: 0 : 2020-07-14 20:58:13,895 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,895 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,895 [19] INFO - Information: 0 : 2020-07-14 20:58:13,895 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,895 [19] INFO - --------- 2020-07-14 20:58:13,895 [19] INFO - Information: 0 : 2020-07-14 20:58:13,895 [19] INFO - --------- 2020-07-14 20:58:13,895 [19] INFO - function SE637303570938580220() {} SE637303570938580220.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 SE637303570938580220().executeScript(); 2020-07-14 20:58:13,896 [19] INFO - Information: 0 : 2020-07-14 20:58:13,896 [19] INFO - function SE637303570938580220() {} SE637303570938580220.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 SE637303570938580220().executeScript(); 2020-07-14 20:58:13,896 [19] INFO - --------- 2020-07-14 20:58:13,897 [19] INFO - Information: 0 : 2020-07-14 20:58:13,897 [19] INFO - --------- 2020-07-14 20:58:13,897 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2109. 2020-07-14 20:58:13,897 [19] INFO - Information: 0 : 2020-07-14 20:58:13,897 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2109. 2020-07-14 20:58:13,897 [19] INFO - --------- 2020-07-14 20:58:13,897 [19] INFO - Information: 0 : 2020-07-14 20:58:13,897 [19] INFO - --------- 2020-07-14 20:58:13,898 [19] INFO - Information: 0 : 2020-07-14 20:58:13,898 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,901 [19] INFO - Information: 0 : 2020-07-14 20:58:13,901 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,902 [19] INFO - Information: 0 : 2020-07-14 20:58:13,902 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,902 [19] INFO - Information: 0 : 2020-07-14 20:58:13,903 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,905 [19] INFO - Information: 0 : 2020-07-14 20:58:13,905 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,905 [19] INFO - Information: 0 : 2020-07-14 20:58:13,905 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,906 [19] INFO - Information: 0 : 2020-07-14 20:58:13,906 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,908 [19] INFO - Information: 0 : 2020-07-14 20:58:13,908 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,908 [19] INFO - Information: 0 : 2020-07-14 20:58:13,908 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,910 [19] INFO - Information: 0 : 2020-07-14 20:58:13,910 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,912 [19] INFO - Information: 0 : 2020-07-14 20:58:13,912 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,912 [19] INFO - Information: 0 : 2020-07-14 20:58:13,912 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,913 [19] INFO - Information: 0 : 2020-07-14 20:58:13,913 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,916 [19] INFO - Information: 0 : 2020-07-14 20:58:13,916 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,916 [19] INFO - Information: 0 : 2020-07-14 20:58:13,916 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,917 [19] INFO - Information: 0 : 2020-07-14 20:58:13,917 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,918 [19] INFO - Information: 0 : 2020-07-14 20:58:13,918 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,918 [19] INFO - Information: 0 : 2020-07-14 20:58:13,918 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,921 [19] INFO - Information: 0 : 2020-07-14 20:58:13,921 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,923 [19] INFO - Information: 0 : 2020-07-14 20:58:13,923 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,923 [19] INFO - Information: 0 : 2020-07-14 20:58:13,923 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,925 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,925 [19] INFO - Information: 0 : 2020-07-14 20:58:13,925 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,925 [19] INFO - --------- 2020-07-14 20:58:13,925 [19] INFO - Information: 0 : 2020-07-14 20:58:13,925 [19] INFO - --------- 2020-07-14 20:58:13,925 [19] INFO - function SE637303570939240258() {} SE637303570939240258.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 SE637303570939240258().executeScript(); 2020-07-14 20:58:13,926 [19] INFO - Information: 0 : 2020-07-14 20:58:13,926 [19] INFO - function SE637303570939240258() {} SE637303570939240258.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 SE637303570939240258().executeScript(); 2020-07-14 20:58:13,926 [19] INFO - --------- 2020-07-14 20:58:13,927 [19] INFO - Information: 0 : 2020-07-14 20:58:13,927 [19] INFO - --------- 2020-07-14 20:58:13,928 [19] INFO - Information: 0 : 2020-07-14 20:58:13,928 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,930 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,931 [19] INFO - Information: 0 : 2020-07-14 20:58:13,931 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,931 [19] INFO - Information: 0 : 2020-07-14 20:58:13,931 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,931 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,932 [19] INFO - Information: 0 : 2020-07-14 20:58:13,932 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,933 [19] INFO - Information: 0 : 2020-07-14 20:58:13,933 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,933 [19] INFO - Information: 0 : 2020-07-14 20:58:13,933 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,934 [19] INFO - Entering 'ensureContentCopy' for image 494, article 1509, size 449. 2020-07-14 20:58:13,934 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1509, image ID = 494, maxWidthInPixel = 449. 2020-07-14 20:58:13,934 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,934 [19] INFO - Leaving 'ensureContentCopy' for image 494, article 1509, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,943 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\a3478e5e1cbd43ebbc84852f695f6b61.jpg“ live from file. 2020-07-14 20:58:13,943 [19] INFO - Returning live-calculated image size for image with ID 494, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,943 [19] INFO - Returning cached image size for image with ID 494, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,945 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,945 [19] INFO - Information: 0 : 2020-07-14 20:58:13,945 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,945 [19] INFO - --------- 2020-07-14 20:58:13,945 [19] INFO - Information: 0 : 2020-07-14 20:58:13,945 [19] INFO - --------- 2020-07-14 20:58:13,945 [19] INFO - function SE637303570939450270() {} SE637303570939450270.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 SE637303570939450270().executeScript(); 2020-07-14 20:58:13,946 [19] INFO - Information: 0 : 2020-07-14 20:58:13,946 [19] INFO - function SE637303570939450270() {} SE637303570939450270.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 SE637303570939450270().executeScript(); 2020-07-14 20:58:13,946 [19] INFO - --------- 2020-07-14 20:58:13,946 [19] INFO - Information: 0 : 2020-07-14 20:58:13,946 [19] INFO - --------- 2020-07-14 20:58:13,951 [19] INFO - Information: 0 : 2020-07-14 20:58:13,951 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,953 [19] INFO - Information: 0 : 2020-07-14 20:58:13,953 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,953 [19] INFO - Information: 0 : 2020-07-14 20:58:13,953 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,954 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,954 [19] INFO - Information: 0 : 2020-07-14 20:58:13,955 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,955 [19] INFO - --------- 2020-07-14 20:58:13,955 [19] INFO - Information: 0 : 2020-07-14 20:58:13,955 [19] INFO - --------- 2020-07-14 20:58:13,955 [19] INFO - function SE637303570939450270() {} SE637303570939450270.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 SE637303570939450270().executeScript(); 2020-07-14 20:58:13,955 [19] INFO - Information: 0 : 2020-07-14 20:58:13,955 [19] INFO - function SE637303570939450270() {} SE637303570939450270.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 SE637303570939450270().executeScript(); 2020-07-14 20:58:13,956 [19] INFO - --------- 2020-07-14 20:58:13,956 [19] INFO - Information: 0 : 2020-07-14 20:58:13,956 [19] INFO - --------- 2020-07-14 20:58:13,956 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2110. 2020-07-14 20:58:13,956 [19] INFO - Information: 0 : 2020-07-14 20:58:13,956 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2110. 2020-07-14 20:58:13,956 [19] INFO - --------- 2020-07-14 20:58:13,956 [19] INFO - Information: 0 : 2020-07-14 20:58:13,956 [19] INFO - --------- 2020-07-14 20:58:13,956 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,957 [19] INFO - Information: 0 : 2020-07-14 20:58:13,957 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:13,958 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,958 [19] INFO - Information: 0 : 2020-07-14 20:58:13,958 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:13,959 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,959 [19] INFO - Information: 0 : 2020-07-14 20:58:13,959 [19] INFO - Finished executing the following script: 2020-07-14 20:58:13,959 [19] INFO - --------- 2020-07-14 20:58:13,959 [19] INFO - Information: 0 : 2020-07-14 20:58:13,959 [19] INFO - --------- 2020-07-14 20:58:13,959 [19] INFO - function SE637303570939240258() {} SE637303570939240258.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 SE637303570939240258().executeScript(); 2020-07-14 20:58:13,960 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,962 [19] INFO - --------- 2020-07-14 20:58:13,962 [19] INFO - Information: 0 : 2020-07-14 20:58:13,962 [19] INFO - --------- 2020-07-14 20:58:13,962 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2111. 2020-07-14 20:58:13,962 [19] INFO - Information: 0 : 2020-07-14 20:58:13,962 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2111. 2020-07-14 20:58:13,963 [19] INFO - --------- 2020-07-14 20:58:13,963 [19] INFO - Information: 0 : 2020-07-14 20:58:13,963 [19] INFO - --------- 2020-07-14 20:58:13,963 [19] INFO - Information: 0 : 2020-07-14 20:58:13,964 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,966 [19] INFO - Information: 0 : 2020-07-14 20:58:13,966 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,966 [19] INFO - Information: 0 : 2020-07-14 20:58:13,966 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,969 [19] INFO - Information: 0 : 2020-07-14 20:58:13,969 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,971 [19] INFO - Information: 0 : 2020-07-14 20:58:13,971 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,971 [19] INFO - Information: 0 : 2020-07-14 20:58:13,971 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,973 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,973 [19] INFO - Information: 0 : 2020-07-14 20:58:13,973 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,973 [19] INFO - --------- 2020-07-14 20:58:13,973 [19] INFO - Information: 0 : 2020-07-14 20:58:13,974 [19] INFO - --------- 2020-07-14 20:58:13,974 [19] INFO - function SE637303570939730286() {} SE637303570939730286.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 SE637303570939730286().executeScript(); 2020-07-14 20:58:13,974 [19] INFO - Information: 0 : 2020-07-14 20:58:13,975 [19] INFO - function SE637303570939730286() {} SE637303570939730286.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 SE637303570939730286().executeScript(); 2020-07-14 20:58:13,975 [19] INFO - --------- 2020-07-14 20:58:13,975 [19] INFO - Information: 0 : 2020-07-14 20:58:13,975 [19] INFO - --------- 2020-07-14 20:58:13,977 [19] INFO - Information: 0 : 2020-07-14 20:58:13,977 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,979 [19] INFO - Information: 0 : 2020-07-14 20:58:13,979 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,979 [19] INFO - Information: 0 : 2020-07-14 20:58:13,979 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,980 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:13,980 [19] INFO - Information: 0 : 2020-07-14 20:58:13,980 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:13,982 [19] INFO - Information: 0 : 2020-07-14 20:58:13,982 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,982 [19] INFO - Information: 0 : 2020-07-14 20:58:13,982 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:13,982 [19] INFO - Entering 'ensureContentCopy' for image 495, article 1510, size 449. 2020-07-14 20:58:13,983 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1510, image ID = 495, maxWidthInPixel = 449. 2020-07-14 20:58:13,983 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:13,983 [19] INFO - Leaving 'ensureContentCopy' for image 495, article 1510, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:13,991 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\b61cff5ba5b94885a7304b12615c98bc.jpg“ live from file. 2020-07-14 20:58:13,992 [19] INFO - Returning live-calculated image size for image with ID 495, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,992 [19] INFO - Returning cached image size for image with ID 495, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:13,993 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,993 [19] INFO - Information: 0 : 2020-07-14 20:58:13,994 [19] INFO - About to execute the following script: 2020-07-14 20:58:13,994 [19] INFO - --------- 2020-07-14 20:58:13,994 [19] INFO - Information: 0 : 2020-07-14 20:58:13,994 [19] INFO - --------- 2020-07-14 20:58:13,994 [19] INFO - function SE637303570939930298() {} SE637303570939930298.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 SE637303570939930298().executeScript(); 2020-07-14 20:58:13,994 [19] INFO - Information: 0 : 2020-07-14 20:58:13,994 [19] INFO - function SE637303570939930298() {} SE637303570939930298.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 SE637303570939930298().executeScript(); 2020-07-14 20:58:13,995 [19] INFO - --------- 2020-07-14 20:58:13,995 [19] INFO - Information: 0 : 2020-07-14 20:58:13,995 [19] INFO - --------- 2020-07-14 20:58:13,998 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:13,999 [19] INFO - Information: 0 : 2020-07-14 20:58:14,000 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,002 [19] INFO - Information: 0 : 2020-07-14 20:58:14,002 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,002 [19] INFO - Information: 0 : 2020-07-14 20:58:14,002 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,003 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,003 [19] INFO - Information: 0 : 2020-07-14 20:58:14,004 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,004 [19] INFO - --------- 2020-07-14 20:58:14,004 [19] INFO - Information: 0 : 2020-07-14 20:58:14,004 [19] INFO - --------- 2020-07-14 20:58:14,004 [19] INFO - function SE637303570939930298() {} SE637303570939930298.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 SE637303570939930298().executeScript(); 2020-07-14 20:58:14,004 [19] INFO - Information: 0 : 2020-07-14 20:58:14,004 [19] INFO - function SE637303570939930298() {} SE637303570939930298.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 SE637303570939930298().executeScript(); 2020-07-14 20:58:14,005 [19] INFO - --------- 2020-07-14 20:58:14,005 [19] INFO - Information: 0 : 2020-07-14 20:58:14,005 [19] INFO - --------- 2020-07-14 20:58:14,005 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2112. 2020-07-14 20:58:14,005 [19] INFO - Information: 0 : 2020-07-14 20:58:14,005 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2112. 2020-07-14 20:58:14,005 [19] INFO - --------- 2020-07-14 20:58:14,005 [19] INFO - Information: 0 : 2020-07-14 20:58:14,005 [19] INFO - --------- 2020-07-14 20:58:14,006 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:14,006 [19] INFO - Information: 0 : 2020-07-14 20:58:14,006 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:14,007 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,008 [19] INFO - Information: 0 : 2020-07-14 20:58:14,008 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,008 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,008 [19] INFO - Information: 0 : 2020-07-14 20:58:14,008 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,008 [19] INFO - --------- 2020-07-14 20:58:14,008 [19] INFO - Information: 0 : 2020-07-14 20:58:14,008 [19] INFO - --------- 2020-07-14 20:58:14,008 [19] INFO - function SE637303570939730286() {} SE637303570939730286.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 SE637303570939730286().executeScript(); 2020-07-14 20:58:14,009 [19] INFO - Information: 0 : 2020-07-14 20:58:14,009 [19] INFO - function SE637303570939730286() {} SE637303570939730286.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 SE637303570939730286().executeScript(); 2020-07-14 20:58:14,010 [19] INFO - --------- 2020-07-14 20:58:14,010 [19] INFO - Information: 0 : 2020-07-14 20:58:14,010 [19] INFO - --------- 2020-07-14 20:58:14,010 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2113. 2020-07-14 20:58:14,010 [19] INFO - Information: 0 : 2020-07-14 20:58:14,010 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2113. 2020-07-14 20:58:14,010 [19] INFO - --------- 2020-07-14 20:58:14,010 [19] INFO - Information: 0 : 2020-07-14 20:58:14,010 [19] INFO - --------- 2020-07-14 20:58:14,011 [19] INFO - Information: 0 : 2020-07-14 20:58:14,011 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,014 [19] INFO - Information: 0 : 2020-07-14 20:58:14,014 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,015 [19] INFO - Information: 0 : 2020-07-14 20:58:14,015 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,015 [19] INFO - Information: 0 : 2020-07-14 20:58:14,015 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,018 [19] INFO - Information: 0 : 2020-07-14 20:58:14,018 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,018 [19] INFO - Information: 0 : 2020-07-14 20:58:14,018 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,019 [19] INFO - Information: 0 : 2020-07-14 20:58:14,019 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,020 [19] INFO - Information: 0 : 2020-07-14 20:58:14,021 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,021 [19] INFO - Information: 0 : 2020-07-14 20:58:14,021 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,023 [19] INFO - Information: 0 : 2020-07-14 20:58:14,023 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,024 [19] INFO - Information: 0 : 2020-07-14 20:58:14,025 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,025 [19] INFO - Information: 0 : 2020-07-14 20:58:14,025 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,026 [19] INFO - Information: 0 : 2020-07-14 20:58:14,026 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,028 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,029 [19] INFO - Information: 0 : 2020-07-14 20:58:14,029 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,030 [19] INFO - Information: 0 : 2020-07-14 20:58:14,030 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,031 [19] INFO - Information: 0 : 2020-07-14 20:58:14,031 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,035 [19] INFO - Information: 0 : 2020-07-14 20:58:14,035 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,038 [19] INFO - Information: 0 : 2020-07-14 20:58:14,038 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,038 [19] INFO - Information: 0 : 2020-07-14 20:58:14,038 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,039 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,039 [19] INFO - Information: 0 : 2020-07-14 20:58:14,039 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,039 [19] INFO - --------- 2020-07-14 20:58:14,039 [19] INFO - Information: 0 : 2020-07-14 20:58:14,040 [19] INFO - --------- 2020-07-14 20:58:14,040 [19] INFO - function SE637303570940390324() {} SE637303570940390324.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 SE637303570940390324().executeScript(); 2020-07-14 20:58:14,040 [19] INFO - Information: 0 : 2020-07-14 20:58:14,040 [19] INFO - function SE637303570940390324() {} SE637303570940390324.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 SE637303570940390324().executeScript(); 2020-07-14 20:58:14,040 [19] INFO - --------- 2020-07-14 20:58:14,040 [19] INFO - Information: 0 : 2020-07-14 20:58:14,040 [19] INFO - --------- 2020-07-14 20:58:14,041 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,042 [19] INFO - Information: 0 : 2020-07-14 20:58:14,042 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,042 [19] INFO - --------- 2020-07-14 20:58:14,042 [19] INFO - Information: 0 : 2020-07-14 20:58:14,042 [19] INFO - --------- 2020-07-14 20:58:14,042 [19] INFO - function SE637303570940410325() {} SE637303570940410325.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 SE637303570940410325().executeScript(); 2020-07-14 20:58:14,042 [19] INFO - Information: 0 : 2020-07-14 20:58:14,042 [19] INFO - function SE637303570940410325() {} SE637303570940410325.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 SE637303570940410325().executeScript(); 2020-07-14 20:58:14,043 [19] INFO - --------- 2020-07-14 20:58:14,043 [19] INFO - Information: 0 : 2020-07-14 20:58:14,043 [19] INFO - --------- 2020-07-14 20:58:14,047 [19] INFO - Information: 0 : 2020-07-14 20:58:14,047 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,049 [19] INFO - Information: 0 : 2020-07-14 20:58:14,049 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,050 [19] INFO - Information: 0 : 2020-07-14 20:58:14,050 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,050 [19] INFO - Information: 0 : 2020-07-14 20:58:14,050 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,052 [19] INFO - Information: 0 : 2020-07-14 20:58:14,052 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,052 [19] INFO - Information: 0 : 2020-07-14 20:58:14,052 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,053 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,053 [19] INFO - Information: 0 : 2020-07-14 20:58:14,053 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,053 [19] INFO - --------- 2020-07-14 20:58:14,053 [19] INFO - Information: 0 : 2020-07-14 20:58:14,053 [19] INFO - --------- 2020-07-14 20:58:14,053 [19] INFO - function SE637303570940410325() {} SE637303570940410325.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 SE637303570940410325().executeScript(); 2020-07-14 20:58:14,054 [19] INFO - Information: 0 : 2020-07-14 20:58:14,054 [19] INFO - function SE637303570940410325() {} SE637303570940410325.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 SE637303570940410325().executeScript(); 2020-07-14 20:58:14,054 [19] INFO - --------- 2020-07-14 20:58:14,054 [19] INFO - Information: 0 : 2020-07-14 20:58:14,054 [19] INFO - --------- 2020-07-14 20:58:14,054 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2114. 2020-07-14 20:58:14,054 [19] INFO - Information: 0 : 2020-07-14 20:58:14,054 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2114. 2020-07-14 20:58:14,055 [19] INFO - --------- 2020-07-14 20:58:14,055 [19] INFO - Information: 0 : 2020-07-14 20:58:14,055 [19] INFO - --------- 2020-07-14 20:58:14,055 [19] INFO - [system.partial] „article-begin.html“ 13 ms „“ 2020-07-14 20:58:14,055 [19] INFO - Information: 0 : 2020-07-14 20:58:14,055 [19] INFO - [system.partial] „article-begin.html“ 13 ms „“ 2020-07-14 20:58:14,055 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,056 [19] INFO - Information: 0 : 2020-07-14 20:58:14,056 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,056 [19] INFO - --------- 2020-07-14 20:58:14,056 [19] INFO - Information: 0 : 2020-07-14 20:58:14,056 [19] INFO - --------- 2020-07-14 20:58:14,056 [19] INFO - function SE637303570940550333() {} SE637303570940550333.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 SE637303570940550333().executeScript(); 2020-07-14 20:58:14,056 [19] INFO - Information: 0 : 2020-07-14 20:58:14,056 [19] INFO - function SE637303570940550333() {} SE637303570940550333.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 SE637303570940550333().executeScript(); 2020-07-14 20:58:14,057 [19] INFO - --------- 2020-07-14 20:58:14,057 [19] INFO - Information: 0 : 2020-07-14 20:58:14,057 [19] INFO - --------- 2020-07-14 20:58:14,059 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,060 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,060 [19] INFO - Information: 0 : 2020-07-14 20:58:14,060 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,060 [19] INFO - --------- 2020-07-14 20:58:14,061 [19] INFO - Information: 0 : 2020-07-14 20:58:14,061 [19] INFO - --------- 2020-07-14 20:58:14,061 [19] INFO - function SE637303570940550333() {} SE637303570940550333.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 SE637303570940550333().executeScript(); 2020-07-14 20:58:14,061 [19] INFO - Information: 0 : 2020-07-14 20:58:14,061 [19] INFO - function SE637303570940550333() {} SE637303570940550333.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 SE637303570940550333().executeScript(); 2020-07-14 20:58:14,061 [19] INFO - --------- 2020-07-14 20:58:14,061 [19] INFO - Information: 0 : 2020-07-14 20:58:14,061 [19] INFO - --------- 2020-07-14 20:58:14,061 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2115. 2020-07-14 20:58:14,062 [19] INFO - Information: 0 : 2020-07-14 20:58:14,062 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2115. 2020-07-14 20:58:14,062 [19] INFO - --------- 2020-07-14 20:58:14,062 [19] INFO - Information: 0 : 2020-07-14 20:58:14,062 [19] INFO - --------- 2020-07-14 20:58:14,062 [19] INFO - [system.partial] „article-headline.html“ 7 ms „“ 2020-07-14 20:58:14,063 [19] INFO - Information: 0 : 2020-07-14 20:58:14,063 [19] INFO - [system.partial] „article-headline.html“ 7 ms „“ 2020-07-14 20:58:14,063 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,063 [19] INFO - Information: 0 : 2020-07-14 20:58:14,064 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,064 [19] INFO - --------- 2020-07-14 20:58:14,064 [19] INFO - Information: 0 : 2020-07-14 20:58:14,064 [19] INFO - --------- 2020-07-14 20:58:14,064 [19] INFO - function SE637303570940630338() {} SE637303570940630338.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 SE637303570940630338().executeScript(); 2020-07-14 20:58:14,064 [19] INFO - Information: 0 : 2020-07-14 20:58:14,064 [19] INFO - function SE637303570940630338() {} SE637303570940630338.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 SE637303570940630338().executeScript(); 2020-07-14 20:58:14,065 [19] INFO - --------- 2020-07-14 20:58:14,065 [19] INFO - Information: 0 : 2020-07-14 20:58:14,065 [19] INFO - --------- 2020-07-14 20:58:14,067 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,067 [19] INFO - Information: 0 : 2020-07-14 20:58:14,068 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,068 [19] INFO - --------- 2020-07-14 20:58:14,068 [19] INFO - Information: 0 : 2020-07-14 20:58:14,068 [19] INFO - --------- 2020-07-14 20:58:14,068 [19] INFO - function SE637303570940630338() {} SE637303570940630338.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 SE637303570940630338().executeScript(); 2020-07-14 20:58:14,068 [19] INFO - Information: 0 : 2020-07-14 20:58:14,068 [19] INFO - function SE637303570940630338() {} SE637303570940630338.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 SE637303570940630338().executeScript(); 2020-07-14 20:58:14,068 [19] INFO - --------- 2020-07-14 20:58:14,068 [19] INFO - Information: 0 : 2020-07-14 20:58:14,069 [19] INFO - --------- 2020-07-14 20:58:14,069 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2116. 2020-07-14 20:58:14,069 [19] INFO - Information: 0 : 2020-07-14 20:58:14,069 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2116. 2020-07-14 20:58:14,069 [19] INFO - --------- 2020-07-14 20:58:14,069 [19] INFO - Information: 0 : 2020-07-14 20:58:14,069 [19] INFO - --------- 2020-07-14 20:58:14,069 [19] INFO - [system.partial] „inline-editor-start.html“ 6 ms „“ 2020-07-14 20:58:14,069 [19] INFO - Information: 0 : 2020-07-14 20:58:14,070 [19] INFO - [system.partial] „inline-editor-start.html“ 6 ms „“ 2020-07-14 20:58:14,070 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,070 [19] INFO - Information: 0 : 2020-07-14 20:58:14,070 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,070 [19] INFO - --------- 2020-07-14 20:58:14,070 [19] INFO - Information: 0 : 2020-07-14 20:58:14,071 [19] INFO - --------- 2020-07-14 20:58:14,071 [19] INFO - function SE637303570940700342() {} SE637303570940700342.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 SE637303570940700342().executeScript(); 2020-07-14 20:58:14,071 [19] INFO - Information: 0 : 2020-07-14 20:58:14,071 [19] INFO - function SE637303570940700342() {} SE637303570940700342.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 SE637303570940700342().executeScript(); 2020-07-14 20:58:14,071 [19] INFO - --------- 2020-07-14 20:58:14,071 [19] INFO - Information: 0 : 2020-07-14 20:58:14,071 [19] INFO - --------- 2020-07-14 20:58:14,072 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,072 [19] INFO - Information: 0 : 2020-07-14 20:58:14,072 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,073 [19] INFO - --------- 2020-07-14 20:58:14,073 [19] INFO - Information: 0 : 2020-07-14 20:58:14,073 [19] INFO - --------- 2020-07-14 20:58:14,073 [19] INFO - function SE637303570940700342() {} SE637303570940700342.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 SE637303570940700342().executeScript(); 2020-07-14 20:58:14,073 [19] INFO - Information: 0 : 2020-07-14 20:58:14,073 [19] INFO - function SE637303570940700342() {} SE637303570940700342.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 SE637303570940700342().executeScript(); 2020-07-14 20:58:14,073 [19] INFO - --------- 2020-07-14 20:58:14,073 [19] INFO - Information: 0 : 2020-07-14 20:58:14,073 [19] INFO - --------- 2020-07-14 20:58:14,074 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2117. 2020-07-14 20:58:14,074 [19] INFO - Information: 0 : 2020-07-14 20:58:14,074 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2117. 2020-07-14 20:58:14,074 [19] INFO - --------- 2020-07-14 20:58:14,074 [19] INFO - Information: 0 : 2020-07-14 20:58:14,074 [19] INFO - --------- 2020-07-14 20:58:14,074 [19] INFO - [system.partial] „inline-editor-end.html“ 4 ms „“ 2020-07-14 20:58:14,074 [19] INFO - Information: 0 : 2020-07-14 20:58:14,074 [19] INFO - [system.partial] „inline-editor-end.html“ 4 ms „“ 2020-07-14 20:58:14,075 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,075 [19] INFO - Information: 0 : 2020-07-14 20:58:14,075 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,075 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,075 [19] INFO - Information: 0 : 2020-07-14 20:58:14,075 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,075 [19] INFO - --------- 2020-07-14 20:58:14,075 [19] INFO - Information: 0 : 2020-07-14 20:58:14,076 [19] INFO - --------- 2020-07-14 20:58:14,076 [19] INFO - function SE637303570940390324() {} SE637303570940390324.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 SE637303570940390324().executeScript(); 2020-07-14 20:58:14,076 [19] INFO - Information: 0 : 2020-07-14 20:58:14,076 [19] INFO - function SE637303570940390324() {} SE637303570940390324.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 SE637303570940390324().executeScript(); 2020-07-14 20:58:14,076 [19] INFO - --------- 2020-07-14 20:58:14,076 [19] INFO - Information: 0 : 2020-07-14 20:58:14,076 [19] INFO - --------- 2020-07-14 20:58:14,076 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2118. 2020-07-14 20:58:14,077 [19] INFO - Information: 0 : 2020-07-14 20:58:14,077 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2118. 2020-07-14 20:58:14,077 [19] INFO - --------- 2020-07-14 20:58:14,077 [19] INFO - Information: 0 : 2020-07-14 20:58:14,077 [19] INFO - --------- 2020-07-14 20:58:14,078 [19] INFO - Information: 0 : 2020-07-14 20:58:14,078 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,080 [19] INFO - Information: 0 : 2020-07-14 20:58:14,081 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,081 [19] INFO - Information: 0 : 2020-07-14 20:58:14,081 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,081 [19] INFO - Information: 0 : 2020-07-14 20:58:14,081 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,084 [19] INFO - Information: 0 : 2020-07-14 20:58:14,084 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,084 [19] INFO - Information: 0 : 2020-07-14 20:58:14,084 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,085 [19] INFO - Information: 0 : 2020-07-14 20:58:14,085 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,086 [19] INFO - Information: 0 : 2020-07-14 20:58:14,086 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,087 [19] INFO - Information: 0 : 2020-07-14 20:58:14,087 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,088 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,089 [19] INFO - Information: 0 : 2020-07-14 20:58:14,089 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,091 [19] INFO - Information: 0 : 2020-07-14 20:58:14,091 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,091 [19] INFO - Information: 0 : 2020-07-14 20:58:14,091 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,092 [19] INFO - Information: 0 : 2020-07-14 20:58:14,092 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,094 [19] INFO - Information: 0 : 2020-07-14 20:58:14,094 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,095 [19] INFO - Information: 0 : 2020-07-14 20:58:14,095 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,095 [19] INFO - Information: 0 : 2020-07-14 20:58:14,095 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,096 [19] INFO - Information: 0 : 2020-07-14 20:58:14,097 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,097 [19] INFO - Information: 0 : 2020-07-14 20:58:14,097 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,100 [19] INFO - Information: 0 : 2020-07-14 20:58:14,100 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,102 [19] INFO - Information: 0 : 2020-07-14 20:58:14,102 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,103 [19] INFO - Information: 0 : 2020-07-14 20:58:14,103 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,104 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,104 [19] INFO - Information: 0 : 2020-07-14 20:58:14,104 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,105 [19] INFO - --------- 2020-07-14 20:58:14,105 [19] INFO - Information: 0 : 2020-07-14 20:58:14,105 [19] INFO - --------- 2020-07-14 20:58:14,105 [19] INFO - function SE637303570941040361() {} SE637303570941040361.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 SE637303570941040361().executeScript(); 2020-07-14 20:58:14,106 [19] INFO - Information: 0 : 2020-07-14 20:58:14,106 [19] INFO - function SE637303570941040361() {} SE637303570941040361.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 SE637303570941040361().executeScript(); 2020-07-14 20:58:14,107 [19] INFO - --------- 2020-07-14 20:58:14,107 [19] INFO - Information: 0 : 2020-07-14 20:58:14,107 [19] INFO - --------- 2020-07-14 20:58:14,109 [19] INFO - Information: 0 : 2020-07-14 20:58:14,109 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,111 [19] INFO - Information: 0 : 2020-07-14 20:58:14,111 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,111 [19] INFO - Information: 0 : 2020-07-14 20:58:14,111 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,111 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:14,112 [19] INFO - Information: 0 : 2020-07-14 20:58:14,112 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,114 [19] INFO - Information: 0 : 2020-07-14 20:58:14,114 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,114 [19] INFO - Information: 0 : 2020-07-14 20:58:14,114 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,115 [19] INFO - Entering 'ensureContentCopy' for image 496, article 1511, size 449. 2020-07-14 20:58:14,115 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1511, image ID = 496, maxWidthInPixel = 449. 2020-07-14 20:58:14,115 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:14,115 [19] INFO - Leaving 'ensureContentCopy' for image 496, article 1511, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:14,117 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,124 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\7791d71b3c0848f49abfad11162ce138.jpg“ live from file. 2020-07-14 20:58:14,124 [19] INFO - Returning live-calculated image size for image with ID 496, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,124 [19] INFO - Returning cached image size for image with ID 496, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,125 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,125 [19] INFO - Information: 0 : 2020-07-14 20:58:14,126 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,126 [19] INFO - --------- 2020-07-14 20:58:14,126 [19] INFO - Information: 0 : 2020-07-14 20:58:14,126 [19] INFO - --------- 2020-07-14 20:58:14,126 [19] INFO - function SE637303570941250373() {} SE637303570941250373.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 SE637303570941250373().executeScript(); 2020-07-14 20:58:14,126 [19] INFO - Information: 0 : 2020-07-14 20:58:14,127 [19] INFO - function SE637303570941250373() {} SE637303570941250373.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 SE637303570941250373().executeScript(); 2020-07-14 20:58:14,127 [19] INFO - --------- 2020-07-14 20:58:14,127 [19] INFO - Information: 0 : 2020-07-14 20:58:14,127 [19] INFO - --------- 2020-07-14 20:58:14,131 [19] INFO - Information: 0 : 2020-07-14 20:58:14,131 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,133 [19] INFO - Information: 0 : 2020-07-14 20:58:14,134 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,134 [19] INFO - Information: 0 : 2020-07-14 20:58:14,134 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,135 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,135 [19] INFO - Information: 0 : 2020-07-14 20:58:14,135 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,135 [19] INFO - --------- 2020-07-14 20:58:14,135 [19] INFO - Information: 0 : 2020-07-14 20:58:14,135 [19] INFO - --------- 2020-07-14 20:58:14,135 [19] INFO - function SE637303570941250373() {} SE637303570941250373.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 SE637303570941250373().executeScript(); 2020-07-14 20:58:14,135 [19] INFO - Information: 0 : 2020-07-14 20:58:14,136 [19] INFO - function SE637303570941250373() {} SE637303570941250373.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 SE637303570941250373().executeScript(); 2020-07-14 20:58:14,136 [19] INFO - --------- 2020-07-14 20:58:14,136 [19] INFO - Information: 0 : 2020-07-14 20:58:14,136 [19] INFO - --------- 2020-07-14 20:58:14,136 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2119. 2020-07-14 20:58:14,136 [19] INFO - Information: 0 : 2020-07-14 20:58:14,136 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2119. 2020-07-14 20:58:14,136 [19] INFO - --------- 2020-07-14 20:58:14,136 [19] INFO - Information: 0 : 2020-07-14 20:58:14,137 [19] INFO - --------- 2020-07-14 20:58:14,137 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,137 [19] INFO - Information: 0 : 2020-07-14 20:58:14,137 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,139 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,139 [19] INFO - Information: 0 : 2020-07-14 20:58:14,139 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,139 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,139 [19] INFO - Information: 0 : 2020-07-14 20:58:14,139 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,139 [19] INFO - --------- 2020-07-14 20:58:14,139 [19] INFO - Information: 0 : 2020-07-14 20:58:14,140 [19] INFO - --------- 2020-07-14 20:58:14,140 [19] INFO - function SE637303570941040361() {} SE637303570941040361.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 SE637303570941040361().executeScript(); 2020-07-14 20:58:14,140 [19] INFO - Information: 0 : 2020-07-14 20:58:14,140 [19] INFO - function SE637303570941040361() {} SE637303570941040361.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 SE637303570941040361().executeScript(); 2020-07-14 20:58:14,141 [19] INFO - --------- 2020-07-14 20:58:14,141 [19] INFO - Information: 0 : 2020-07-14 20:58:14,141 [19] INFO - --------- 2020-07-14 20:58:14,141 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2120. 2020-07-14 20:58:14,141 [19] INFO - Information: 0 : 2020-07-14 20:58:14,141 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2120. 2020-07-14 20:58:14,141 [19] INFO - --------- 2020-07-14 20:58:14,141 [19] INFO - Information: 0 : 2020-07-14 20:58:14,141 [19] INFO - --------- 2020-07-14 20:58:14,142 [19] INFO - Information: 0 : 2020-07-14 20:58:14,142 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,144 [19] INFO - Information: 0 : 2020-07-14 20:58:14,144 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,145 [19] INFO - Information: 0 : 2020-07-14 20:58:14,145 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,148 [19] INFO - Information: 0 : 2020-07-14 20:58:14,148 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,150 [19] INFO - Information: 0 : 2020-07-14 20:58:14,150 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,150 [19] INFO - Information: 0 : 2020-07-14 20:58:14,150 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,152 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,152 [19] INFO - Information: 0 : 2020-07-14 20:58:14,152 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,152 [19] INFO - --------- 2020-07-14 20:58:14,152 [19] INFO - Information: 0 : 2020-07-14 20:58:14,153 [19] INFO - --------- 2020-07-14 20:58:14,153 [19] INFO - function SE637303570941520389() {} SE637303570941520389.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 SE637303570941520389().executeScript(); 2020-07-14 20:58:14,153 [19] INFO - Information: 0 : 2020-07-14 20:58:14,154 [19] INFO - function SE637303570941520389() {} SE637303570941520389.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 SE637303570941520389().executeScript(); 2020-07-14 20:58:14,154 [19] INFO - --------- 2020-07-14 20:58:14,154 [19] INFO - Information: 0 : 2020-07-14 20:58:14,154 [19] INFO - --------- 2020-07-14 20:58:14,155 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,156 [19] INFO - Information: 0 : 2020-07-14 20:58:14,156 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,158 [19] INFO - Information: 0 : 2020-07-14 20:58:14,158 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,158 [19] INFO - Information: 0 : 2020-07-14 20:58:14,158 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,159 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:14,159 [19] INFO - Information: 0 : 2020-07-14 20:58:14,159 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,160 [19] INFO - Information: 0 : 2020-07-14 20:58:14,161 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,161 [19] INFO - Information: 0 : 2020-07-14 20:58:14,161 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,161 [19] INFO - Entering 'ensureContentCopy' for image 497, article 1512, size 449. 2020-07-14 20:58:14,162 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1512, image ID = 497, maxWidthInPixel = 449. 2020-07-14 20:58:14,162 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:14,162 [19] INFO - Leaving 'ensureContentCopy' for image 497, article 1512, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:14,170 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\59d1d490b300474281a1fc0386a94342.jpg“ live from file. 2020-07-14 20:58:14,170 [19] INFO - Returning live-calculated image size for image with ID 497, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,171 [19] INFO - Returning cached image size for image with ID 497, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,172 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,172 [19] INFO - Information: 0 : 2020-07-14 20:58:14,172 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,172 [19] INFO - --------- 2020-07-14 20:58:14,173 [19] INFO - Information: 0 : 2020-07-14 20:58:14,173 [19] INFO - --------- 2020-07-14 20:58:14,173 [19] INFO - function SE637303570941720400() {} SE637303570941720400.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 SE637303570941720400().executeScript(); 2020-07-14 20:58:14,173 [19] INFO - Information: 0 : 2020-07-14 20:58:14,173 [19] INFO - function SE637303570941720400() {} SE637303570941720400.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 SE637303570941720400().executeScript(); 2020-07-14 20:58:14,173 [19] INFO - --------- 2020-07-14 20:58:14,173 [19] INFO - Information: 0 : 2020-07-14 20:58:14,173 [19] INFO - --------- 2020-07-14 20:58:14,178 [19] INFO - Information: 0 : 2020-07-14 20:58:14,178 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,180 [19] INFO - Information: 0 : 2020-07-14 20:58:14,180 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,181 [19] INFO - Information: 0 : 2020-07-14 20:58:14,181 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,182 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,182 [19] INFO - Information: 0 : 2020-07-14 20:58:14,182 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,182 [19] INFO - --------- 2020-07-14 20:58:14,182 [19] INFO - Information: 0 : 2020-07-14 20:58:14,182 [19] INFO - --------- 2020-07-14 20:58:14,182 [19] INFO - function SE637303570941720400() {} SE637303570941720400.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 SE637303570941720400().executeScript(); 2020-07-14 20:58:14,183 [19] INFO - Information: 0 : 2020-07-14 20:58:14,183 [19] INFO - function SE637303570941720400() {} SE637303570941720400.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 SE637303570941720400().executeScript(); 2020-07-14 20:58:14,183 [19] INFO - --------- 2020-07-14 20:58:14,183 [19] INFO - Information: 0 : 2020-07-14 20:58:14,183 [19] INFO - --------- 2020-07-14 20:58:14,183 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2121. 2020-07-14 20:58:14,183 [19] INFO - Information: 0 : 2020-07-14 20:58:14,183 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2121. 2020-07-14 20:58:14,183 [19] INFO - --------- 2020-07-14 20:58:14,184 [19] INFO - Information: 0 : 2020-07-14 20:58:14,184 [19] INFO - --------- 2020-07-14 20:58:14,184 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:14,184 [19] INFO - Information: 0 : 2020-07-14 20:58:14,184 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:14,186 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,186 [19] INFO - Information: 0 : 2020-07-14 20:58:14,186 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,186 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,186 [19] INFO - Information: 0 : 2020-07-14 20:58:14,186 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,186 [19] INFO - --------- 2020-07-14 20:58:14,187 [19] INFO - Information: 0 : 2020-07-14 20:58:14,187 [19] INFO - --------- 2020-07-14 20:58:14,187 [19] INFO - function SE637303570941520389() {} SE637303570941520389.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 SE637303570941520389().executeScript(); 2020-07-14 20:58:14,188 [19] INFO - Information: 0 : 2020-07-14 20:58:14,188 [19] INFO - function SE637303570941520389() {} SE637303570941520389.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 SE637303570941520389().executeScript(); 2020-07-14 20:58:14,188 [19] INFO - --------- 2020-07-14 20:58:14,189 [19] INFO - Information: 0 : 2020-07-14 20:58:14,189 [19] INFO - --------- 2020-07-14 20:58:14,189 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2122. 2020-07-14 20:58:14,189 [19] INFO - Information: 0 : 2020-07-14 20:58:14,189 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2122. 2020-07-14 20:58:14,189 [19] INFO - --------- 2020-07-14 20:58:14,189 [19] INFO - Information: 0 : 2020-07-14 20:58:14,189 [19] INFO - --------- 2020-07-14 20:58:14,190 [19] INFO - Information: 0 : 2020-07-14 20:58:14,190 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,193 [19] INFO - Information: 0 : 2020-07-14 20:58:14,193 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,193 [19] INFO - Information: 0 : 2020-07-14 20:58:14,193 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,195 [19] INFO - Information: 0 : 2020-07-14 20:58:14,196 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,198 [19] INFO - Information: 0 : 2020-07-14 20:58:14,198 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,198 [19] INFO - Information: 0 : 2020-07-14 20:58:14,198 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,199 [19] INFO - Information: 0 : 2020-07-14 20:58:14,199 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,201 [19] INFO - Information: 0 : 2020-07-14 20:58:14,201 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,201 [19] INFO - Information: 0 : 2020-07-14 20:58:14,201 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,204 [19] INFO - Information: 0 : 2020-07-14 20:58:14,204 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,205 [19] INFO - Information: 0 : 2020-07-14 20:58:14,205 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,206 [19] INFO - Information: 0 : 2020-07-14 20:58:14,206 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,207 [19] INFO - Information: 0 : 2020-07-14 20:58:14,207 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,209 [19] INFO - Information: 0 : 2020-07-14 20:58:14,209 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,209 [19] INFO - Information: 0 : 2020-07-14 20:58:14,209 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,210 [19] INFO - Information: 0 : 2020-07-14 20:58:14,210 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,211 [19] INFO - Information: 0 : 2020-07-14 20:58:14,211 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,211 [19] INFO - Information: 0 : 2020-07-14 20:58:14,211 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,214 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,215 [19] INFO - Information: 0 : 2020-07-14 20:58:14,215 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,217 [19] INFO - Information: 0 : 2020-07-14 20:58:14,217 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,217 [19] INFO - Information: 0 : 2020-07-14 20:58:14,217 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,219 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,219 [19] INFO - Information: 0 : 2020-07-14 20:58:14,219 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,219 [19] INFO - --------- 2020-07-14 20:58:14,219 [19] INFO - Information: 0 : 2020-07-14 20:58:14,219 [19] INFO - --------- 2020-07-14 20:58:14,219 [19] INFO - function SE637303570942180426() {} SE637303570942180426.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 SE637303570942180426().executeScript(); 2020-07-14 20:58:14,220 [19] INFO - Information: 0 : 2020-07-14 20:58:14,220 [19] INFO - function SE637303570942180426() {} SE637303570942180426.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 SE637303570942180426().executeScript(); 2020-07-14 20:58:14,220 [19] INFO - --------- 2020-07-14 20:58:14,220 [19] INFO - Information: 0 : 2020-07-14 20:58:14,221 [19] INFO - --------- 2020-07-14 20:58:14,222 [19] INFO - Information: 0 : 2020-07-14 20:58:14,222 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,224 [19] INFO - Information: 0 : 2020-07-14 20:58:14,225 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,225 [19] INFO - Information: 0 : 2020-07-14 20:58:14,225 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,225 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:14,226 [19] INFO - Information: 0 : 2020-07-14 20:58:14,226 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,227 [19] INFO - Information: 0 : 2020-07-14 20:58:14,227 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,227 [19] INFO - Information: 0 : 2020-07-14 20:58:14,227 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,228 [19] INFO - Entering 'ensureContentCopy' for image 498, article 1514, size 449. 2020-07-14 20:58:14,228 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1514, image ID = 498, maxWidthInPixel = 449. 2020-07-14 20:58:14,228 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:14,228 [19] INFO - Leaving 'ensureContentCopy' for image 498, article 1514, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:14,237 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\5b87125874954e47a57a04d7aba519bc.jpg“ live from file. 2020-07-14 20:58:14,237 [19] INFO - Returning live-calculated image size for image with ID 498, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,238 [19] INFO - Returning cached image size for image with ID 498, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,239 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,239 [19] INFO - Information: 0 : 2020-07-14 20:58:14,239 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,239 [19] INFO - --------- 2020-07-14 20:58:14,239 [19] INFO - Information: 0 : 2020-07-14 20:58:14,239 [19] INFO - --------- 2020-07-14 20:58:14,240 [19] INFO - function SE637303570942390438() {} SE637303570942390438.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 SE637303570942390438().executeScript(); 2020-07-14 20:58:14,240 [19] INFO - Information: 0 : 2020-07-14 20:58:14,240 [19] INFO - function SE637303570942390438() {} SE637303570942390438.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 SE637303570942390438().executeScript(); 2020-07-14 20:58:14,240 [19] INFO - --------- 2020-07-14 20:58:14,240 [19] INFO - Information: 0 : 2020-07-14 20:58:14,240 [19] INFO - --------- 2020-07-14 20:58:14,243 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,245 [19] INFO - Information: 0 : 2020-07-14 20:58:14,245 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,247 [19] INFO - Information: 0 : 2020-07-14 20:58:14,247 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,247 [19] INFO - Information: 0 : 2020-07-14 20:58:14,247 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,248 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,248 [19] INFO - Information: 0 : 2020-07-14 20:58:14,248 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,248 [19] INFO - --------- 2020-07-14 20:58:14,249 [19] INFO - Information: 0 : 2020-07-14 20:58:14,249 [19] INFO - --------- 2020-07-14 20:58:14,249 [19] INFO - function SE637303570942390438() {} SE637303570942390438.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 SE637303570942390438().executeScript(); 2020-07-14 20:58:14,249 [19] INFO - Information: 0 : 2020-07-14 20:58:14,249 [19] INFO - function SE637303570942390438() {} SE637303570942390438.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 SE637303570942390438().executeScript(); 2020-07-14 20:58:14,249 [19] INFO - --------- 2020-07-14 20:58:14,249 [19] INFO - Information: 0 : 2020-07-14 20:58:14,250 [19] INFO - --------- 2020-07-14 20:58:14,250 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2123. 2020-07-14 20:58:14,250 [19] INFO - Information: 0 : 2020-07-14 20:58:14,250 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2123. 2020-07-14 20:58:14,250 [19] INFO - --------- 2020-07-14 20:58:14,250 [19] INFO - Information: 0 : 2020-07-14 20:58:14,250 [19] INFO - --------- 2020-07-14 20:58:14,250 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,250 [19] INFO - Information: 0 : 2020-07-14 20:58:14,251 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,252 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,253 [19] INFO - Information: 0 : 2020-07-14 20:58:14,253 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,253 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,253 [19] INFO - Information: 0 : 2020-07-14 20:58:14,253 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,253 [19] INFO - --------- 2020-07-14 20:58:14,253 [19] INFO - Information: 0 : 2020-07-14 20:58:14,253 [19] INFO - --------- 2020-07-14 20:58:14,253 [19] INFO - function SE637303570942180426() {} SE637303570942180426.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 SE637303570942180426().executeScript(); 2020-07-14 20:58:14,254 [19] INFO - Information: 0 : 2020-07-14 20:58:14,254 [19] INFO - function SE637303570942180426() {} SE637303570942180426.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 SE637303570942180426().executeScript(); 2020-07-14 20:58:14,255 [19] INFO - --------- 2020-07-14 20:58:14,255 [19] INFO - Information: 0 : 2020-07-14 20:58:14,255 [19] INFO - --------- 2020-07-14 20:58:14,255 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2124. 2020-07-14 20:58:14,255 [19] INFO - Information: 0 : 2020-07-14 20:58:14,255 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2124. 2020-07-14 20:58:14,255 [19] INFO - --------- 2020-07-14 20:58:14,255 [19] INFO - Information: 0 : 2020-07-14 20:58:14,255 [19] INFO - --------- 2020-07-14 20:58:14,256 [19] INFO - Information: 0 : 2020-07-14 20:58:14,256 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,258 [19] INFO - Information: 0 : 2020-07-14 20:58:14,259 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,259 [19] INFO - Information: 0 : 2020-07-14 20:58:14,259 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,262 [19] INFO - Information: 0 : 2020-07-14 20:58:14,262 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,264 [19] INFO - Information: 0 : 2020-07-14 20:58:14,264 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,264 [19] INFO - Information: 0 : 2020-07-14 20:58:14,265 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,266 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,266 [19] INFO - Information: 0 : 2020-07-14 20:58:14,266 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,266 [19] INFO - --------- 2020-07-14 20:58:14,266 [19] INFO - Information: 0 : 2020-07-14 20:58:14,267 [19] INFO - --------- 2020-07-14 20:58:14,267 [19] INFO - function SE637303570942660454() {} SE637303570942660454.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 SE637303570942660454().executeScript(); 2020-07-14 20:58:14,267 [19] INFO - Information: 0 : 2020-07-14 20:58:14,267 [19] INFO - function SE637303570942660454() {} SE637303570942660454.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 SE637303570942660454().executeScript(); 2020-07-14 20:58:14,268 [19] INFO - --------- 2020-07-14 20:58:14,268 [19] INFO - Information: 0 : 2020-07-14 20:58:14,268 [19] INFO - --------- 2020-07-14 20:58:14,270 [19] INFO - Information: 0 : 2020-07-14 20:58:14,270 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,272 [19] INFO - Information: 0 : 2020-07-14 20:58:14,272 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,272 [19] INFO - Information: 0 : 2020-07-14 20:58:14,272 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,272 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:14,273 [19] INFO - Information: 0 : 2020-07-14 20:58:14,273 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,274 [19] INFO - Information: 0 : 2020-07-14 20:58:14,274 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,275 [19] INFO - Information: 0 : 2020-07-14 20:58:14,275 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,275 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,275 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1515, image ID = 499, maxWidthInPixel = 449. 2020-07-14 20:58:14,276 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:14,276 [19] INFO - Leaving 'ensureContentCopy' for image 499, article 1515, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:14,284 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\6218d1a3d5614c859ff06565bbe36629.jpg“ live from file. 2020-07-14 20:58:14,284 [19] INFO - Returning live-calculated image size for image with ID 499, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,284 [19] INFO - Returning cached image size for image with ID 499, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,286 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,286 [19] INFO - Information: 0 : 2020-07-14 20:58:14,286 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,286 [19] INFO - --------- 2020-07-14 20:58:14,286 [19] INFO - Information: 0 : 2020-07-14 20:58:14,286 [19] INFO - --------- 2020-07-14 20:58:14,286 [19] INFO - function SE637303570942860465() {} SE637303570942860465.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 SE637303570942860465().executeScript(); 2020-07-14 20:58:14,286 [19] INFO - Information: 0 : 2020-07-14 20:58:14,287 [19] INFO - function SE637303570942860465() {} SE637303570942860465.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 SE637303570942860465().executeScript(); 2020-07-14 20:58:14,287 [19] INFO - --------- 2020-07-14 20:58:14,287 [19] INFO - Information: 0 : 2020-07-14 20:58:14,287 [19] INFO - --------- 2020-07-14 20:58:14,291 [19] INFO - Information: 0 : 2020-07-14 20:58:14,291 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,294 [19] INFO - Information: 0 : 2020-07-14 20:58:14,294 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,294 [19] INFO - Information: 0 : 2020-07-14 20:58:14,294 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,295 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,295 [19] INFO - Information: 0 : 2020-07-14 20:58:14,295 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,295 [19] INFO - --------- 2020-07-14 20:58:14,295 [19] INFO - Information: 0 : 2020-07-14 20:58:14,295 [19] INFO - --------- 2020-07-14 20:58:14,295 [19] INFO - function SE637303570942860465() {} SE637303570942860465.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 SE637303570942860465().executeScript(); 2020-07-14 20:58:14,296 [19] INFO - Information: 0 : 2020-07-14 20:58:14,296 [19] INFO - function SE637303570942860465() {} SE637303570942860465.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 SE637303570942860465().executeScript(); 2020-07-14 20:58:14,296 [19] INFO - --------- 2020-07-14 20:58:14,296 [19] INFO - Information: 0 : 2020-07-14 20:58:14,296 [19] INFO - --------- 2020-07-14 20:58:14,296 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2125. 2020-07-14 20:58:14,297 [19] INFO - Information: 0 : 2020-07-14 20:58:14,297 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2125. 2020-07-14 20:58:14,297 [19] INFO - --------- 2020-07-14 20:58:14,297 [19] INFO - Information: 0 : 2020-07-14 20:58:14,297 [19] INFO - --------- 2020-07-14 20:58:14,297 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,297 [19] INFO - Information: 0 : 2020-07-14 20:58:14,297 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,299 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,299 [19] INFO - Information: 0 : 2020-07-14 20:58:14,299 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,299 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,299 [19] INFO - Information: 0 : 2020-07-14 20:58:14,299 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,300 [19] INFO - --------- 2020-07-14 20:58:14,300 [19] INFO - Information: 0 : 2020-07-14 20:58:14,300 [19] INFO - --------- 2020-07-14 20:58:14,300 [19] INFO - function SE637303570942660454() {} SE637303570942660454.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 SE637303570942660454().executeScript(); 2020-07-14 20:58:14,300 [19] INFO - Information: 0 : 2020-07-14 20:58:14,301 [19] INFO - function SE637303570942660454() {} SE637303570942660454.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 SE637303570942660454().executeScript(); 2020-07-14 20:58:14,301 [19] INFO - --------- 2020-07-14 20:58:14,301 [19] INFO - Information: 0 : 2020-07-14 20:58:14,301 [19] INFO - --------- 2020-07-14 20:58:14,302 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2126. 2020-07-14 20:58:14,302 [19] INFO - Information: 0 : 2020-07-14 20:58:14,302 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2126. 2020-07-14 20:58:14,302 [19] INFO - --------- 2020-07-14 20:58:14,302 [19] INFO - Information: 0 : 2020-07-14 20:58:14,302 [19] INFO - --------- 2020-07-14 20:58:14,303 [19] INFO - Information: 0 : 2020-07-14 20:58:14,303 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,304 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,306 [19] INFO - Information: 0 : 2020-07-14 20:58:14,306 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,306 [19] INFO - Information: 0 : 2020-07-14 20:58:14,306 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,307 [19] INFO - Information: 0 : 2020-07-14 20:58:14,307 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,309 [19] INFO - Information: 0 : 2020-07-14 20:58:14,309 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,309 [19] INFO - Information: 0 : 2020-07-14 20:58:14,310 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,311 [19] INFO - Information: 0 : 2020-07-14 20:58:14,311 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,312 [19] INFO - Information: 0 : 2020-07-14 20:58:14,312 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,313 [19] INFO - Information: 0 : 2020-07-14 20:58:14,313 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,315 [19] INFO - Information: 0 : 2020-07-14 20:58:14,315 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,317 [19] INFO - Information: 0 : 2020-07-14 20:58:14,317 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,317 [19] INFO - Information: 0 : 2020-07-14 20:58:14,317 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,318 [19] INFO - Information: 0 : 2020-07-14 20:58:14,318 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,320 [19] INFO - Information: 0 : 2020-07-14 20:58:14,320 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,320 [19] INFO - Information: 0 : 2020-07-14 20:58:14,320 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,321 [19] INFO - Information: 0 : 2020-07-14 20:58:14,321 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,322 [19] INFO - Information: 0 : 2020-07-14 20:58:14,322 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,322 [19] INFO - Information: 0 : 2020-07-14 20:58:14,323 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,326 [19] INFO - Information: 0 : 2020-07-14 20:58:14,326 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,328 [19] INFO - Information: 0 : 2020-07-14 20:58:14,328 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,328 [19] INFO - Information: 0 : 2020-07-14 20:58:14,328 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,329 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,330 [19] INFO - Information: 0 : 2020-07-14 20:58:14,330 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,330 [19] INFO - --------- 2020-07-14 20:58:14,330 [19] INFO - Information: 0 : 2020-07-14 20:58:14,330 [19] INFO - --------- 2020-07-14 20:58:14,330 [19] INFO - function SE637303570943290490() {} SE637303570943290490.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 SE637303570943290490().executeScript(); 2020-07-14 20:58:14,331 [19] INFO - Information: 0 : 2020-07-14 20:58:14,331 [19] INFO - function SE637303570943290490() {} SE637303570943290490.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 SE637303570943290490().executeScript(); 2020-07-14 20:58:14,331 [19] INFO - --------- 2020-07-14 20:58:14,332 [19] INFO - Information: 0 : 2020-07-14 20:58:14,332 [19] INFO - --------- 2020-07-14 20:58:14,335 [19] INFO - Information: 0 : 2020-07-14 20:58:14,335 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,338 [19] INFO - Information: 0 : 2020-07-14 20:58:14,338 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,338 [19] INFO - Information: 0 : 2020-07-14 20:58:14,338 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,339 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:14,339 [19] INFO - Information: 0 : 2020-07-14 20:58:14,339 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,341 [19] INFO - Information: 0 : 2020-07-14 20:58:14,341 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,341 [19] INFO - Information: 0 : 2020-07-14 20:58:14,341 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,341 [19] INFO - Entering 'ensureContentCopy' for image 500, article 1516, size 449. 2020-07-14 20:58:14,342 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1516, image ID = 500, maxWidthInPixel = 449. 2020-07-14 20:58:14,342 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:14,342 [19] INFO - Leaving 'ensureContentCopy' for image 500, article 1516, size „449“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:14,344 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,350 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\e0ef3804a6d24ecc8e1103ec8cb52f11.jpg“ live from file. 2020-07-14 20:58:14,350 [19] INFO - Returning live-calculated image size for image with ID 500, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,351 [19] INFO - Returning cached image size for image with ID 500, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,352 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,352 [19] INFO - Information: 0 : 2020-07-14 20:58:14,352 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,352 [19] INFO - --------- 2020-07-14 20:58:14,352 [19] INFO - Information: 0 : 2020-07-14 20:58:14,353 [19] INFO - --------- 2020-07-14 20:58:14,353 [19] INFO - function SE637303570943520503() {} SE637303570943520503.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 SE637303570943520503().executeScript(); 2020-07-14 20:58:14,353 [19] INFO - Information: 0 : 2020-07-14 20:58:14,353 [19] INFO - function SE637303570943520503() {} SE637303570943520503.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 SE637303570943520503().executeScript(); 2020-07-14 20:58:14,353 [19] INFO - --------- 2020-07-14 20:58:14,353 [19] INFO - Information: 0 : 2020-07-14 20:58:14,353 [19] INFO - --------- 2020-07-14 20:58:14,358 [19] INFO - Information: 0 : 2020-07-14 20:58:14,358 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,360 [19] INFO - Information: 0 : 2020-07-14 20:58:14,360 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,360 [19] INFO - Information: 0 : 2020-07-14 20:58:14,360 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,361 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,361 [19] INFO - Information: 0 : 2020-07-14 20:58:14,362 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,362 [19] INFO - --------- 2020-07-14 20:58:14,362 [19] INFO - Information: 0 : 2020-07-14 20:58:14,362 [19] INFO - --------- 2020-07-14 20:58:14,362 [19] INFO - function SE637303570943520503() {} SE637303570943520503.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 SE637303570943520503().executeScript(); 2020-07-14 20:58:14,362 [19] INFO - Information: 0 : 2020-07-14 20:58:14,362 [19] INFO - function SE637303570943520503() {} SE637303570943520503.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 SE637303570943520503().executeScript(); 2020-07-14 20:58:14,363 [19] INFO - --------- 2020-07-14 20:58:14,363 [19] INFO - Information: 0 : 2020-07-14 20:58:14,363 [19] INFO - --------- 2020-07-14 20:58:14,363 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2127. 2020-07-14 20:58:14,363 [19] INFO - Information: 0 : 2020-07-14 20:58:14,363 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2127. 2020-07-14 20:58:14,363 [19] INFO - --------- 2020-07-14 20:58:14,363 [19] INFO - Information: 0 : 2020-07-14 20:58:14,363 [19] INFO - --------- 2020-07-14 20:58:14,364 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,364 [19] INFO - Information: 0 : 2020-07-14 20:58:14,364 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“ 2020-07-14 20:58:14,365 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,366 [19] INFO - Information: 0 : 2020-07-14 20:58:14,366 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,366 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,366 [19] INFO - Information: 0 : 2020-07-14 20:58:14,366 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,366 [19] INFO - --------- 2020-07-14 20:58:14,366 [19] INFO - Information: 0 : 2020-07-14 20:58:14,366 [19] INFO - --------- 2020-07-14 20:58:14,367 [19] INFO - function SE637303570943290490() {} SE637303570943290490.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 SE637303570943290490().executeScript(); 2020-07-14 20:58:14,367 [19] INFO - Information: 0 : 2020-07-14 20:58:14,367 [19] INFO - function SE637303570943290490() {} SE637303570943290490.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 SE637303570943290490().executeScript(); 2020-07-14 20:58:14,368 [19] INFO - --------- 2020-07-14 20:58:14,368 [19] INFO - Information: 0 : 2020-07-14 20:58:14,368 [19] INFO - --------- 2020-07-14 20:58:14,368 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2128. 2020-07-14 20:58:14,368 [19] INFO - Information: 0 : 2020-07-14 20:58:14,368 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2128. 2020-07-14 20:58:14,368 [19] INFO - --------- 2020-07-14 20:58:14,369 [19] INFO - Information: 0 : 2020-07-14 20:58:14,369 [19] INFO - --------- 2020-07-14 20:58:14,369 [19] INFO - Information: 0 : 2020-07-14 20:58:14,369 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,372 [19] INFO - Information: 0 : 2020-07-14 20:58:14,372 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,372 [19] INFO - Information: 0 : 2020-07-14 20:58:14,372 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,374 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,375 [19] INFO - Information: 0 : 2020-07-14 20:58:14,375 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,377 [19] INFO - Information: 0 : 2020-07-14 20:58:14,378 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,378 [19] INFO - Information: 0 : 2020-07-14 20:58:14,378 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,379 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,379 [19] INFO - Information: 0 : 2020-07-14 20:58:14,379 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,379 [19] INFO - --------- 2020-07-14 20:58:14,379 [19] INFO - Information: 0 : 2020-07-14 20:58:14,379 [19] INFO - --------- 2020-07-14 20:58:14,379 [19] INFO - function SE637303570943790518() {} SE637303570943790518.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 SE637303570943790518().executeScript(); 2020-07-14 20:58:14,380 [19] INFO - Information: 0 : 2020-07-14 20:58:14,380 [19] INFO - function SE637303570943790518() {} SE637303570943790518.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 SE637303570943790518().executeScript(); 2020-07-14 20:58:14,380 [19] INFO - --------- 2020-07-14 20:58:14,380 [19] INFO - Information: 0 : 2020-07-14 20:58:14,380 [19] INFO - --------- 2020-07-14 20:58:14,381 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,381 [19] INFO - Information: 0 : 2020-07-14 20:58:14,381 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,382 [19] INFO - --------- 2020-07-14 20:58:14,382 [19] INFO - Information: 0 : 2020-07-14 20:58:14,382 [19] INFO - --------- 2020-07-14 20:58:14,382 [19] INFO - function SE637303570943810520() {} SE637303570943810520.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 SE637303570943810520().executeScript(); 2020-07-14 20:58:14,382 [19] INFO - Information: 0 : 2020-07-14 20:58:14,382 [19] INFO - function SE637303570943810520() {} SE637303570943810520.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 SE637303570943810520().executeScript(); 2020-07-14 20:58:14,382 [19] INFO - --------- 2020-07-14 20:58:14,383 [19] INFO - Information: 0 : 2020-07-14 20:58:14,383 [19] INFO - --------- 2020-07-14 20:58:14,387 [19] INFO - Information: 0 : 2020-07-14 20:58:14,387 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,389 [19] INFO - Information: 0 : 2020-07-14 20:58:14,390 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,390 [19] INFO - Information: 0 : 2020-07-14 20:58:14,390 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,390 [19] INFO - Information: 0 : 2020-07-14 20:58:14,391 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,392 [19] INFO - Information: 0 : 2020-07-14 20:58:14,392 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,392 [19] INFO - Information: 0 : 2020-07-14 20:58:14,392 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,393 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,393 [19] INFO - Information: 0 : 2020-07-14 20:58:14,393 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,393 [19] INFO - --------- 2020-07-14 20:58:14,393 [19] INFO - Information: 0 : 2020-07-14 20:58:14,393 [19] INFO - --------- 2020-07-14 20:58:14,393 [19] INFO - function SE637303570943810520() {} SE637303570943810520.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 SE637303570943810520().executeScript(); 2020-07-14 20:58:14,394 [19] INFO - Information: 0 : 2020-07-14 20:58:14,394 [19] INFO - function SE637303570943810520() {} SE637303570943810520.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 SE637303570943810520().executeScript(); 2020-07-14 20:58:14,394 [19] INFO - --------- 2020-07-14 20:58:14,394 [19] INFO - Information: 0 : 2020-07-14 20:58:14,394 [19] INFO - --------- 2020-07-14 20:58:14,394 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2129. 2020-07-14 20:58:14,394 [19] INFO - Information: 0 : 2020-07-14 20:58:14,395 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2129. 2020-07-14 20:58:14,395 [19] INFO - --------- 2020-07-14 20:58:14,395 [19] INFO - Information: 0 : 2020-07-14 20:58:14,395 [19] INFO - --------- 2020-07-14 20:58:14,395 [19] INFO - [system.partial] „article-begin.html“ 14 ms „“ 2020-07-14 20:58:14,395 [19] INFO - Information: 0 : 2020-07-14 20:58:14,395 [19] INFO - [system.partial] „article-begin.html“ 14 ms „“ 2020-07-14 20:58:14,396 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,396 [19] INFO - Information: 0 : 2020-07-14 20:58:14,396 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,396 [19] INFO - --------- 2020-07-14 20:58:14,396 [19] INFO - Information: 0 : 2020-07-14 20:58:14,396 [19] INFO - --------- 2020-07-14 20:58:14,396 [19] INFO - function SE637303570943960528() {} SE637303570943960528.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 SE637303570943960528().executeScript(); 2020-07-14 20:58:14,396 [19] INFO - Information: 0 : 2020-07-14 20:58:14,397 [19] INFO - function SE637303570943960528() {} SE637303570943960528.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 SE637303570943960528().executeScript(); 2020-07-14 20:58:14,397 [19] INFO - --------- 2020-07-14 20:58:14,397 [19] INFO - Information: 0 : 2020-07-14 20:58:14,397 [19] INFO - --------- 2020-07-14 20:58:14,398 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,399 [19] INFO - Information: 0 : 2020-07-14 20:58:14,399 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,399 [19] INFO - --------- 2020-07-14 20:58:14,399 [19] INFO - Information: 0 : 2020-07-14 20:58:14,399 [19] INFO - --------- 2020-07-14 20:58:14,399 [19] INFO - function SE637303570943960528() {} SE637303570943960528.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 SE637303570943960528().executeScript(); 2020-07-14 20:58:14,399 [19] INFO - Information: 0 : 2020-07-14 20:58:14,399 [19] INFO - function SE637303570943960528() {} SE637303570943960528.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 SE637303570943960528().executeScript(); 2020-07-14 20:58:14,400 [19] INFO - --------- 2020-07-14 20:58:14,400 [19] INFO - Information: 0 : 2020-07-14 20:58:14,400 [19] INFO - --------- 2020-07-14 20:58:14,400 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2130. 2020-07-14 20:58:14,400 [19] INFO - Information: 0 : 2020-07-14 20:58:14,400 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2130. 2020-07-14 20:58:14,400 [19] INFO - --------- 2020-07-14 20:58:14,400 [19] INFO - Information: 0 : 2020-07-14 20:58:14,400 [19] INFO - --------- 2020-07-14 20:58:14,401 [19] INFO - [system.partial] „article-headline.html“ 5 ms „“ 2020-07-14 20:58:14,401 [19] INFO - Information: 0 : 2020-07-14 20:58:14,401 [19] INFO - [system.partial] „article-headline.html“ 5 ms „“ 2020-07-14 20:58:14,401 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,401 [19] INFO - Information: 0 : 2020-07-14 20:58:14,401 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,402 [19] INFO - --------- 2020-07-14 20:58:14,402 [19] INFO - Information: 0 : 2020-07-14 20:58:14,402 [19] INFO - --------- 2020-07-14 20:58:14,402 [19] INFO - function SE637303570944010531() {} SE637303570944010531.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 SE637303570944010531().executeScript(); 2020-07-14 20:58:14,402 [19] INFO - Information: 0 : 2020-07-14 20:58:14,402 [19] INFO - function SE637303570944010531() {} SE637303570944010531.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 SE637303570944010531().executeScript(); 2020-07-14 20:58:14,402 [19] INFO - --------- 2020-07-14 20:58:14,402 [19] INFO - Information: 0 : 2020-07-14 20:58:14,402 [19] INFO - --------- 2020-07-14 20:58:14,404 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,405 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,405 [19] INFO - Information: 0 : 2020-07-14 20:58:14,405 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,405 [19] INFO - --------- 2020-07-14 20:58:14,406 [19] INFO - Information: 0 : 2020-07-14 20:58:14,406 [19] INFO - --------- 2020-07-14 20:58:14,406 [19] INFO - function SE637303570944010531() {} SE637303570944010531.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 SE637303570944010531().executeScript(); 2020-07-14 20:58:14,406 [19] INFO - Information: 0 : 2020-07-14 20:58:14,406 [19] INFO - function SE637303570944010531() {} SE637303570944010531.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 SE637303570944010531().executeScript(); 2020-07-14 20:58:14,406 [19] INFO - --------- 2020-07-14 20:58:14,406 [19] INFO - Information: 0 : 2020-07-14 20:58:14,406 [19] INFO - --------- 2020-07-14 20:58:14,406 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2131. 2020-07-14 20:58:14,407 [19] INFO - Information: 0 : 2020-07-14 20:58:14,407 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2131. 2020-07-14 20:58:14,407 [19] INFO - --------- 2020-07-14 20:58:14,407 [19] INFO - Information: 0 : 2020-07-14 20:58:14,407 [19] INFO - --------- 2020-07-14 20:58:14,407 [19] INFO - [system.partial] „inline-editor-start.html“ 6 ms „“ 2020-07-14 20:58:14,407 [19] INFO - Information: 0 : 2020-07-14 20:58:14,407 [19] INFO - [system.partial] „inline-editor-start.html“ 6 ms „“ 2020-07-14 20:58:14,408 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,409 [19] INFO - Information: 0 : 2020-07-14 20:58:14,409 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,409 [19] INFO - --------- 2020-07-14 20:58:14,409 [19] INFO - Information: 0 : 2020-07-14 20:58:14,409 [19] INFO - --------- 2020-07-14 20:58:14,409 [19] INFO - function SE637303570944080535() {} SE637303570944080535.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 SE637303570944080535().executeScript(); 2020-07-14 20:58:14,410 [19] INFO - Information: 0 : 2020-07-14 20:58:14,410 [19] INFO - function SE637303570944080535() {} SE637303570944080535.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 SE637303570944080535().executeScript(); 2020-07-14 20:58:14,410 [19] INFO - --------- 2020-07-14 20:58:14,410 [19] INFO - Information: 0 : 2020-07-14 20:58:14,410 [19] INFO - --------- 2020-07-14 20:58:14,411 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,411 [19] INFO - Information: 0 : 2020-07-14 20:58:14,411 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,411 [19] INFO - --------- 2020-07-14 20:58:14,411 [19] INFO - Information: 0 : 2020-07-14 20:58:14,412 [19] INFO - --------- 2020-07-14 20:58:14,412 [19] INFO - function SE637303570944080535() {} SE637303570944080535.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 SE637303570944080535().executeScript(); 2020-07-14 20:58:14,412 [19] INFO - Information: 0 : 2020-07-14 20:58:14,412 [19] INFO - function SE637303570944080535() {} SE637303570944080535.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 SE637303570944080535().executeScript(); 2020-07-14 20:58:14,412 [19] INFO - --------- 2020-07-14 20:58:14,412 [19] INFO - Information: 0 : 2020-07-14 20:58:14,412 [19] INFO - --------- 2020-07-14 20:58:14,412 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2132. 2020-07-14 20:58:14,412 [19] INFO - Information: 0 : 2020-07-14 20:58:14,413 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2132. 2020-07-14 20:58:14,413 [19] INFO - --------- 2020-07-14 20:58:14,413 [19] INFO - Information: 0 : 2020-07-14 20:58:14,413 [19] INFO - --------- 2020-07-14 20:58:14,413 [19] INFO - [system.partial] „inline-editor-end.html“ 5 ms „“ 2020-07-14 20:58:14,413 [19] INFO - Information: 0 : 2020-07-14 20:58:14,413 [19] INFO - [system.partial] „inline-editor-end.html“ 5 ms „“ 2020-07-14 20:58:14,414 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,414 [19] INFO - Information: 0 : 2020-07-14 20:58:14,414 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,414 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,414 [19] INFO - Information: 0 : 2020-07-14 20:58:14,414 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,414 [19] INFO - --------- 2020-07-14 20:58:14,414 [19] INFO - Information: 0 : 2020-07-14 20:58:14,414 [19] INFO - --------- 2020-07-14 20:58:14,415 [19] INFO - function SE637303570943790518() {} SE637303570943790518.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 SE637303570943790518().executeScript(); 2020-07-14 20:58:14,415 [19] INFO - Information: 0 : 2020-07-14 20:58:14,415 [19] INFO - function SE637303570943790518() {} SE637303570943790518.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 SE637303570943790518().executeScript(); 2020-07-14 20:58:14,415 [19] INFO - --------- 2020-07-14 20:58:14,415 [19] INFO - Information: 0 : 2020-07-14 20:58:14,415 [19] INFO - --------- 2020-07-14 20:58:14,415 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2133. 2020-07-14 20:58:14,415 [19] INFO - Information: 0 : 2020-07-14 20:58:14,415 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2133. 2020-07-14 20:58:14,416 [19] INFO - --------- 2020-07-14 20:58:14,416 [19] INFO - Information: 0 : 2020-07-14 20:58:14,416 [19] INFO - --------- 2020-07-14 20:58:14,417 [19] INFO - Information: 0 : 2020-07-14 20:58:14,417 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,419 [19] INFO - Information: 0 : 2020-07-14 20:58:14,419 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,419 [19] INFO - Information: 0 : 2020-07-14 20:58:14,419 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,420 [19] INFO - Information: 0 : 2020-07-14 20:58:14,420 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,422 [19] INFO - Information: 0 : 2020-07-14 20:58:14,422 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,422 [19] INFO - Information: 0 : 2020-07-14 20:58:14,422 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,423 [19] INFO - Information: 0 : 2020-07-14 20:58:14,424 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,425 [19] INFO - Information: 0 : 2020-07-14 20:58:14,425 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,425 [19] INFO - Information: 0 : 2020-07-14 20:58:14,426 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,428 [19] INFO - Information: 0 : 2020-07-14 20:58:14,428 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,429 [19] INFO - Information: 0 : 2020-07-14 20:58:14,429 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,430 [19] INFO - Information: 0 : 2020-07-14 20:58:14,430 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,431 [19] INFO - Information: 0 : 2020-07-14 20:58:14,431 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,432 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,433 [19] INFO - Information: 0 : 2020-07-14 20:58:14,433 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,433 [19] INFO - Information: 0 : 2020-07-14 20:58:14,433 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,434 [19] INFO - Information: 0 : 2020-07-14 20:58:14,434 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,435 [19] INFO - Information: 0 : 2020-07-14 20:58:14,435 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,435 [19] INFO - Information: 0 : 2020-07-14 20:58:14,435 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,438 [19] INFO - Information: 0 : 2020-07-14 20:58:14,439 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,440 [19] INFO - Information: 0 : 2020-07-14 20:58:14,440 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,441 [19] INFO - Information: 0 : 2020-07-14 20:58:14,441 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,442 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,442 [19] INFO - Information: 0 : 2020-07-14 20:58:14,442 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,442 [19] INFO - --------- 2020-07-14 20:58:14,443 [19] INFO - Information: 0 : 2020-07-14 20:58:14,443 [19] INFO - --------- 2020-07-14 20:58:14,443 [19] INFO - function SE637303570944420554() {} SE637303570944420554.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 SE637303570944420554().executeScript(); 2020-07-14 20:58:14,443 [19] INFO - Information: 0 : 2020-07-14 20:58:14,444 [19] INFO - function SE637303570944420554() {} SE637303570944420554.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 SE637303570944420554().executeScript(); 2020-07-14 20:58:14,444 [19] INFO - --------- 2020-07-14 20:58:14,444 [19] INFO - Information: 0 : 2020-07-14 20:58:14,444 [19] INFO - --------- 2020-07-14 20:58:14,446 [19] INFO - Information: 0 : 2020-07-14 20:58:14,446 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,448 [19] INFO - Information: 0 : 2020-07-14 20:58:14,448 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,448 [19] INFO - Information: 0 : 2020-07-14 20:58:14,448 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,448 [19] INFO - [SetContentCopyImageSizeInPixel] 890 x 668 pixels for output flavor „Output“. Laden von Bild-Asset. 2020-07-14 20:58:14,449 [19] INFO - Information: 0 : 2020-07-14 20:58:14,449 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,450 [19] INFO - Information: 0 : 2020-07-14 20:58:14,450 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,451 [19] INFO - Information: 0 : 2020-07-14 20:58:14,451 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,451 [19] INFO - Entering 'ensureContentCopy' for image 506, article 1518, size 890. 2020-07-14 20:58:14,452 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1518, image ID = 506, maxWidthInPixel = 890. 2020-07-14 20:58:14,452 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.). 2020-07-14 20:58:14,452 [19] INFO - Leaving 'ensureContentCopy' for image 506, article 1518, size „890“, reason = not created (Never create content copy for preview.) 2020-07-14 20:58:14,461 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,462 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\6610810121204a569412cb8eddc87ff7.jpg“ live from file. 2020-07-14 20:58:14,462 [19] INFO - Returning live-calculated image size for image with ID 506, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,462 [19] INFO - Returning cached image size for image with ID 506, file version „ContentCopy“ of 2048×1536 pixels. 2020-07-14 20:58:14,463 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,463 [19] INFO - Information: 0 : 2020-07-14 20:58:14,463 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,464 [19] INFO - --------- 2020-07-14 20:58:14,464 [19] INFO - Information: 0 : 2020-07-14 20:58:14,464 [19] INFO - --------- 2020-07-14 20:58:14,464 [19] INFO - function SE637303570944630566() {} SE637303570944630566.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 SE637303570944630566().executeScript(); 2020-07-14 20:58:14,464 [19] INFO - Information: 0 : 2020-07-14 20:58:14,464 [19] INFO - function SE637303570944630566() {} SE637303570944630566.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 SE637303570944630566().executeScript(); 2020-07-14 20:58:14,464 [19] INFO - --------- 2020-07-14 20:58:14,465 [19] INFO - Information: 0 : 2020-07-14 20:58:14,465 [19] INFO - --------- 2020-07-14 20:58:14,469 [19] INFO - Information: 0 : 2020-07-14 20:58:14,469 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,472 [19] INFO - Information: 0 : 2020-07-14 20:58:14,472 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,472 [19] INFO - Information: 0 : 2020-07-14 20:58:14,472 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,473 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,473 [19] INFO - Information: 0 : 2020-07-14 20:58:14,473 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,473 [19] INFO - --------- 2020-07-14 20:58:14,473 [19] INFO - Information: 0 : 2020-07-14 20:58:14,474 [19] INFO - --------- 2020-07-14 20:58:14,474 [19] INFO - function SE637303570944630566() {} SE637303570944630566.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 SE637303570944630566().executeScript(); 2020-07-14 20:58:14,474 [19] INFO - Information: 0 : 2020-07-14 20:58:14,474 [19] INFO - function SE637303570944630566() {} SE637303570944630566.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 SE637303570944630566().executeScript(); 2020-07-14 20:58:14,474 [19] INFO - --------- 2020-07-14 20:58:14,475 [19] INFO - Information: 0 : 2020-07-14 20:58:14,475 [19] INFO - --------- 2020-07-14 20:58:14,475 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2134. 2020-07-14 20:58:14,475 [19] INFO - Information: 0 : 2020-07-14 20:58:14,475 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2134. 2020-07-14 20:58:14,475 [19] INFO - --------- 2020-07-14 20:58:14,475 [19] INFO - Information: 0 : 2020-07-14 20:58:14,475 [19] INFO - --------- 2020-07-14 20:58:14,475 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:14,476 [19] INFO - Information: 0 : 2020-07-14 20:58:14,476 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“ 2020-07-14 20:58:14,478 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,479 [19] INFO - Information: 0 : 2020-07-14 20:58:14,479 [19] INFO - [system.partial] „article-end.html“ 0 ms „“ 2020-07-14 20:58:14,479 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,479 [19] INFO - Information: 0 : 2020-07-14 20:58:14,479 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,479 [19] INFO - --------- 2020-07-14 20:58:14,480 [19] INFO - Information: 0 : 2020-07-14 20:58:14,480 [19] INFO - --------- 2020-07-14 20:58:14,480 [19] INFO - function SE637303570944420554() {} SE637303570944420554.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 SE637303570944420554().executeScript(); 2020-07-14 20:58:14,480 [19] INFO - Information: 0 : 2020-07-14 20:58:14,481 [19] INFO - function SE637303570944420554() {} SE637303570944420554.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 SE637303570944420554().executeScript(); 2020-07-14 20:58:14,481 [19] INFO - --------- 2020-07-14 20:58:14,481 [19] INFO - Information: 0 : 2020-07-14 20:58:14,481 [19] INFO - --------- 2020-07-14 20:58:14,481 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2135. 2020-07-14 20:58:14,481 [19] INFO - Information: 0 : 2020-07-14 20:58:14,482 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2135. 2020-07-14 20:58:14,482 [19] INFO - --------- 2020-07-14 20:58:14,482 [19] INFO - Information: 0 : 2020-07-14 20:58:14,482 [19] INFO - --------- 2020-07-14 20:58:14,483 [19] INFO - Information: 0 : 2020-07-14 20:58:14,483 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,485 [19] INFO - Information: 0 : 2020-07-14 20:58:14,486 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,486 [19] INFO - Information: 0 : 2020-07-14 20:58:14,486 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,486 [19] INFO - Information: 0 : 2020-07-14 20:58:14,486 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,489 [19] INFO - Information: 0 : 2020-07-14 20:58:14,489 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,489 [19] INFO - Information: 0 : 2020-07-14 20:58:14,489 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,490 [19] INFO - Information: 0 : 2020-07-14 20:58:14,490 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,492 [19] INFO - Information: 0 : 2020-07-14 20:58:14,492 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,492 [19] INFO - Information: 0 : 2020-07-14 20:58:14,492 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,494 [19] INFO - Information: 0 : 2020-07-14 20:58:14,494 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,496 [19] INFO - Information: 0 : 2020-07-14 20:58:14,496 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,496 [19] INFO - Information: 0 : 2020-07-14 20:58:14,497 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,497 [Zeta Producer 15 main thread] INFO - [CheckEnqueuePing] Ping is not allowed because of reason „Server backend mode is not active.“. 2020-07-14 20:58:14,498 [19] INFO - Information: 0 : 2020-07-14 20:58:14,498 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,500 [19] INFO - Information: 0 : 2020-07-14 20:58:14,500 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,500 [19] INFO - Information: 0 : 2020-07-14 20:58:14,500 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,501 [19] INFO - Information: 0 : 2020-07-14 20:58:14,501 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,503 [19] INFO - Information: 0 : 2020-07-14 20:58:14,503 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,503 [19] INFO - Information: 0 : 2020-07-14 20:58:14,503 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,506 [19] INFO - Information: 0 : 2020-07-14 20:58:14,506 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,508 [19] INFO - Information: 0 : 2020-07-14 20:58:14,508 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,509 [19] INFO - Information: 0 : 2020-07-14 20:58:14,509 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,510 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,510 [19] INFO - Information: 0 : 2020-07-14 20:58:14,510 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,510 [19] INFO - --------- 2020-07-14 20:58:14,510 [19] INFO - Information: 0 : 2020-07-14 20:58:14,510 [19] INFO - --------- 2020-07-14 20:58:14,510 [19] INFO - function SE637303570945100593() {} SE637303570945100593.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 SE637303570945100593().executeScript(); 2020-07-14 20:58:14,510 [19] INFO - Information: 0 : 2020-07-14 20:58:14,511 [19] INFO - function SE637303570945100593() {} SE637303570945100593.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 SE637303570945100593().executeScript(); 2020-07-14 20:58:14,511 [19] INFO - --------- 2020-07-14 20:58:14,511 [19] INFO - Information: 0 : 2020-07-14 20:58:14,511 [19] INFO - --------- 2020-07-14 20:58:14,512 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,512 [19] INFO - Information: 0 : 2020-07-14 20:58:14,512 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,513 [19] INFO - --------- 2020-07-14 20:58:14,513 [19] INFO - Information: 0 : 2020-07-14 20:58:14,513 [19] INFO - --------- 2020-07-14 20:58:14,513 [19] INFO - function SE637303570945120595() {} SE637303570945120595.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 SE637303570945120595().executeScript(); 2020-07-14 20:58:14,513 [19] INFO - Information: 0 : 2020-07-14 20:58:14,513 [19] INFO - function SE637303570945120595() {} SE637303570945120595.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 SE637303570945120595().executeScript(); 2020-07-14 20:58:14,514 [19] INFO - --------- 2020-07-14 20:58:14,514 [19] INFO - Information: 0 : 2020-07-14 20:58:14,514 [19] INFO - --------- 2020-07-14 20:58:14,522 [19] INFO - Information: 0 : 2020-07-14 20:58:14,522 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,524 [19] INFO - Information: 0 : 2020-07-14 20:58:14,524 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,524 [19] INFO - Information: 0 : 2020-07-14 20:58:14,525 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,525 [19] INFO - Information: 0 : 2020-07-14 20:58:14,525 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 (''). 2020-07-14 20:58:14,527 [19] INFO - Information: 0 : 2020-07-14 20:58:14,527 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,528 [19] INFO - Information: 0 : 2020-07-14 20:58:14,528 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 (''). 2020-07-14 20:58:14,528 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,528 [19] INFO - Information: 0 : 2020-07-14 20:58:14,528 [19] INFO - Finished executing the following script: 2020-07-14 20:58:14,529 [19] INFO - --------- 2020-07-14 20:58:14,529 [19] INFO - Information: 0 : 2020-07-14 20:58:14,529 [19] INFO - --------- 2020-07-14 20:58:14,529 [19] INFO - function SE637303570945120595() {} SE637303570945120595.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 SE637303570945120595().executeScript(); 2020-07-14 20:58:14,529 [19] INFO - Information: 0 : 2020-07-14 20:58:14,529 [19] INFO - function SE637303570945120595() {} SE637303570945120595.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 SE637303570945120595().executeScript(); 2020-07-14 20:58:14,530 [19] INFO - --------- 2020-07-14 20:58:14,530 [19] INFO - Information: 0 : 2020-07-14 20:58:14,530 [19] INFO - --------- 2020-07-14 20:58:14,530 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2136. 2020-07-14 20:58:14,530 [19] INFO - Information: 0 : 2020-07-14 20:58:14,530 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2136. 2020-07-14 20:58:14,530 [19] INFO - --------- 2020-07-14 20:58:14,530 [19] INFO - Information: 0 : 2020-07-14 20:58:14,531 [19] INFO - --------- 2020-07-14 20:58:14,531 [19] INFO - [system.partial] „article-begin.html“ 18 ms „“ 2020-07-14 20:58:14,531 [19] INFO - Information: 0 : 2020-07-14 20:58:14,531 [19] INFO - [system.partial] „article-begin.html“ 18 ms „“ 2020-07-14 20:58:14,531 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,531 [19] INFO - Information: 0 : 2020-07-14 20:58:14,531 [19] INFO - About to execute the following script: 2020-07-14 20:58:14,532 [19] INFO - --------- 2020-07-14 20:58:14,532 [19] INFO - Information: 0 : 2020-07-14 20:58:14,532 [19] INFO - --------- 2020-07-14 20:58:14,532 [19] INFO - function SE637303570945310605() {} SE637303570945310605.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 SE637303570945310605().executeScript(); 2020-07-14 20:58:14,532 [19] INFO - Information: 0 : 2020-07-14 20:58:14,532 [19] INFO - function SE637303570945310605() {} SE637303570945310605.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 SE637303570945310605().executeScript(); ----------------------------------------