\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 SE637303570865736054().executeScript();
2020-07-14 20:58:06,585 [19] INFO - ---------
2020-07-14 20:58:06,586 [19] INFO - Information: 0 :
2020-07-14 20:58:06,586 [19] INFO - ---------
2020-07-14 20:58:06,586 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1984.
2020-07-14 20:58:06,586 [19] INFO - Information: 0 :
2020-07-14 20:58:06,586 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1984.
2020-07-14 20:58:06,586 [19] INFO - ---------
2020-07-14 20:58:06,586 [19] INFO - Information: 0 :
2020-07-14 20:58:06,586 [19] INFO - ---------
2020-07-14 20:58:06,586 [19] INFO - [system.partial] „article-begin.html“ 13 ms „“
2020-07-14 20:58:06,587 [19] INFO - Information: 0 :
2020-07-14 20:58:06,587 [19] INFO - [system.partial] „article-begin.html“ 13 ms „“
2020-07-14 20:58:06,588 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,588 [19] INFO - Information: 0 :
2020-07-14 20:58:06,588 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,588 [19] INFO - ---------
2020-07-14 20:58:06,588 [19] INFO - Information: 0 :
2020-07-14 20:58:06,588 [19] INFO - ---------
2020-07-14 20:58:06,588 [19] INFO - function SE637303570865886063() {}
SE637303570865886063.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("");
context.write( article.headlineLevel );
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 SE637303570865886063().executeScript();
2020-07-14 20:58:06,589 [19] INFO - Information: 0 :
2020-07-14 20:58:06,589 [19] INFO - function SE637303570865886063() {}
SE637303570865886063.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("");
context.write( article.headlineLevel );
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 SE637303570865886063().executeScript();
2020-07-14 20:58:06,589 [19] INFO - ---------
2020-07-14 20:58:06,589 [19] INFO - Information: 0 :
2020-07-14 20:58:06,589 [19] INFO - ---------
2020-07-14 20:58:06,591 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,591 [19] INFO - Information: 0 :
2020-07-14 20:58:06,591 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,591 [19] INFO - ---------
2020-07-14 20:58:06,591 [19] INFO - Information: 0 :
2020-07-14 20:58:06,591 [19] INFO - ---------
2020-07-14 20:58:06,591 [19] INFO - function SE637303570865886063() {}
SE637303570865886063.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("");
context.write( article.headlineLevel );
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 SE637303570865886063().executeScript();
2020-07-14 20:58:06,592 [19] INFO - Information: 0 :
2020-07-14 20:58:06,592 [19] INFO - function SE637303570865886063() {}
SE637303570865886063.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("");
context.write( article.headlineLevel );
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 SE637303570865886063().executeScript();
2020-07-14 20:58:06,592 [19] INFO - ---------
2020-07-14 20:58:06,592 [19] INFO - Information: 0 :
2020-07-14 20:58:06,592 [19] INFO - ---------
2020-07-14 20:58:06,592 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1985.
2020-07-14 20:58:06,592 [19] INFO - Information: 0 :
2020-07-14 20:58:06,592 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1985.
2020-07-14 20:58:06,592 [19] INFO - ---------
2020-07-14 20:58:06,593 [19] INFO - Information: 0 :
2020-07-14 20:58:06,593 [19] INFO - ---------
2020-07-14 20:58:06,593 [19] INFO - [system.partial] „article-headline.html“ 5 ms „“
2020-07-14 20:58:06,593 [19] INFO - Information: 0 :
2020-07-14 20:58:06,593 [19] INFO - [system.partial] „article-headline.html“ 5 ms „“
2020-07-14 20:58:06,593 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,593 [19] INFO - Information: 0 :
2020-07-14 20:58:06,593 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,594 [19] INFO - ---------
2020-07-14 20:58:06,594 [19] INFO - Information: 0 :
2020-07-14 20:58:06,594 [19] INFO - ---------
2020-07-14 20:58:06,594 [19] INFO - function SE637303570865936065() {}
SE637303570865936065.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 SE637303570865936065().executeScript();
2020-07-14 20:58:06,594 [19] INFO - Information: 0 :
2020-07-14 20:58:06,594 [19] INFO - function SE637303570865936065() {}
SE637303570865936065.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 SE637303570865936065().executeScript();
2020-07-14 20:58:06,594 [19] INFO - ---------
2020-07-14 20:58:06,594 [19] INFO - Information: 0 :
2020-07-14 20:58:06,594 [19] INFO - ---------
2020-07-14 20:58:06,597 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,598 [19] INFO - Information: 0 :
2020-07-14 20:58:06,598 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,598 [19] INFO - ---------
2020-07-14 20:58:06,598 [19] INFO - Information: 0 :
2020-07-14 20:58:06,598 [19] INFO - ---------
2020-07-14 20:58:06,598 [19] INFO - function SE637303570865936065() {}
SE637303570865936065.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 SE637303570865936065().executeScript();
2020-07-14 20:58:06,598 [19] INFO - Information: 0 :
2020-07-14 20:58:06,598 [19] INFO - function SE637303570865936065() {}
SE637303570865936065.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 SE637303570865936065().executeScript();
2020-07-14 20:58:06,599 [19] INFO - ---------
2020-07-14 20:58:06,599 [19] INFO - Information: 0 :
2020-07-14 20:58:06,599 [19] INFO - ---------
2020-07-14 20:58:06,599 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1986.
2020-07-14 20:58:06,599 [19] INFO - Information: 0 :
2020-07-14 20:58:06,599 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1986.
2020-07-14 20:58:06,599 [19] INFO - ---------
2020-07-14 20:58:06,599 [19] INFO - Information: 0 :
2020-07-14 20:58:06,599 [19] INFO - ---------
2020-07-14 20:58:06,599 [19] INFO - [system.partial] „inline-editor-start.html“ 6 ms „“
2020-07-14 20:58:06,600 [19] INFO - Information: 0 :
2020-07-14 20:58:06,600 [19] INFO - [system.partial] „inline-editor-start.html“ 6 ms „“
2020-07-14 20:58:06,600 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,600 [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:06,600 [19] INFO - ---------
2020-07-14 20:58:06,600 [19] INFO - Information: 0 :
2020-07-14 20:58:06,600 [19] INFO - ---------
2020-07-14 20:58:06,601 [19] INFO - function SE637303570866006069() {}
SE637303570866006069.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 SE637303570866006069().executeScript();
2020-07-14 20:58:06,601 [19] INFO - Information: 0 :
2020-07-14 20:58:06,601 [19] INFO - function SE637303570866006069() {}
SE637303570866006069.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 SE637303570866006069().executeScript();
2020-07-14 20:58:06,601 [19] INFO - ---------
2020-07-14 20:58:06,601 [19] INFO - Information: 0 :
2020-07-14 20:58:06,601 [19] INFO - ---------
2020-07-14 20:58:06,602 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,602 [19] INFO - Information: 0 :
2020-07-14 20:58:06,602 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,602 [19] INFO - ---------
2020-07-14 20:58:06,603 [19] INFO - Information: 0 :
2020-07-14 20:58:06,603 [19] INFO - ---------
2020-07-14 20:58:06,603 [19] INFO - function SE637303570866006069() {}
SE637303570866006069.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 SE637303570866006069().executeScript();
2020-07-14 20:58:06,603 [19] INFO - Information: 0 :
2020-07-14 20:58:06,603 [19] INFO - function SE637303570866006069() {}
SE637303570866006069.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 SE637303570866006069().executeScript();
2020-07-14 20:58:06,603 [19] INFO - ---------
2020-07-14 20:58:06,603 [19] INFO - Information: 0 :
2020-07-14 20:58:06,603 [19] INFO - ---------
2020-07-14 20:58:06,603 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1987.
2020-07-14 20:58:06,604 [19] INFO - Information: 0 :
2020-07-14 20:58:06,604 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1987.
2020-07-14 20:58:06,604 [19] INFO - ---------
2020-07-14 20:58:06,604 [19] INFO - Information: 0 :
2020-07-14 20:58:06,604 [19] INFO - ---------
2020-07-14 20:58:06,604 [19] INFO - [system.partial] „inline-editor-end.html“ 4 ms „“
2020-07-14 20:58:06,604 [19] INFO - Information: 0 :
2020-07-14 20:58:06,604 [19] INFO - [system.partial] „inline-editor-end.html“ 4 ms „“
2020-07-14 20:58:06,604 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,605 [19] INFO - Information: 0 :
2020-07-14 20:58:06,605 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,605 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,605 [19] INFO - Information: 0 :
2020-07-14 20:58:06,605 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,605 [19] INFO - ---------
2020-07-14 20:58:06,605 [19] INFO - Information: 0 :
2020-07-14 20:58:06,605 [19] INFO - ---------
2020-07-14 20:58:06,606 [19] INFO - function SE637303570865686051() {}
SE637303570865686051.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 SE637303570865686051().executeScript();
2020-07-14 20:58:06,606 [19] INFO - Information: 0 :
2020-07-14 20:58:06,606 [19] INFO - function SE637303570865686051() {}
SE637303570865686051.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 SE637303570865686051().executeScript();
2020-07-14 20:58:06,606 [19] INFO - ---------
2020-07-14 20:58:06,606 [19] INFO - Information: 0 :
2020-07-14 20:58:06,606 [19] INFO - ---------
2020-07-14 20:58:06,606 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1988.
2020-07-14 20:58:06,606 [19] INFO - Information: 0 :
2020-07-14 20:58:06,606 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1988.
2020-07-14 20:58:06,607 [19] INFO - ---------
2020-07-14 20:58:06,607 [19] INFO - Information: 0 :
2020-07-14 20:58:06,607 [19] INFO - ---------
2020-07-14 20:58:06,608 [19] INFO - Information: 0 :
2020-07-14 20:58:06,608 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,610 [19] INFO - Information: 0 :
2020-07-14 20:58:06,611 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,611 [19] INFO - Information: 0 :
2020-07-14 20:58:06,611 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,611 [19] INFO - Information: 0 :
2020-07-14 20:58:06,612 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,614 [19] INFO - Information: 0 :
2020-07-14 20:58:06,614 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,614 [19] INFO - Information: 0 :
2020-07-14 20:58:06,614 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,615 [19] INFO - Information: 0 :
2020-07-14 20:58:06,615 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,617 [19] INFO - Information: 0 :
2020-07-14 20:58:06,617 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,617 [19] INFO - Information: 0 :
2020-07-14 20:58:06,617 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,619 [19] INFO - Information: 0 :
2020-07-14 20:58:06,619 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,621 [19] INFO - Information: 0 :
2020-07-14 20:58:06,622 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,622 [19] INFO - Information: 0 :
2020-07-14 20:58:06,622 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,623 [19] INFO - Information: 0 :
2020-07-14 20:58:06,623 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,625 [19] INFO - Information: 0 :
2020-07-14 20:58:06,625 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,625 [19] INFO - Information: 0 :
2020-07-14 20:58:06,625 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,626 [19] INFO - Information: 0 :
2020-07-14 20:58:06,626 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,627 [19] INFO - Information: 0 :
2020-07-14 20:58:06,627 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,627 [19] INFO - Information: 0 :
2020-07-14 20:58:06,628 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,631 [19] INFO - Information: 0 :
2020-07-14 20:58:06,631 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,632 [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:06,633 [19] INFO - Information: 0 :
2020-07-14 20:58:06,633 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,633 [19] INFO - Information: 0 :
2020-07-14 20:58:06,633 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,635 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,635 [19] INFO - Information: 0 :
2020-07-14 20:58:06,635 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,635 [19] INFO - ---------
2020-07-14 20:58:06,635 [19] INFO - Information: 0 :
2020-07-14 20:58:06,635 [19] INFO - ---------
2020-07-14 20:58:06,635 [19] INFO - function SE637303570866346089() {}
SE637303570866346089.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 SE637303570866346089().executeScript();
2020-07-14 20:58:06,636 [19] INFO - Information: 0 :
2020-07-14 20:58:06,636 [19] INFO - function SE637303570866346089() {}
SE637303570866346089.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 SE637303570866346089().executeScript();
2020-07-14 20:58:06,636 [19] INFO - ---------
2020-07-14 20:58:06,637 [19] INFO - Information: 0 :
2020-07-14 20:58:06,637 [19] INFO - ---------
2020-07-14 20:58:06,639 [19] INFO - Information: 0 :
2020-07-14 20:58:06,639 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,641 [19] INFO - Information: 0 :
2020-07-14 20:58:06,642 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,642 [19] INFO - Information: 0 :
2020-07-14 20:58:06,642 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,642 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:06,643 [19] INFO - Information: 0 :
2020-07-14 20:58:06,643 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,644 [19] INFO - Information: 0 :
2020-07-14 20:58:06,644 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,644 [19] INFO - Information: 0 :
2020-07-14 20:58:06,644 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,645 [19] INFO - Entering 'ensureContentCopy' for image 438, article 1457, size 449.
2020-07-14 20:58:06,646 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1457, image ID = 438, maxWidthInPixel = 449.
2020-07-14 20:58:06,646 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.).
2020-07-14 20:58:06,646 [19] INFO - Leaving 'ensureContentCopy' for image 438, article 1457, size „449“, reason = not created (Never create content copy for preview.)
2020-07-14 20:58:06,660 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\fd6386b40bd44eb6888f1379ecd451be.jpg“ live from file.
2020-07-14 20:58:06,661 [19] INFO - Returning live-calculated image size for image with ID 438, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:06,661 [19] INFO - Returning cached image size for image with ID 438, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:06,661 [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:06,662 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,662 [19] INFO - Information: 0 :
2020-07-14 20:58:06,662 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,663 [19] INFO - ---------
2020-07-14 20:58:06,663 [19] INFO - Information: 0 :
2020-07-14 20:58:06,663 [19] INFO - ---------
2020-07-14 20:58:06,663 [19] INFO - function SE637303570866626105() {}
SE637303570866626105.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 SE637303570866626105().executeScript();
2020-07-14 20:58:06,663 [19] INFO - Information: 0 :
2020-07-14 20:58:06,663 [19] INFO - function SE637303570866626105() {}
SE637303570866626105.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 SE637303570866626105().executeScript();
2020-07-14 20:58:06,663 [19] INFO - ---------
2020-07-14 20:58:06,663 [19] INFO - Information: 0 :
2020-07-14 20:58:06,664 [19] INFO - ---------
2020-07-14 20:58:06,668 [19] INFO - Information: 0 :
2020-07-14 20:58:06,668 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,672 [19] INFO - Information: 0 :
2020-07-14 20:58:06,672 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,672 [19] INFO - Information: 0 :
2020-07-14 20:58:06,672 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,673 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,673 [19] INFO - Information: 0 :
2020-07-14 20:58:06,673 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,673 [19] INFO - ---------
2020-07-14 20:58:06,673 [19] INFO - Information: 0 :
2020-07-14 20:58:06,673 [19] INFO - ---------
2020-07-14 20:58:06,674 [19] INFO - function SE637303570866626105() {}
SE637303570866626105.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 SE637303570866626105().executeScript();
2020-07-14 20:58:06,674 [19] INFO - Information: 0 :
2020-07-14 20:58:06,674 [19] INFO - function SE637303570866626105() {}
SE637303570866626105.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 SE637303570866626105().executeScript();
2020-07-14 20:58:06,674 [19] INFO - ---------
2020-07-14 20:58:06,674 [19] INFO - Information: 0 :
2020-07-14 20:58:06,674 [19] INFO - ---------
2020-07-14 20:58:06,674 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1989.
2020-07-14 20:58:06,675 [19] INFO - Information: 0 :
2020-07-14 20:58:06,675 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1989.
2020-07-14 20:58:06,675 [19] INFO - ---------
2020-07-14 20:58:06,675 [19] INFO - Information: 0 :
2020-07-14 20:58:06,675 [19] INFO - ---------
2020-07-14 20:58:06,675 [19] INFO - [system.partial] „article-begin.html“ 13 ms „[0, popupimage]“
2020-07-14 20:58:06,675 [19] INFO - Information: 0 :
2020-07-14 20:58:06,675 [19] INFO - [system.partial] „article-begin.html“ 13 ms „[0, popupimage]“
2020-07-14 20:58:06,677 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,677 [19] INFO - Information: 0 :
2020-07-14 20:58:06,677 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,677 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,677 [19] INFO - Information: 0 :
2020-07-14 20:58:06,677 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,678 [19] INFO - ---------
2020-07-14 20:58:06,678 [19] INFO - Information: 0 :
2020-07-14 20:58:06,678 [19] INFO - ---------
2020-07-14 20:58:06,678 [19] INFO - function SE637303570866346089() {}
SE637303570866346089.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 SE637303570866346089().executeScript();
2020-07-14 20:58:06,678 [19] INFO - Information: 0 :
2020-07-14 20:58:06,681 [19] INFO - function SE637303570866346089() {}
SE637303570866346089.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 SE637303570866346089().executeScript();
2020-07-14 20:58:06,681 [19] INFO - ---------
2020-07-14 20:58:06,681 [19] INFO - Information: 0 :
2020-07-14 20:58:06,681 [19] INFO - ---------
2020-07-14 20:58:06,682 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1990.
2020-07-14 20:58:06,682 [19] INFO - Information: 0 :
2020-07-14 20:58:06,682 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1990.
2020-07-14 20:58:06,682 [19] INFO - ---------
2020-07-14 20:58:06,682 [19] INFO - Information: 0 :
2020-07-14 20:58:06,682 [19] INFO - ---------
2020-07-14 20:58:06,683 [19] INFO - Information: 0 :
2020-07-14 20:58:06,683 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,685 [19] INFO - Information: 0 :
2020-07-14 20:58:06,685 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,685 [19] INFO - Information: 0 :
2020-07-14 20:58:06,685 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,690 [19] INFO - Information: 0 :
2020-07-14 20:58:06,690 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,692 [19] INFO - Information: 0 :
2020-07-14 20:58:06,692 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,692 [19] INFO - Information: 0 :
2020-07-14 20:58:06,692 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,693 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,694 [19] INFO - Information: 0 :
2020-07-14 20:58:06,694 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,694 [19] INFO - ---------
2020-07-14 20:58:06,694 [19] INFO - Information: 0 :
2020-07-14 20:58:06,694 [19] INFO - ---------
2020-07-14 20:58:06,694 [19] INFO - function SE637303570866936123() {}
SE637303570866936123.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 SE637303570866936123().executeScript();
2020-07-14 20:58:06,695 [19] INFO - Information: 0 :
2020-07-14 20:58:06,695 [19] INFO - function SE637303570866936123() {}
SE637303570866936123.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 SE637303570866936123().executeScript();
2020-07-14 20:58:06,696 [19] INFO - ---------
2020-07-14 20:58:06,696 [19] INFO - Information: 0 :
2020-07-14 20:58:06,696 [19] INFO - ---------
2020-07-14 20:58:06,696 [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:06,698 [19] INFO - Information: 0 :
2020-07-14 20:58:06,698 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,700 [19] INFO - Information: 0 :
2020-07-14 20:58:06,700 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,700 [19] INFO - Information: 0 :
2020-07-14 20:58:06,700 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,701 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:06,701 [19] INFO - Information: 0 :
2020-07-14 20:58:06,701 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,702 [19] INFO - Information: 0 :
2020-07-14 20:58:06,703 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,703 [19] INFO - Information: 0 :
2020-07-14 20:58:06,703 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,703 [19] INFO - Entering 'ensureContentCopy' for image 439, article 1458, size 449.
2020-07-14 20:58:06,704 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1458, image ID = 439, maxWidthInPixel = 449.
2020-07-14 20:58:06,704 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.).
2020-07-14 20:58:06,704 [19] INFO - Leaving 'ensureContentCopy' for image 439, article 1458, size „449“, reason = not created (Never create content copy for preview.)
2020-07-14 20:58:06,717 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\d5d8dac0d1d24678afd62d8e5a67e1c0.jpg“ live from file.
2020-07-14 20:58:06,717 [19] INFO - Returning live-calculated image size for image with ID 439, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:06,717 [19] INFO - Returning cached image size for image with ID 439, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:06,719 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,719 [19] INFO - Information: 0 :
2020-07-14 20:58:06,719 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,719 [19] INFO - ---------
2020-07-14 20:58:06,719 [19] INFO - Information: 0 :
2020-07-14 20:58:06,719 [19] INFO - ---------
2020-07-14 20:58:06,719 [19] INFO - function SE637303570867196138() {}
SE637303570867196138.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 SE637303570867196138().executeScript();
2020-07-14 20:58:06,720 [19] INFO - Information: 0 :
2020-07-14 20:58:06,720 [19] INFO - function SE637303570867196138() {}
SE637303570867196138.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 SE637303570867196138().executeScript();
2020-07-14 20:58:06,720 [19] INFO - ---------
2020-07-14 20:58:06,720 [19] INFO - Information: 0 :
2020-07-14 20:58:06,720 [19] INFO - ---------
2020-07-14 20:58:06,725 [19] INFO - Information: 0 :
2020-07-14 20:58:06,725 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,726 [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:06,728 [19] INFO - Information: 0 :
2020-07-14 20:58:06,728 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,728 [19] INFO - Information: 0 :
2020-07-14 20:58:06,728 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,729 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,729 [19] INFO - Information: 0 :
2020-07-14 20:58:06,729 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,729 [19] INFO - ---------
2020-07-14 20:58:06,729 [19] INFO - Information: 0 :
2020-07-14 20:58:06,729 [19] INFO - ---------
2020-07-14 20:58:06,730 [19] INFO - function SE637303570867196138() {}
SE637303570867196138.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 SE637303570867196138().executeScript();
2020-07-14 20:58:06,730 [19] INFO - Information: 0 :
2020-07-14 20:58:06,730 [19] INFO - function SE637303570867196138() {}
SE637303570867196138.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 SE637303570867196138().executeScript();
2020-07-14 20:58:06,730 [19] INFO - ---------
2020-07-14 20:58:06,730 [19] INFO - Information: 0 :
2020-07-14 20:58:06,730 [19] INFO - ---------
2020-07-14 20:58:06,730 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1991.
2020-07-14 20:58:06,730 [19] INFO - Information: 0 :
2020-07-14 20:58:06,731 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1991.
2020-07-14 20:58:06,731 [19] INFO - ---------
2020-07-14 20:58:06,731 [19] INFO - Information: 0 :
2020-07-14 20:58:06,731 [19] INFO - ---------
2020-07-14 20:58:06,731 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“
2020-07-14 20:58:06,731 [19] INFO - Information: 0 :
2020-07-14 20:58:06,731 [19] INFO - [system.partial] „article-begin.html“ 12 ms „[0, popupimage]“
2020-07-14 20:58:06,733 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,733 [19] INFO - Information: 0 :
2020-07-14 20:58:06,733 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,733 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,733 [19] INFO - Information: 0 :
2020-07-14 20:58:06,733 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,734 [19] INFO - ---------
2020-07-14 20:58:06,734 [19] INFO - Information: 0 :
2020-07-14 20:58:06,734 [19] INFO - ---------
2020-07-14 20:58:06,734 [19] INFO - function SE637303570866936123() {}
SE637303570866936123.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 SE637303570866936123().executeScript();
2020-07-14 20:58:06,734 [19] INFO - Information: 0 :
2020-07-14 20:58:06,735 [19] INFO - function SE637303570866936123() {}
SE637303570866936123.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 SE637303570866936123().executeScript();
2020-07-14 20:58:06,735 [19] INFO - ---------
2020-07-14 20:58:06,735 [19] INFO - Information: 0 :
2020-07-14 20:58:06,735 [19] INFO - ---------
2020-07-14 20:58:06,735 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1992.
2020-07-14 20:58:06,735 [19] INFO - Information: 0 :
2020-07-14 20:58:06,735 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1992.
2020-07-14 20:58:06,736 [19] INFO - ---------
2020-07-14 20:58:06,736 [19] INFO - Information: 0 :
2020-07-14 20:58:06,736 [19] INFO - ---------
2020-07-14 20:58:06,737 [19] INFO - Information: 0 :
2020-07-14 20:58:06,737 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,739 [19] INFO - Information: 0 :
2020-07-14 20:58:06,739 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,739 [19] INFO - Information: 0 :
2020-07-14 20:58:06,739 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,740 [19] INFO - Information: 0 :
2020-07-14 20:58:06,740 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,742 [19] INFO - Information: 0 :
2020-07-14 20:58:06,742 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,743 [19] INFO - Information: 0 :
2020-07-14 20:58:06,743 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,744 [19] INFO - Information: 0 :
2020-07-14 20:58:06,744 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,746 [19] INFO - Information: 0 :
2020-07-14 20:58:06,746 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,746 [19] INFO - Information: 0 :
2020-07-14 20:58:06,746 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,748 [19] INFO - Information: 0 :
2020-07-14 20:58:06,749 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,750 [19] INFO - Information: 0 :
2020-07-14 20:58:06,750 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,750 [19] INFO - Information: 0 :
2020-07-14 20:58:06,750 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,751 [19] INFO - Information: 0 :
2020-07-14 20:58:06,751 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,753 [19] INFO - Information: 0 :
2020-07-14 20:58:06,754 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,754 [19] INFO - Information: 0 :
2020-07-14 20:58:06,754 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,754 [19] INFO - Information: 0 :
2020-07-14 20:58:06,754 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,756 [19] INFO - Information: 0 :
2020-07-14 20:58:06,756 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,756 [19] INFO - Information: 0 :
2020-07-14 20:58:06,756 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,756 [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:06,759 [19] INFO - Information: 0 :
2020-07-14 20:58:06,759 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,761 [19] INFO - Information: 0 :
2020-07-14 20:58:06,761 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,761 [19] INFO - Information: 0 :
2020-07-14 20:58:06,761 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,762 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,762 [19] INFO - Information: 0 :
2020-07-14 20:58:06,762 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,762 [19] INFO - ---------
2020-07-14 20:58:06,763 [19] INFO - Information: 0 :
2020-07-14 20:58:06,763 [19] INFO - ---------
2020-07-14 20:58:06,763 [19] INFO - function SE637303570867626162() {}
SE637303570867626162.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 SE637303570867626162().executeScript();
2020-07-14 20:58:06,763 [19] INFO - Information: 0 :
2020-07-14 20:58:06,763 [19] INFO - function SE637303570867626162() {}
SE637303570867626162.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 SE637303570867626162().executeScript();
2020-07-14 20:58:06,763 [19] INFO - ---------
2020-07-14 20:58:06,763 [19] INFO - Information: 0 :
2020-07-14 20:58:06,763 [19] INFO - ---------
2020-07-14 20:58:06,765 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,765 [19] INFO - Information: 0 :
2020-07-14 20:58:06,765 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,765 [19] INFO - ---------
2020-07-14 20:58:06,765 [19] INFO - Information: 0 :
2020-07-14 20:58:06,765 [19] INFO - ---------
2020-07-14 20:58:06,765 [19] INFO - function SE637303570867646163() {}
SE637303570867646163.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 SE637303570867646163().executeScript();
2020-07-14 20:58:06,765 [19] INFO - Information: 0 :
2020-07-14 20:58:06,765 [19] INFO - function SE637303570867646163() {}
SE637303570867646163.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 SE637303570867646163().executeScript();
2020-07-14 20:58:06,766 [19] INFO - ---------
2020-07-14 20:58:06,766 [19] INFO - Information: 0 :
2020-07-14 20:58:06,766 [19] INFO - ---------
2020-07-14 20:58:06,771 [19] INFO - Information: 0 :
2020-07-14 20:58:06,771 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,775 [19] INFO - Information: 0 :
2020-07-14 20:58:06,775 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,775 [19] INFO - Information: 0 :
2020-07-14 20:58:06,775 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,776 [19] INFO - Information: 0 :
2020-07-14 20:58:06,776 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,777 [19] INFO - Information: 0 :
2020-07-14 20:58:06,778 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,778 [19] INFO - Information: 0 :
2020-07-14 20:58:06,778 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,778 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,779 [19] INFO - Information: 0 :
2020-07-14 20:58:06,779 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,779 [19] INFO - ---------
2020-07-14 20:58:06,779 [19] INFO - Information: 0 :
2020-07-14 20:58:06,779 [19] INFO - ---------
2020-07-14 20:58:06,779 [19] INFO - function SE637303570867646163() {}
SE637303570867646163.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 SE637303570867646163().executeScript();
2020-07-14 20:58:06,779 [19] INFO - Information: 0 :
2020-07-14 20:58:06,780 [19] INFO - function SE637303570867646163() {}
SE637303570867646163.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 SE637303570867646163().executeScript();
2020-07-14 20:58:06,780 [19] INFO - ---------
2020-07-14 20:58:06,780 [19] INFO - Information: 0 :
2020-07-14 20:58:06,780 [19] INFO - ---------
2020-07-14 20:58:06,780 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1993.
2020-07-14 20:58:06,780 [19] INFO - Information: 0 :
2020-07-14 20:58:06,780 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1993.
2020-07-14 20:58:06,780 [19] INFO - ---------
2020-07-14 20:58:06,781 [19] INFO - Information: 0 :
2020-07-14 20:58:06,781 [19] INFO - ---------
2020-07-14 20:58:06,781 [19] INFO - [system.partial] „article-begin.html“ 16 ms „“
2020-07-14 20:58:06,781 [19] INFO - Information: 0 :
2020-07-14 20:58:06,781 [19] INFO - [system.partial] „article-begin.html“ 16 ms „“
2020-07-14 20:58:06,782 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,782 [19] INFO - Information: 0 :
2020-07-14 20:58:06,782 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,782 [19] INFO - ---------
2020-07-14 20:58:06,782 [19] INFO - Information: 0 :
2020-07-14 20:58:06,782 [19] INFO - ---------
2020-07-14 20:58:06,782 [19] INFO - function SE637303570867826174() {}
SE637303570867826174.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("");
context.write( article.headlineLevel );
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 SE637303570867826174().executeScript();
2020-07-14 20:58:06,783 [19] INFO - Information: 0 :
2020-07-14 20:58:06,783 [19] INFO - function SE637303570867826174() {}
SE637303570867826174.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("");
context.write( article.headlineLevel );
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 SE637303570867826174().executeScript();
2020-07-14 20:58:06,783 [19] INFO - ---------
2020-07-14 20:58:06,783 [19] INFO - Information: 0 :
2020-07-14 20:58:06,783 [19] INFO - ---------
2020-07-14 20:58:06,785 [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:06,785 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,785 [19] INFO - Information: 0 :
2020-07-14 20:58:06,786 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,786 [19] INFO - ---------
2020-07-14 20:58:06,786 [19] INFO - Information: 0 :
2020-07-14 20:58:06,786 [19] INFO - ---------
2020-07-14 20:58:06,786 [19] INFO - function SE637303570867826174() {}
SE637303570867826174.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("");
context.write( article.headlineLevel );
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 SE637303570867826174().executeScript();
2020-07-14 20:58:06,786 [19] INFO - Information: 0 :
2020-07-14 20:58:06,786 [19] INFO - function SE637303570867826174() {}
SE637303570867826174.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("");
context.write( article.headlineLevel );
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 SE637303570867826174().executeScript();
2020-07-14 20:58:06,787 [19] INFO - ---------
2020-07-14 20:58:06,787 [19] INFO - Information: 0 :
2020-07-14 20:58:06,788 [19] INFO - ---------
2020-07-14 20:58:06,788 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1994.
2020-07-14 20:58:06,788 [19] INFO - Information: 0 :
2020-07-14 20:58:06,788 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1994.
2020-07-14 20:58:06,788 [19] INFO - ---------
2020-07-14 20:58:06,788 [19] INFO - Information: 0 :
2020-07-14 20:58:06,788 [19] INFO - ---------
2020-07-14 20:58:06,788 [19] INFO - [system.partial] „article-headline.html“ 6 ms „“
2020-07-14 20:58:06,788 [19] INFO - Information: 0 :
2020-07-14 20:58:06,789 [19] INFO - [system.partial] „article-headline.html“ 6 ms „“
2020-07-14 20:58:06,789 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,789 [19] INFO - Information: 0 :
2020-07-14 20:58:06,789 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,789 [19] INFO - ---------
2020-07-14 20:58:06,789 [19] INFO - Information: 0 :
2020-07-14 20:58:06,789 [19] INFO - ---------
2020-07-14 20:58:06,790 [19] INFO - function SE637303570867896178() {}
SE637303570867896178.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 SE637303570867896178().executeScript();
2020-07-14 20:58:06,790 [19] INFO - Information: 0 :
2020-07-14 20:58:06,790 [19] INFO - function SE637303570867896178() {}
SE637303570867896178.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 SE637303570867896178().executeScript();
2020-07-14 20:58:06,790 [19] INFO - ---------
2020-07-14 20:58:06,790 [19] INFO - Information: 0 :
2020-07-14 20:58:06,790 [19] INFO - ---------
2020-07-14 20:58:06,792 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,793 [19] INFO - Information: 0 :
2020-07-14 20:58:06,793 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,793 [19] INFO - ---------
2020-07-14 20:58:06,793 [19] INFO - Information: 0 :
2020-07-14 20:58:06,793 [19] INFO - ---------
2020-07-14 20:58:06,793 [19] INFO - function SE637303570867896178() {}
SE637303570867896178.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 SE637303570867896178().executeScript();
2020-07-14 20:58:06,793 [19] INFO - Information: 0 :
2020-07-14 20:58:06,793 [19] INFO - function SE637303570867896178() {}
SE637303570867896178.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 SE637303570867896178().executeScript();
2020-07-14 20:58:06,794 [19] INFO - ---------
2020-07-14 20:58:06,794 [19] INFO - Information: 0 :
2020-07-14 20:58:06,794 [19] INFO - ---------
2020-07-14 20:58:06,794 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1995.
2020-07-14 20:58:06,794 [19] INFO - Information: 0 :
2020-07-14 20:58:06,794 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1995.
2020-07-14 20:58:06,794 [19] INFO - ---------
2020-07-14 20:58:06,794 [19] INFO - Information: 0 :
2020-07-14 20:58:06,794 [19] INFO - ---------
2020-07-14 20:58:06,795 [19] INFO - [system.partial] „inline-editor-start.html“ 5 ms „“
2020-07-14 20:58:06,795 [19] INFO - Information: 0 :
2020-07-14 20:58:06,795 [19] INFO - [system.partial] „inline-editor-start.html“ 5 ms „“
2020-07-14 20:58:06,795 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,796 [19] INFO - Information: 0 :
2020-07-14 20:58:06,796 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,796 [19] INFO - ---------
2020-07-14 20:58:06,796 [19] INFO - Information: 0 :
2020-07-14 20:58:06,796 [19] INFO - ---------
2020-07-14 20:58:06,796 [19] INFO - function SE637303570867956181() {}
SE637303570867956181.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 SE637303570867956181().executeScript();
2020-07-14 20:58:06,797 [19] INFO - Information: 0 :
2020-07-14 20:58:06,797 [19] INFO - function SE637303570867956181() {}
SE637303570867956181.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 SE637303570867956181().executeScript();
2020-07-14 20:58:06,797 [19] INFO - ---------
2020-07-14 20:58:06,797 [19] INFO - Information: 0 :
2020-07-14 20:58:06,797 [19] INFO - ---------
2020-07-14 20:58:06,798 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,798 [19] INFO - Information: 0 :
2020-07-14 20:58:06,798 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,798 [19] INFO - ---------
2020-07-14 20:58:06,798 [19] INFO - Information: 0 :
2020-07-14 20:58:06,799 [19] INFO - ---------
2020-07-14 20:58:06,799 [19] INFO - function SE637303570867956181() {}
SE637303570867956181.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 SE637303570867956181().executeScript();
2020-07-14 20:58:06,799 [19] INFO - Information: 0 :
2020-07-14 20:58:06,799 [19] INFO - function SE637303570867956181() {}
SE637303570867956181.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 SE637303570867956181().executeScript();
2020-07-14 20:58:06,799 [19] INFO - ---------
2020-07-14 20:58:06,799 [19] INFO - Information: 0 :
2020-07-14 20:58:06,799 [19] INFO - ---------
2020-07-14 20:58:06,799 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1996.
2020-07-14 20:58:06,799 [19] INFO - Information: 0 :
2020-07-14 20:58:06,800 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1996.
2020-07-14 20:58:06,800 [19] INFO - ---------
2020-07-14 20:58:06,800 [19] INFO - Information: 0 :
2020-07-14 20:58:06,800 [19] INFO - ---------
2020-07-14 20:58:06,800 [19] INFO - [system.partial] „inline-editor-end.html“ 4 ms „“
2020-07-14 20:58:06,800 [19] INFO - Information: 0 :
2020-07-14 20:58:06,800 [19] INFO - [system.partial] „inline-editor-end.html“ 4 ms „“
2020-07-14 20:58:06,800 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,801 [19] INFO - Information: 0 :
2020-07-14 20:58:06,801 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,801 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,801 [19] INFO - Information: 0 :
2020-07-14 20:58:06,801 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,801 [19] INFO - ---------
2020-07-14 20:58:06,801 [19] INFO - Information: 0 :
2020-07-14 20:58:06,801 [19] INFO - ---------
2020-07-14 20:58:06,801 [19] INFO - function SE637303570867626162() {}
SE637303570867626162.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 SE637303570867626162().executeScript();
2020-07-14 20:58:06,802 [19] INFO - Information: 0 :
2020-07-14 20:58:06,802 [19] INFO - function SE637303570867626162() {}
SE637303570867626162.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 SE637303570867626162().executeScript();
2020-07-14 20:58:06,802 [19] INFO - ---------
2020-07-14 20:58:06,802 [19] INFO - Information: 0 :
2020-07-14 20:58:06,802 [19] INFO - ---------
2020-07-14 20:58:06,802 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1997.
2020-07-14 20:58:06,802 [19] INFO - Information: 0 :
2020-07-14 20:58:06,802 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1997.
2020-07-14 20:58:06,802 [19] INFO - ---------
2020-07-14 20:58:06,803 [19] INFO - Information: 0 :
2020-07-14 20:58:06,803 [19] INFO - ---------
2020-07-14 20:58:06,803 [19] INFO - Information: 0 :
2020-07-14 20:58:06,803 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,806 [19] INFO - Information: 0 :
2020-07-14 20:58:06,806 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,806 [19] INFO - Information: 0 :
2020-07-14 20:58:06,806 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,810 [19] INFO - Information: 0 :
2020-07-14 20:58:06,810 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,814 [19] INFO - Information: 0 :
2020-07-14 20:58:06,814 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,814 [19] INFO - Information: 0 :
2020-07-14 20:58:06,814 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,817 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,817 [19] INFO - Information: 0 :
2020-07-14 20:58:06,817 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,817 [19] INFO - ---------
2020-07-14 20:58:06,818 [19] INFO - Information: 0 :
2020-07-14 20:58:06,818 [19] INFO - ---------
2020-07-14 20:58:06,818 [19] INFO - function SE637303570868176194() {}
SE637303570868176194.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\t");
}
context.write("\r\n\t\t\t\r\n\t\t\t");
var description, altText, encodedDescription, image;
var jsonString = "";
for ( var index=0; index < images.count; ++index ) {
image = images.item(index);
image.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy
description = system.htmlEncode(system.removeHtmlTags(image.description)) || "";
encodedDescription = system.htmlEncode(image.description) || "";
altText = system.htmlEncode(system.removeHtmlTags(image.altText)) || "";
var borderCompensatedWidth = parseInt(thumbnailWidth) - (imageBorder*2);
var borderCompensatedHeight = parseInt(thumbnailHeight) - (imageBorder*2);
try{
if ( image.createThumb(borderCompensatedWidth, borderCompensatedHeight) ) {
if ( system.preview ){
system.log(" Erstelle Vorschaubild " + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight).split("/").pop() );
}
}
}
catch(err){
system.error('Fehler beim erstellen des Vorschaubild "' + image.workingCopyPath.split("/").pop() + '" auf der Seite "' + page.name + '": ' + err.name + ' / ' + err.message + '\n Importieren Sie das Originalbild ggf. neu.');
}
// build json to use when paging images
jsonString += "{\n";
jsonString += "\t\"description\": \"" + _toJSONEscapedString(description) + "\",\n";
jsonString += "\t\"encodedDescription\": \"" + _toJSONEscapedString(image.description) + "\",\n";
jsonString += "\t\"altText\": \"" + _toJSONEscapedString(altText) + "\",\n";
jsonString += "\t\"thumbPath\": \"" + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight) + "\",\n";
jsonString += "\t\"width\": " + borderCompensatedWidth + ",\n";
jsonString += "\t\"height\": " + borderCompensatedHeight + ",\n";
jsonString += "\t\"thumbTitlePosition\": \"" + thumbTitlePosition + "\",\n";
jsonString += "\t\"imagePath\": \"" + image.workingCopyPath + "\"\n";
jsonString += "}";
if ( index < images.count-1 ){
jsonString += ",\n";
}
context.write("\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t");
}
context.write("\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 SE637303570868176194().executeScript();
2020-07-14 20:58:06,819 [19] INFO - Information: 0 :
2020-07-14 20:58:06,819 [19] INFO - function SE637303570868176194() {}
SE637303570868176194.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\t");
}
context.write("\r\n\t\t\t\r\n\t\t\t");
var description, altText, encodedDescription, image;
var jsonString = "";
for ( var index=0; index < images.count; ++index ) {
image = images.item(index);
image.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy
description = system.htmlEncode(system.removeHtmlTags(image.description)) || "";
encodedDescription = system.htmlEncode(image.description) || "";
altText = system.htmlEncode(system.removeHtmlTags(image.altText)) || "";
var borderCompensatedWidth = parseInt(thumbnailWidth) - (imageBorder*2);
var borderCompensatedHeight = parseInt(thumbnailHeight) - (imageBorder*2);
try{
if ( image.createThumb(borderCompensatedWidth, borderCompensatedHeight) ) {
if ( system.preview ){
system.log(" Erstelle Vorschaubild " + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight).split("/").pop() );
}
}
}
catch(err){
system.error('Fehler beim erstellen des Vorschaubild "' + image.workingCopyPath.split("/").pop() + '" auf der Seite "' + page.name + '": ' + err.name + ' / ' + err.message + '\n Importieren Sie das Originalbild ggf. neu.');
}
// build json to use when paging images
jsonString += "{\n";
jsonString += "\t\"description\": \"" + _toJSONEscapedString(description) + "\",\n";
jsonString += "\t\"encodedDescription\": \"" + _toJSONEscapedString(image.description) + "\",\n";
jsonString += "\t\"altText\": \"" + _toJSONEscapedString(altText) + "\",\n";
jsonString += "\t\"thumbPath\": \"" + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight) + "\",\n";
jsonString += "\t\"width\": " + borderCompensatedWidth + ",\n";
jsonString += "\t\"height\": " + borderCompensatedHeight + ",\n";
jsonString += "\t\"thumbTitlePosition\": \"" + thumbTitlePosition + "\",\n";
jsonString += "\t\"imagePath\": \"" + image.workingCopyPath + "\"\n";
jsonString += "}";
if ( index < images.count-1 ){
jsonString += ",\n";
}
context.write("\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t");
}
context.write("\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 SE637303570868176194().executeScript();
2020-07-14 20:58:06,820 [19] INFO - ---------
2020-07-14 20:58:06,821 [19] INFO - Information: 0 :
2020-07-14 20:58:06,821 [19] INFO - ---------
2020-07-14 20:58:06,823 [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:06,823 [19] INFO - Information: 0 :
2020-07-14 20:58:06,824 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,825 [19] INFO - Information: 0 :
2020-07-14 20:58:06,825 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,825 [19] INFO - Information: 0 :
2020-07-14 20:58:06,825 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,826 [19] INFO - Information: 0 :
2020-07-14 20:58:06,826 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,839 [19] INFO - Information: 0 :
2020-07-14 20:58:06,839 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,839 [19] INFO - Information: 0 :
2020-07-14 20:58:06,839 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,847 [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:06,852 [19] INFO - Information: 0 :
2020-07-14 20:58:06,852 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,853 [19] INFO - Information: 0 :
2020-07-14 20:58:06,853 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,854 [19] INFO - Information: 0 :
2020-07-14 20:58:06,854 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,854 [19] INFO - Information: 0 :
2020-07-14 20:58:06,854 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,857 [19] INFO - Information: 0 :
2020-07-14 20:58:06,857 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,858 [19] INFO - Information: 0 :
2020-07-14 20:58:06,858 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,858 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:06,858 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:06,858 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:06,858 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:06,858 [19] INFO - [SetContentCopyImageSizeInPixel] 0 x 0 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:06,860 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,861 [19] INFO - Information: 0 :
2020-07-14 20:58:06,861 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,861 [19] INFO - ---------
2020-07-14 20:58:06,861 [19] INFO - Information: 0 :
2020-07-14 20:58:06,861 [19] INFO - ---------
2020-07-14 20:58:06,861 [19] INFO - function SE637303570868606218() {}
SE637303570868606218.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 SE637303570868606218().executeScript();
2020-07-14 20:58:06,861 [19] INFO - Information: 0 :
2020-07-14 20:58:06,861 [19] INFO - function SE637303570868606218() {}
SE637303570868606218.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 SE637303570868606218().executeScript();
2020-07-14 20:58:06,862 [19] INFO - ---------
2020-07-14 20:58:06,862 [19] INFO - Information: 0 :
2020-07-14 20:58:06,862 [19] INFO - ---------
2020-07-14 20:58:06,866 [19] INFO - Information: 0 :
2020-07-14 20:58:06,866 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,868 [19] INFO - Information: 0 :
2020-07-14 20:58:06,868 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,869 [19] INFO - Information: 0 :
2020-07-14 20:58:06,869 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,870 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,870 [19] INFO - Information: 0 :
2020-07-14 20:58:06,870 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,871 [19] INFO - ---------
2020-07-14 20:58:06,871 [19] INFO - Information: 0 :
2020-07-14 20:58:06,871 [19] INFO - ---------
2020-07-14 20:58:06,871 [19] INFO - function SE637303570868606218() {}
SE637303570868606218.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 SE637303570868606218().executeScript();
2020-07-14 20:58:06,871 [19] INFO - Information: 0 :
2020-07-14 20:58:06,872 [19] INFO - function SE637303570868606218() {}
SE637303570868606218.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 SE637303570868606218().executeScript();
2020-07-14 20:58:06,872 [19] INFO - ---------
2020-07-14 20:58:06,872 [19] INFO - Information: 0 :
2020-07-14 20:58:06,872 [19] INFO - ---------
2020-07-14 20:58:06,872 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1998.
2020-07-14 20:58:06,872 [19] INFO - Information: 0 :
2020-07-14 20:58:06,872 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1998.
2020-07-14 20:58:06,872 [19] INFO - ---------
2020-07-14 20:58:06,873 [19] INFO - Information: 0 :
2020-07-14 20:58:06,873 [19] INFO - ---------
2020-07-14 20:58:06,873 [19] INFO - [system.partial] „article-begin.html“ 12 ms „“
2020-07-14 20:58:06,873 [19] INFO - Information: 0 :
2020-07-14 20:58:06,873 [19] INFO - [system.partial] „article-begin.html“ 12 ms „“
2020-07-14 20:58:06,873 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,873 [19] INFO - Information: 0 :
2020-07-14 20:58:06,878 [19] INFO - About to execute the following script:
2020-07-14 20:58:06,878 [19] INFO - ---------
2020-07-14 20:58:06,878 [19] INFO - Information: 0 :
2020-07-14 20:58:06,878 [19] INFO - ---------
2020-07-14 20:58:06,878 [19] INFO - function SE637303570868736226() {}
SE637303570868736226.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("");
context.write( article.headlineLevel );
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 SE637303570868736226().executeScript();
2020-07-14 20:58:06,878 [19] INFO - Information: 0 :
2020-07-14 20:58:06,879 [19] INFO - function SE637303570868736226() {}
SE637303570868736226.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("");
context.write( article.headlineLevel );
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 SE637303570868736226().executeScript();
2020-07-14 20:58:06,879 [19] INFO - ---------
2020-07-14 20:58:06,879 [19] INFO - Information: 0 :
2020-07-14 20:58:06,879 [19] INFO - ---------
2020-07-14 20:58:06,881 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,881 [19] INFO - Information: 0 :
2020-07-14 20:58:06,881 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,881 [19] INFO - ---------
2020-07-14 20:58:06,881 [19] INFO - Information: 0 :
2020-07-14 20:58:06,881 [19] INFO - ---------
2020-07-14 20:58:06,881 [19] INFO - function SE637303570868736226() {}
SE637303570868736226.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("");
context.write( article.headlineLevel );
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 SE637303570868736226().executeScript();
2020-07-14 20:58:06,882 [19] INFO - Information: 0 :
2020-07-14 20:58:06,882 [19] INFO - function SE637303570868736226() {}
SE637303570868736226.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("");
context.write( article.headlineLevel );
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 SE637303570868736226().executeScript();
2020-07-14 20:58:06,882 [19] INFO - ---------
2020-07-14 20:58:06,882 [19] INFO - Information: 0 :
2020-07-14 20:58:06,882 [19] INFO - ---------
2020-07-14 20:58:06,882 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1999.
2020-07-14 20:58:06,882 [19] INFO - Information: 0 :
2020-07-14 20:58:06,882 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 1999.
2020-07-14 20:58:06,883 [19] INFO - ---------
2020-07-14 20:58:06,883 [19] INFO - Information: 0 :
2020-07-14 20:58:06,883 [19] INFO - ---------
2020-07-14 20:58:06,883 [19] INFO - [system.partial] „article-headline.html“ 9 ms „“
2020-07-14 20:58:06,883 [19] INFO - Information: 0 :
2020-07-14 20:58:06,883 [19] INFO - [system.partial] „article-headline.html“ 9 ms „“
2020-07-14 20:58:06,883 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 442.
2020-07-14 20:58:06,883 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 442.
2020-07-14 20:58:06,884 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,886 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,886 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 442.
2020-07-14 20:58:06,887 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,888 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\8ab8554929394d42aa314a7a4aaebf64.jpg“ (22.01.2019 19:23:20) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6760-460.jpg“ (15.05.2019 20:35:10). Delta last write time is -9767510 seconds. Is source file newer: False.
2020-07-14 20:58:06,902 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,903 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 443.
2020-07-14 20:58:06,903 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 443.
2020-07-14 20:58:06,904 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,904 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,904 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 443.
2020-07-14 20:58:06,905 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,905 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\8d47e31af8164c288b33b42db3464ff1.jpg“ (22.01.2019 19:23:22) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6757-460.jpg“ (15.05.2019 20:35:09). Delta last write time is -9767507 seconds. Is source file newer: False.
2020-07-14 20:58:06,915 [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:06,916 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,916 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 444.
2020-07-14 20:58:06,917 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 444.
2020-07-14 20:58:06,917 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,918 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,918 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 444.
2020-07-14 20:58:06,918 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,919 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\adb4893d4d8345efac070c47f085002f.jpg“ (22.01.2019 19:23:26) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6758-460.jpg“ (15.05.2019 20:35:12). Delta last write time is -9767506 seconds. Is source file newer: False.
2020-07-14 20:58:06,928 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,928 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 445.
2020-07-14 20:58:06,928 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 445.
2020-07-14 20:58:06,929 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,929 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,929 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 445.
2020-07-14 20:58:06,930 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,931 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\2485f36f7c7144d29c918b9e44f2e7d4.jpg“ (22.01.2019 19:23:30) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6759-460.jpg“ (15.05.2019 20:35:11). Delta last write time is -9767501 seconds. Is source file newer: False.
2020-07-14 20:58:06,940 [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:06,943 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,944 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 446.
2020-07-14 20:58:06,944 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 446.
2020-07-14 20:58:06,944 [19] INFO - Removing 1 job in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,945 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,945 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 446.
2020-07-14 20:58:06,946 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,947 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\1b33703c36ee438080a7d6edea75420b.jpg“ (22.01.2019 19:23:22) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6761-460.jpg“ (15.05.2019 20:35:13). Delta last write time is -9767511 seconds. Is source file newer: False.
2020-07-14 20:58:06,957 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,958 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 442.
2020-07-14 20:58:06,958 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 442.
2020-07-14 20:58:06,959 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,959 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 442.
2020-07-14 20:58:06,960 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,961 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\8ab8554929394d42aa314a7a4aaebf64.jpg“ (22.01.2019 19:23:20) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6760-460.jpg“ (15.05.2019 20:35:10). Delta last write time is -9767510 seconds. Is source file newer: False.
2020-07-14 20:58:06,962 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,963 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 443.
2020-07-14 20:58:06,963 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 443.
2020-07-14 20:58:06,964 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,964 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 443.
2020-07-14 20:58:06,965 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,965 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\8d47e31af8164c288b33b42db3464ff1.jpg“ (22.01.2019 19:23:22) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6757-460.jpg“ (15.05.2019 20:35:09). Delta last write time is -9767507 seconds. Is source file newer: False.
2020-07-14 20:58:06,966 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,967 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 444.
2020-07-14 20:58:06,967 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 444.
2020-07-14 20:58:06,968 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,968 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 444.
2020-07-14 20:58:06,969 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,969 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\adb4893d4d8345efac070c47f085002f.jpg“ (22.01.2019 19:23:26) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6758-460.jpg“ (15.05.2019 20:35:12). Delta last write time is -9767506 seconds. Is source file newer: False.
2020-07-14 20:58:06,971 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,972 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 445.
2020-07-14 20:58:06,972 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 445.
2020-07-14 20:58:06,972 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,973 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 445.
2020-07-14 20:58:06,973 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,974 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\2485f36f7c7144d29c918b9e44f2e7d4.jpg“ (22.01.2019 19:23:30) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6759-460.jpg“ (15.05.2019 20:35:11). Delta last write time is -9767501 seconds. Is source file newer: False.
2020-07-14 20:58:06,975 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,976 [19] INFO - Called 'skipContentCopy' scripting function with image ID = 446.
2020-07-14 20:58:06,976 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 446.
2020-07-14 20:58:06,977 [19] INFO - Adding again 1 working-copy-only jobs in 'NotifyImageAssetContentCopyCreated'.
2020-07-14 20:58:06,977 [19] INFO - Called 'NotifyImageAssetContentCopyCreated' with image ID = 446.
2020-07-14 20:58:06,978 [19] INFO - Entering WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail(output flavor: „Preview“, is rebuild: „True“, thumbnail width: „460“, thumbnail height: „0“, return full info: „True“).
2020-07-14 20:58:06,978 [19] INFO - [IsSourceFileNewerThanDestinationFile] Comparing source file „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\1b33703c36ee438080a7d6edea75420b.jpg“ (22.01.2019 19:23:22) with destination „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\preview\media\images\thumbnails\dscn6761-460.jpg“ (15.05.2019 20:35:13). Delta last write time is -9767511 seconds. Is source file newer: False.
2020-07-14 20:58:06,979 [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:06,980 [19] INFO - Leaving WebImageAssetThumbnailController.CheckCreateImageAssetThumbnail() => was thumbnail created: „False“, thumbnail width: „460“, thumbnail height: „345“).
2020-07-14 20:58:06,981 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,981 [19] INFO - Information: 0 :
2020-07-14 20:58:06,981 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:06,981 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,981 [19] INFO - Information: 0 :
2020-07-14 20:58:06,981 [19] INFO - Finished executing the following script:
2020-07-14 20:58:06,981 [19] INFO - ---------
2020-07-14 20:58:06,981 [19] INFO - Information: 0 :
2020-07-14 20:58:06,981 [19] INFO - ---------
2020-07-14 20:58:06,982 [19] INFO - function SE637303570868176194() {}
SE637303570868176194.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\t");
}
context.write("\r\n\t\t\t\r\n\t\t\t");
var description, altText, encodedDescription, image;
var jsonString = "";
for ( var index=0; index < images.count; ++index ) {
image = images.item(index);
image.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy
description = system.htmlEncode(system.removeHtmlTags(image.description)) || "";
encodedDescription = system.htmlEncode(image.description) || "";
altText = system.htmlEncode(system.removeHtmlTags(image.altText)) || "";
var borderCompensatedWidth = parseInt(thumbnailWidth) - (imageBorder*2);
var borderCompensatedHeight = parseInt(thumbnailHeight) - (imageBorder*2);
try{
if ( image.createThumb(borderCompensatedWidth, borderCompensatedHeight) ) {
if ( system.preview ){
system.log(" Erstelle Vorschaubild " + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight).split("/").pop() );
}
}
}
catch(err){
system.error('Fehler beim erstellen des Vorschaubild "' + image.workingCopyPath.split("/").pop() + '" auf der Seite "' + page.name + '": ' + err.name + ' / ' + err.message + '\n Importieren Sie das Originalbild ggf. neu.');
}
// build json to use when paging images
jsonString += "{\n";
jsonString += "\t\"description\": \"" + _toJSONEscapedString(description) + "\",\n";
jsonString += "\t\"encodedDescription\": \"" + _toJSONEscapedString(image.description) + "\",\n";
jsonString += "\t\"altText\": \"" + _toJSONEscapedString(altText) + "\",\n";
jsonString += "\t\"thumbPath\": \"" + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight) + "\",\n";
jsonString += "\t\"width\": " + borderCompensatedWidth + ",\n";
jsonString += "\t\"height\": " + borderCompensatedHeight + ",\n";
jsonString += "\t\"thumbTitlePosition\": \"" + thumbTitlePosition + "\",\n";
jsonString += "\t\"imagePath\": \"" + image.workingCopyPath + "\"\n";
jsonString += "}";
if ( index < images.count-1 ){
jsonString += ",\n";
}
context.write("\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t");
}
context.write("\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 SE637303570868176194().executeScript();
2020-07-14 20:58:06,985 [19] INFO - Information: 0 :
2020-07-14 20:58:06,985 [19] INFO - function SE637303570868176194() {}
SE637303570868176194.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\t");
}
context.write("\r\n\t\t\t\r\n\t\t\t");
var description, altText, encodedDescription, image;
var jsonString = "";
for ( var index=0; index < images.count; ++index ) {
image = images.item(index);
image.skipContentCopy(); // keine contentCopy erzeugen, da überflüssig weil gleich groß wie workingCopy
description = system.htmlEncode(system.removeHtmlTags(image.description)) || "";
encodedDescription = system.htmlEncode(image.description) || "";
altText = system.htmlEncode(system.removeHtmlTags(image.altText)) || "";
var borderCompensatedWidth = parseInt(thumbnailWidth) - (imageBorder*2);
var borderCompensatedHeight = parseInt(thumbnailHeight) - (imageBorder*2);
try{
if ( image.createThumb(borderCompensatedWidth, borderCompensatedHeight) ) {
if ( system.preview ){
system.log(" Erstelle Vorschaubild " + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight).split("/").pop() );
}
}
}
catch(err){
system.error('Fehler beim erstellen des Vorschaubild "' + image.workingCopyPath.split("/").pop() + '" auf der Seite "' + page.name + '": ' + err.name + ' / ' + err.message + '\n Importieren Sie das Originalbild ggf. neu.');
}
// build json to use when paging images
jsonString += "{\n";
jsonString += "\t\"description\": \"" + _toJSONEscapedString(description) + "\",\n";
jsonString += "\t\"encodedDescription\": \"" + _toJSONEscapedString(image.description) + "\",\n";
jsonString += "\t\"altText\": \"" + _toJSONEscapedString(altText) + "\",\n";
jsonString += "\t\"thumbPath\": \"" + image.thumbPath(borderCompensatedWidth, borderCompensatedHeight) + "\",\n";
jsonString += "\t\"width\": " + borderCompensatedWidth + ",\n";
jsonString += "\t\"height\": " + borderCompensatedHeight + ",\n";
jsonString += "\t\"thumbTitlePosition\": \"" + thumbTitlePosition + "\",\n";
jsonString += "\t\"imagePath\": \"" + image.workingCopyPath + "\"\n";
jsonString += "}";
if ( index < images.count-1 ){
jsonString += ",\n";
}
context.write("\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t");
}
context.write("\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 SE637303570868176194().executeScript();
2020-07-14 20:58:06,986 [19] INFO - ---------
2020-07-14 20:58:06,986 [19] INFO - Information: 0 :
2020-07-14 20:58:06,986 [19] INFO - ---------
2020-07-14 20:58:06,986 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2000.
2020-07-14 20:58:06,986 [19] INFO - Information: 0 :
2020-07-14 20:58:06,986 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2000.
2020-07-14 20:58:06,986 [19] INFO - ---------
2020-07-14 20:58:06,986 [19] INFO - Information: 0 :
2020-07-14 20:58:06,986 [19] INFO - ---------
2020-07-14 20:58:06,987 [19] INFO - Information: 0 :
2020-07-14 20:58:06,987 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,990 [19] INFO - Information: 0 :
2020-07-14 20:58:06,990 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,990 [19] INFO - Information: 0 :
2020-07-14 20:58:06,990 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,991 [19] INFO - Information: 0 :
2020-07-14 20:58:06,991 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,994 [19] INFO - Information: 0 :
2020-07-14 20:58:06,994 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,994 [19] INFO - Information: 0 :
2020-07-14 20:58:06,994 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,996 [19] INFO - Information: 0 :
2020-07-14 20:58:06,996 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:06,998 [19] INFO - Information: 0 :
2020-07-14 20:58:06,998 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:06,998 [19] INFO - Information: 0 :
2020-07-14 20:58:06,998 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,000 [19] INFO - Information: 0 :
2020-07-14 20:58:07,001 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,002 [19] INFO - Information: 0 :
2020-07-14 20:58:07,002 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,002 [19] INFO - Information: 0 :
2020-07-14 20:58:07,002 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,003 [19] INFO - Information: 0 :
2020-07-14 20:58:07,003 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,006 [19] INFO - Information: 0 :
2020-07-14 20:58:07,006 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,006 [19] INFO - Information: 0 :
2020-07-14 20:58:07,006 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,007 [19] INFO - Information: 0 :
2020-07-14 20:58:07,007 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,008 [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:07,009 [19] INFO - Information: 0 :
2020-07-14 20:58:07,009 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,009 [19] INFO - Information: 0 :
2020-07-14 20:58:07,009 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,012 [19] INFO - Information: 0 :
2020-07-14 20:58:07,012 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,014 [19] INFO - Information: 0 :
2020-07-14 20:58:07,014 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,014 [19] INFO - Information: 0 :
2020-07-14 20:58:07,015 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,016 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,016 [19] INFO - Information: 0 :
2020-07-14 20:58:07,016 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,017 [19] INFO - ---------
2020-07-14 20:58:07,017 [19] INFO - Information: 0 :
2020-07-14 20:58:07,017 [19] INFO - ---------
2020-07-14 20:58:07,017 [19] INFO - function SE637303570870166307() {}
SE637303570870166307.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 SE637303570870166307().executeScript();
2020-07-14 20:58:07,017 [19] INFO - Information: 0 :
2020-07-14 20:58:07,018 [19] INFO - function SE637303570870166307() {}
SE637303570870166307.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 SE637303570870166307().executeScript();
2020-07-14 20:58:07,018 [19] INFO - ---------
2020-07-14 20:58:07,018 [19] INFO - Information: 0 :
2020-07-14 20:58:07,018 [19] INFO - ---------
2020-07-14 20:58:07,020 [19] INFO - Information: 0 :
2020-07-14 20:58:07,020 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,023 [19] INFO - Information: 0 :
2020-07-14 20:58:07,023 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,023 [19] INFO - Information: 0 :
2020-07-14 20:58:07,023 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,023 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:07,024 [19] INFO - Information: 0 :
2020-07-14 20:58:07,024 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,026 [19] INFO - Information: 0 :
2020-07-14 20:58:07,026 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,026 [19] INFO - Information: 0 :
2020-07-14 20:58:07,027 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,027 [19] INFO - Entering 'ensureContentCopy' for image 447, article 1462, size 449.
2020-07-14 20:58:07,027 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1462, image ID = 447, maxWidthInPixel = 449.
2020-07-14 20:58:07,027 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.).
2020-07-14 20:58:07,028 [19] INFO - Leaving 'ensureContentCopy' for image 447, article 1462, size „449“, reason = not created (Never create content copy for preview.)
2020-07-14 20:58:07,036 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\f044a27e564c429da2bed749ef2e1a80.jpg“ live from file.
2020-07-14 20:58:07,036 [19] INFO - Returning live-calculated image size for image with ID 447, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,036 [19] INFO - Returning cached image size for image with ID 447, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,038 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,038 [19] INFO - Information: 0 :
2020-07-14 20:58:07,038 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,038 [19] INFO - ---------
2020-07-14 20:58:07,038 [19] INFO - Information: 0 :
2020-07-14 20:58:07,038 [19] INFO - ---------
2020-07-14 20:58:07,038 [19] INFO - function SE637303570870386320() {}
SE637303570870386320.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 SE637303570870386320().executeScript();
2020-07-14 20:58:07,039 [19] INFO - Information: 0 :
2020-07-14 20:58:07,039 [19] INFO - function SE637303570870386320() {}
SE637303570870386320.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 SE637303570870386320().executeScript();
2020-07-14 20:58:07,039 [19] INFO - ---------
2020-07-14 20:58:07,039 [19] INFO - Information: 0 :
2020-07-14 20:58:07,039 [19] INFO - ---------
2020-07-14 20:58:07,043 [19] INFO - Information: 0 :
2020-07-14 20:58:07,044 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,046 [19] INFO - Information: 0 :
2020-07-14 20:58:07,046 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,046 [19] INFO - Information: 0 :
2020-07-14 20:58:07,046 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,047 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,047 [19] INFO - Information: 0 :
2020-07-14 20:58:07,047 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,047 [19] INFO - ---------
2020-07-14 20:58:07,047 [19] INFO - Information: 0 :
2020-07-14 20:58:07,048 [19] INFO - ---------
2020-07-14 20:58:07,048 [19] INFO - function SE637303570870386320() {}
SE637303570870386320.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 SE637303570870386320().executeScript();
2020-07-14 20:58:07,048 [19] INFO - Information: 0 :
2020-07-14 20:58:07,048 [19] INFO - function SE637303570870386320() {}
SE637303570870386320.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 SE637303570870386320().executeScript();
2020-07-14 20:58:07,048 [19] INFO - ---------
2020-07-14 20:58:07,048 [19] INFO - Information: 0 :
2020-07-14 20:58:07,048 [19] INFO - ---------
2020-07-14 20:58:07,048 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2001.
2020-07-14 20:58:07,049 [19] INFO - Information: 0 :
2020-07-14 20:58:07,049 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2001.
2020-07-14 20:58:07,049 [19] INFO - ---------
2020-07-14 20:58:07,049 [19] INFO - Information: 0 :
2020-07-14 20:58:07,049 [19] INFO - ---------
2020-07-14 20:58:07,049 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,049 [19] INFO - Information: 0 :
2020-07-14 20:58:07,049 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,051 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,051 [19] INFO - Information: 0 :
2020-07-14 20:58:07,051 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,051 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,051 [19] INFO - Information: 0 :
2020-07-14 20:58:07,051 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,052 [19] INFO - ---------
2020-07-14 20:58:07,052 [19] INFO - Information: 0 :
2020-07-14 20:58:07,052 [19] INFO - ---------
2020-07-14 20:58:07,052 [19] INFO - function SE637303570870166307() {}
SE637303570870166307.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 SE637303570870166307().executeScript();
2020-07-14 20:58:07,052 [19] INFO - Information: 0 :
2020-07-14 20:58:07,053 [19] INFO - function SE637303570870166307() {}
SE637303570870166307.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 SE637303570870166307().executeScript();
2020-07-14 20:58:07,053 [19] INFO - ---------
2020-07-14 20:58:07,053 [19] INFO - Information: 0 :
2020-07-14 20:58:07,053 [19] INFO - ---------
2020-07-14 20:58:07,053 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2002.
2020-07-14 20:58:07,053 [19] INFO - Information: 0 :
2020-07-14 20:58:07,054 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2002.
2020-07-14 20:58:07,054 [19] INFO - ---------
2020-07-14 20:58:07,054 [19] INFO - Information: 0 :
2020-07-14 20:58:07,054 [19] INFO - ---------
2020-07-14 20:58:07,055 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,055 [19] INFO - Information: 0 :
2020-07-14 20:58:07,055 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,055 [19] INFO - ---------
2020-07-14 20:58:07,055 [19] INFO - Information: 0 :
2020-07-14 20:58:07,055 [19] INFO - ---------
2020-07-14 20:58:07,055 [19] INFO - function SE637303570870556330() {}
SE637303570870556330.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 SE637303570870556330().executeScript();
2020-07-14 20:58:07,056 [19] INFO - Information: 0 :
2020-07-14 20:58:07,056 [19] INFO - function SE637303570870556330() {}
SE637303570870556330.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 SE637303570870556330().executeScript();
2020-07-14 20:58:07,057 [19] INFO - ---------
2020-07-14 20:58:07,057 [19] INFO - Information: 0 :
2020-07-14 20:58:07,057 [19] INFO - ---------
2020-07-14 20:58:07,058 [19] INFO - Information: 0 :
2020-07-14 20:58:07,059 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,061 [19] INFO - Information: 0 :
2020-07-14 20:58:07,061 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,061 [19] INFO - Information: 0 :
2020-07-14 20:58:07,061 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,061 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:07,062 [19] INFO - Entering 'ensureContentCopy' for image 449, article 1464, size 449.
2020-07-14 20:58:07,062 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1464, image ID = 449, maxWidthInPixel = 449.
2020-07-14 20:58:07,062 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.).
2020-07-14 20:58:07,062 [19] INFO - Leaving 'ensureContentCopy' for image 449, article 1464, size „449“, reason = not created (Never create content copy for preview.)
2020-07-14 20:58:07,070 [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:07,071 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\caa268ee37ef4a1abc3609c62a877f64.jpg“ live from file.
2020-07-14 20:58:07,071 [19] INFO - Returning live-calculated image size for image with ID 449, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,071 [19] INFO - Returning cached image size for image with ID 449, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,072 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,073 [19] INFO - Information: 0 :
2020-07-14 20:58:07,073 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,073 [19] INFO - ---------
2020-07-14 20:58:07,073 [19] INFO - Information: 0 :
2020-07-14 20:58:07,073 [19] INFO - ---------
2020-07-14 20:58:07,073 [19] INFO - function SE637303570870726339() {}
SE637303570870726339.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 SE637303570870726339().executeScript();
2020-07-14 20:58:07,073 [19] INFO - Information: 0 :
2020-07-14 20:58:07,073 [19] INFO - function SE637303570870726339() {}
SE637303570870726339.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 SE637303570870726339().executeScript();
2020-07-14 20:58:07,074 [19] INFO - ---------
2020-07-14 20:58:07,074 [19] INFO - Information: 0 :
2020-07-14 20:58:07,074 [19] INFO - ---------
2020-07-14 20:58:07,078 [19] INFO - Information: 0 :
2020-07-14 20:58:07,078 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,080 [19] INFO - Information: 0 :
2020-07-14 20:58:07,080 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,080 [19] INFO - Information: 0 :
2020-07-14 20:58:07,080 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,081 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,081 [19] INFO - Information: 0 :
2020-07-14 20:58:07,081 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,082 [19] INFO - ---------
2020-07-14 20:58:07,082 [19] INFO - Information: 0 :
2020-07-14 20:58:07,082 [19] INFO - ---------
2020-07-14 20:58:07,082 [19] INFO - function SE637303570870726339() {}
SE637303570870726339.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 SE637303570870726339().executeScript();
2020-07-14 20:58:07,082 [19] INFO - Information: 0 :
2020-07-14 20:58:07,082 [19] INFO - function SE637303570870726339() {}
SE637303570870726339.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 SE637303570870726339().executeScript();
2020-07-14 20:58:07,082 [19] INFO - ---------
2020-07-14 20:58:07,083 [19] INFO - Information: 0 :
2020-07-14 20:58:07,083 [19] INFO - ---------
2020-07-14 20:58:07,083 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2003.
2020-07-14 20:58:07,083 [19] INFO - Information: 0 :
2020-07-14 20:58:07,083 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2003.
2020-07-14 20:58:07,083 [19] INFO - ---------
2020-07-14 20:58:07,083 [19] INFO - Information: 0 :
2020-07-14 20:58:07,083 [19] INFO - ---------
2020-07-14 20:58:07,083 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,084 [19] INFO - Information: 0 :
2020-07-14 20:58:07,084 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,085 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,085 [19] INFO - Information: 0 :
2020-07-14 20:58:07,085 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,086 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,086 [19] INFO - Information: 0 :
2020-07-14 20:58:07,086 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,086 [19] INFO - ---------
2020-07-14 20:58:07,086 [19] INFO - Information: 0 :
2020-07-14 20:58:07,086 [19] INFO - ---------
2020-07-14 20:58:07,086 [19] INFO - function SE637303570870556330() {}
SE637303570870556330.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 SE637303570870556330().executeScript();
2020-07-14 20:58:07,087 [19] INFO - Information: 0 :
2020-07-14 20:58:07,087 [19] INFO - function SE637303570870556330() {}
SE637303570870556330.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 SE637303570870556330().executeScript();
2020-07-14 20:58:07,087 [19] INFO - ---------
2020-07-14 20:58:07,088 [19] INFO - Information: 0 :
2020-07-14 20:58:07,088 [19] INFO - ---------
2020-07-14 20:58:07,088 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2004.
2020-07-14 20:58:07,088 [19] INFO - Information: 0 :
2020-07-14 20:58:07,088 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2004.
2020-07-14 20:58:07,088 [19] INFO - ---------
2020-07-14 20:58:07,088 [19] INFO - Information: 0 :
2020-07-14 20:58:07,088 [19] INFO - ---------
2020-07-14 20:58:07,089 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,089 [19] INFO - Information: 0 :
2020-07-14 20:58:07,089 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,090 [19] INFO - ---------
2020-07-14 20:58:07,090 [19] INFO - Information: 0 :
2020-07-14 20:58:07,090 [19] INFO - ---------
2020-07-14 20:58:07,090 [19] INFO - function SE637303570870896349() {}
SE637303570870896349.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 SE637303570870896349().executeScript();
2020-07-14 20:58:07,090 [19] INFO - Information: 0 :
2020-07-14 20:58:07,091 [19] INFO - function SE637303570870896349() {}
SE637303570870896349.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 SE637303570870896349().executeScript();
2020-07-14 20:58:07,091 [19] INFO - ---------
2020-07-14 20:58:07,091 [19] INFO - Information: 0 :
2020-07-14 20:58:07,091 [19] INFO - ---------
2020-07-14 20:58:07,093 [19] INFO - Information: 0 :
2020-07-14 20:58:07,093 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,095 [19] INFO - Information: 0 :
2020-07-14 20:58:07,095 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,095 [19] INFO - Information: 0 :
2020-07-14 20:58:07,095 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,096 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 798 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:07,096 [19] INFO - Entering 'ensureContentCopy' for image 451, article 1466, size 449.
2020-07-14 20:58:07,097 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1466, image ID = 451, maxWidthInPixel = 449.
2020-07-14 20:58:07,097 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.).
2020-07-14 20:58:07,097 [19] INFO - Leaving 'ensureContentCopy' for image 451, article 1466, size „449“, reason = not created (Never create content copy for preview.)
2020-07-14 20:58:07,098 [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:07,105 [19] INFO - [GetImageSizeInPixel - B2] getting image size 1836x3264 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\d1c8a29a01384a22b972cce4ce8c1694.jpg“ live from file.
2020-07-14 20:58:07,105 [19] INFO - Returning live-calculated image size for image with ID 451, file version „ContentCopy“ of 1836×3264 pixels.
2020-07-14 20:58:07,105 [19] INFO - Returning cached image size for image with ID 451, file version „ContentCopy“ of 1836×3264 pixels.
2020-07-14 20:58:07,107 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,107 [19] INFO - Information: 0 :
2020-07-14 20:58:07,107 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,107 [19] INFO - ---------
2020-07-14 20:58:07,107 [19] INFO - Information: 0 :
2020-07-14 20:58:07,107 [19] INFO - ---------
2020-07-14 20:58:07,107 [19] INFO - function SE637303570871076359() {}
SE637303570871076359.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 SE637303570871076359().executeScript();
2020-07-14 20:58:07,108 [19] INFO - Information: 0 :
2020-07-14 20:58:07,108 [19] INFO - function SE637303570871076359() {}
SE637303570871076359.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 SE637303570871076359().executeScript();
2020-07-14 20:58:07,108 [19] INFO - ---------
2020-07-14 20:58:07,108 [19] INFO - Information: 0 :
2020-07-14 20:58:07,108 [19] INFO - ---------
2020-07-14 20:58:07,113 [19] INFO - Information: 0 :
2020-07-14 20:58:07,113 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,115 [19] INFO - Information: 0 :
2020-07-14 20:58:07,115 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,115 [19] INFO - Information: 0 :
2020-07-14 20:58:07,115 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,116 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,116 [19] INFO - Information: 0 :
2020-07-14 20:58:07,116 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,117 [19] INFO - ---------
2020-07-14 20:58:07,117 [19] INFO - Information: 0 :
2020-07-14 20:58:07,117 [19] INFO - ---------
2020-07-14 20:58:07,119 [19] INFO - function SE637303570871076359() {}
SE637303570871076359.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 SE637303570871076359().executeScript();
2020-07-14 20:58:07,119 [19] INFO - Information: 0 :
2020-07-14 20:58:07,119 [19] INFO - function SE637303570871076359() {}
SE637303570871076359.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 SE637303570871076359().executeScript();
2020-07-14 20:58:07,119 [19] INFO - ---------
2020-07-14 20:58:07,119 [19] INFO - Information: 0 :
2020-07-14 20:58:07,119 [19] INFO - ---------
2020-07-14 20:58:07,120 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2005.
2020-07-14 20:58:07,120 [19] INFO - Information: 0 :
2020-07-14 20:58:07,120 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2005.
2020-07-14 20:58:07,120 [19] INFO - ---------
2020-07-14 20:58:07,120 [19] INFO - Information: 0 :
2020-07-14 20:58:07,120 [19] INFO - ---------
2020-07-14 20:58:07,120 [19] INFO - [system.partial] „article-begin.html“ 13 ms „[0, popupimage]“
2020-07-14 20:58:07,120 [19] INFO - Information: 0 :
2020-07-14 20:58:07,120 [19] INFO - [system.partial] „article-begin.html“ 13 ms „[0, popupimage]“
2020-07-14 20:58:07,122 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,122 [19] INFO - Information: 0 :
2020-07-14 20:58:07,122 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,122 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,123 [19] INFO - Information: 0 :
2020-07-14 20:58:07,123 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,123 [19] INFO - ---------
2020-07-14 20:58:07,123 [19] INFO - Information: 0 :
2020-07-14 20:58:07,123 [19] INFO - ---------
2020-07-14 20:58:07,123 [19] INFO - function SE637303570870896349() {}
SE637303570870896349.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 SE637303570870896349().executeScript();
2020-07-14 20:58:07,124 [19] INFO - Information: 0 :
2020-07-14 20:58:07,124 [19] INFO - function SE637303570870896349() {}
SE637303570870896349.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 SE637303570870896349().executeScript();
2020-07-14 20:58:07,124 [19] INFO - ---------
2020-07-14 20:58:07,124 [19] INFO - Information: 0 :
2020-07-14 20:58:07,124 [19] INFO - ---------
2020-07-14 20:58:07,124 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2006.
2020-07-14 20:58:07,125 [19] INFO - Information: 0 :
2020-07-14 20:58:07,125 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2006.
2020-07-14 20:58:07,125 [19] INFO - ---------
2020-07-14 20:58:07,125 [19] INFO - Information: 0 :
2020-07-14 20:58:07,125 [19] INFO - ---------
2020-07-14 20:58:07,125 [19] INFO - Information: 0 :
2020-07-14 20:58:07,126 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,127 [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:07,128 [19] INFO - Information: 0 :
2020-07-14 20:58:07,128 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,128 [19] INFO - Information: 0 :
2020-07-14 20:58:07,128 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,132 [19] INFO - Information: 0 :
2020-07-14 20:58:07,132 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,134 [19] INFO - Information: 0 :
2020-07-14 20:58:07,134 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,134 [19] INFO - Information: 0 :
2020-07-14 20:58:07,134 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,136 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,136 [19] INFO - Information: 0 :
2020-07-14 20:58:07,136 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,136 [19] INFO - ---------
2020-07-14 20:58:07,136 [19] INFO - Information: 0 :
2020-07-14 20:58:07,136 [19] INFO - ---------
2020-07-14 20:58:07,136 [19] INFO - function SE637303570871356375() {}
SE637303570871356375.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 SE637303570871356375().executeScript();
2020-07-14 20:58:07,137 [19] INFO - Information: 0 :
2020-07-14 20:58:07,137 [19] INFO - function SE637303570871356375() {}
SE637303570871356375.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 SE637303570871356375().executeScript();
2020-07-14 20:58:07,138 [19] INFO - ---------
2020-07-14 20:58:07,138 [19] INFO - Information: 0 :
2020-07-14 20:58:07,138 [19] INFO - ---------
2020-07-14 20:58:07,140 [19] INFO - Information: 0 :
2020-07-14 20:58:07,140 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,142 [19] INFO - Information: 0 :
2020-07-14 20:58:07,142 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,142 [19] INFO - Information: 0 :
2020-07-14 20:58:07,142 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,142 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:07,143 [19] INFO - Information: 0 :
2020-07-14 20:58:07,143 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,144 [19] INFO - Information: 0 :
2020-07-14 20:58:07,144 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,144 [19] INFO - Information: 0 :
2020-07-14 20:58:07,145 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,145 [19] INFO - Entering 'ensureContentCopy' for image 448, article 1463, size 449.
2020-07-14 20:58:07,145 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1463, image ID = 448, maxWidthInPixel = 449.
2020-07-14 20:58:07,145 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.).
2020-07-14 20:58:07,146 [19] INFO - Leaving 'ensureContentCopy' for image 448, article 1463, size „449“, reason = not created (Never create content copy for preview.)
2020-07-14 20:58:07,154 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\89c8a10f1f864a1ea6e37f16b4fe0bee.jpg“ live from file.
2020-07-14 20:58:07,154 [19] INFO - Returning live-calculated image size for image with ID 448, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,155 [19] INFO - Returning cached image size for image with ID 448, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,156 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,156 [19] INFO - Information: 0 :
2020-07-14 20:58:07,156 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,156 [19] INFO - ---------
2020-07-14 20:58:07,156 [19] INFO - Information: 0 :
2020-07-14 20:58:07,156 [19] INFO - ---------
2020-07-14 20:58:07,157 [19] INFO - function SE637303570871566387() {}
SE637303570871566387.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 SE637303570871566387().executeScript();
2020-07-14 20:58:07,157 [19] INFO - Information: 0 :
2020-07-14 20:58:07,157 [19] INFO - function SE637303570871566387() {}
SE637303570871566387.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 SE637303570871566387().executeScript();
2020-07-14 20:58:07,157 [19] INFO - ---------
2020-07-14 20:58:07,157 [19] INFO - Information: 0 :
2020-07-14 20:58:07,157 [19] INFO - ---------
2020-07-14 20:58:07,159 [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:07,162 [19] INFO - Information: 0 :
2020-07-14 20:58:07,162 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,164 [19] INFO - Information: 0 :
2020-07-14 20:58:07,164 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,164 [19] INFO - Information: 0 :
2020-07-14 20:58:07,164 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,165 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,165 [19] INFO - Information: 0 :
2020-07-14 20:58:07,166 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,166 [19] INFO - ---------
2020-07-14 20:58:07,166 [19] INFO - Information: 0 :
2020-07-14 20:58:07,166 [19] INFO - ---------
2020-07-14 20:58:07,166 [19] INFO - function SE637303570871566387() {}
SE637303570871566387.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 SE637303570871566387().executeScript();
2020-07-14 20:58:07,166 [19] INFO - Information: 0 :
2020-07-14 20:58:07,166 [19] INFO - function SE637303570871566387() {}
SE637303570871566387.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 SE637303570871566387().executeScript();
2020-07-14 20:58:07,167 [19] INFO - ---------
2020-07-14 20:58:07,167 [19] INFO - Information: 0 :
2020-07-14 20:58:07,167 [19] INFO - ---------
2020-07-14 20:58:07,167 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2007.
2020-07-14 20:58:07,167 [19] INFO - Information: 0 :
2020-07-14 20:58:07,167 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2007.
2020-07-14 20:58:07,167 [19] INFO - ---------
2020-07-14 20:58:07,167 [19] INFO - Information: 0 :
2020-07-14 20:58:07,167 [19] INFO - ---------
2020-07-14 20:58:07,167 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,168 [19] INFO - Information: 0 :
2020-07-14 20:58:07,168 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,169 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,169 [19] INFO - Information: 0 :
2020-07-14 20:58:07,169 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,170 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,170 [19] INFO - Information: 0 :
2020-07-14 20:58:07,170 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,170 [19] INFO - ---------
2020-07-14 20:58:07,170 [19] INFO - Information: 0 :
2020-07-14 20:58:07,170 [19] INFO - ---------
2020-07-14 20:58:07,170 [19] INFO - function SE637303570871356375() {}
SE637303570871356375.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 SE637303570871356375().executeScript();
2020-07-14 20:58:07,171 [19] INFO - Information: 0 :
2020-07-14 20:58:07,171 [19] INFO - function SE637303570871356375() {}
SE637303570871356375.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 SE637303570871356375().executeScript();
2020-07-14 20:58:07,171 [19] INFO - ---------
2020-07-14 20:58:07,171 [19] INFO - Information: 0 :
2020-07-14 20:58:07,172 [19] INFO - ---------
2020-07-14 20:58:07,172 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2008.
2020-07-14 20:58:07,172 [19] INFO - Information: 0 :
2020-07-14 20:58:07,172 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2008.
2020-07-14 20:58:07,172 [19] INFO - ---------
2020-07-14 20:58:07,172 [19] INFO - Information: 0 :
2020-07-14 20:58:07,172 [19] INFO - ---------
2020-07-14 20:58:07,173 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,173 [19] INFO - Information: 0 :
2020-07-14 20:58:07,173 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,173 [19] INFO - ---------
2020-07-14 20:58:07,174 [19] INFO - Information: 0 :
2020-07-14 20:58:07,174 [19] INFO - ---------
2020-07-14 20:58:07,174 [19] INFO - function SE637303570871736397() {}
SE637303570871736397.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 SE637303570871736397().executeScript();
2020-07-14 20:58:07,174 [19] INFO - Information: 0 :
2020-07-14 20:58:07,175 [19] INFO - function SE637303570871736397() {}
SE637303570871736397.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 SE637303570871736397().executeScript();
2020-07-14 20:58:07,175 [19] INFO - ---------
2020-07-14 20:58:07,175 [19] INFO - Information: 0 :
2020-07-14 20:58:07,175 [19] INFO - ---------
2020-07-14 20:58:07,177 [19] INFO - Information: 0 :
2020-07-14 20:58:07,177 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,179 [19] INFO - Information: 0 :
2020-07-14 20:58:07,179 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,179 [19] INFO - Information: 0 :
2020-07-14 20:58:07,179 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,180 [19] INFO - [SetContentCopyImageSizeInPixel] 449 x 337 pixels for output flavor „Output“. Laden von Bild-Asset.
2020-07-14 20:58:07,180 [19] INFO - Entering 'ensureContentCopy' for image 450, article 1465, size 449.
2020-07-14 20:58:07,181 [19] INFO - Called 'createContentCopy' scripting function with article ID = 1465, image ID = 450, maxWidthInPixel = 449.
2020-07-14 20:58:07,181 [19] INFO - 'createContentCopy': NO content copy created (Never create content copy for preview.).
2020-07-14 20:58:07,181 [19] INFO - Leaving 'ensureContentCopy' for image 450, article 1465, size „449“, reason = not created (Never create content copy for preview.)
2020-07-14 20:58:07,189 [19] INFO - [GetImageSizeInPixel - B2] getting image size 2048x1536 for working copy image „C:\Users\DieGohliser\OneDrive\OneDriveDaten\Projects\Willi\content\media\images\0d602fa6357240779c785791c0856905.jpg“ live from file.
2020-07-14 20:58:07,190 [19] INFO - Returning live-calculated image size for image with ID 450, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,190 [19] INFO - Returning cached image size for image with ID 450, file version „ContentCopy“ of 2048×1536 pixels.
2020-07-14 20:58:07,191 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,191 [19] INFO - Information: 0 :
2020-07-14 20:58:07,191 [19] INFO - About to execute the following script:
2020-07-14 20:58:07,192 [19] INFO - ---------
2020-07-14 20:58:07,192 [19] INFO - Information: 0 :
2020-07-14 20:58:07,192 [19] INFO - ---------
2020-07-14 20:58:07,192 [19] INFO - function SE637303570871916407() {}
SE637303570871916407.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 SE637303570871916407().executeScript();
2020-07-14 20:58:07,192 [19] INFO - Information: 0 :
2020-07-14 20:58:07,192 [19] INFO - function SE637303570871916407() {}
SE637303570871916407.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 SE637303570871916407().executeScript();
2020-07-14 20:58:07,192 [19] INFO - ---------
2020-07-14 20:58:07,192 [19] INFO - Information: 0 :
2020-07-14 20:58:07,193 [19] INFO - ---------
2020-07-14 20:58:07,197 [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:07,197 [19] INFO - Information: 0 :
2020-07-14 20:58:07,198 [19] INFO - [LockGuard] Entering locking for lock with hash '35528341', from thread #19 ('').
2020-07-14 20:58:07,200 [19] INFO - Information: 0 :
2020-07-14 20:58:07,200 [19] INFO - [LockGuard] Disposing for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,200 [19] INFO - Information: 0 :
2020-07-14 20:58:07,200 [19] INFO - [LockGuard] Exiting locking for lock with hash '35528341', from thread #19 (''). Initial thread was #19 ('').
2020-07-14 20:58:07,201 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,201 [19] INFO - Information: 0 :
2020-07-14 20:58:07,201 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,201 [19] INFO - ---------
2020-07-14 20:58:07,201 [19] INFO - Information: 0 :
2020-07-14 20:58:07,201 [19] INFO - ---------
2020-07-14 20:58:07,201 [19] INFO - function SE637303570871916407() {}
SE637303570871916407.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 SE637303570871916407().executeScript();
2020-07-14 20:58:07,202 [19] INFO - Information: 0 :
2020-07-14 20:58:07,202 [19] INFO - function SE637303570871916407() {}
SE637303570871916407.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 SE637303570871916407().executeScript();
2020-07-14 20:58:07,202 [19] INFO - ---------
2020-07-14 20:58:07,202 [19] INFO - Information: 0 :
2020-07-14 20:58:07,202 [19] INFO - ---------
2020-07-14 20:58:07,202 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2009.
2020-07-14 20:58:07,202 [19] INFO - Information: 0 :
2020-07-14 20:58:07,202 [19] INFO - Statistiken — Gesamte Skript-Aufrufe: 2009.
2020-07-14 20:58:07,203 [19] INFO - ---------
2020-07-14 20:58:07,203 [19] INFO - Information: 0 :
2020-07-14 20:58:07,203 [19] INFO - ---------
2020-07-14 20:58:07,203 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,203 [19] INFO - Information: 0 :
2020-07-14 20:58:07,203 [19] INFO - [system.partial] „article-begin.html“ 11 ms „[0, popupimage]“
2020-07-14 20:58:07,205 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,205 [19] INFO - Information: 0 :
2020-07-14 20:58:07,205 [19] INFO - [system.partial] „article-end.html“ 0 ms „“
2020-07-14 20:58:07,205 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,205 [19] INFO - Information: 0 :
2020-07-14 20:58:07,205 [19] INFO - Finished executing the following script:
2020-07-14 20:58:07,205 [19] INFO - ---------
2020-07-14 20:58:07,205 [19] INFO - Information: 0 :
2020-07-14 20:58:07,206 [19] INFO - ---------
2020-07-14 20:58:07,206 [19] INFO - function SE637303570871736397() {}
SE637303570871736397.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 SE637303570871736397().executeScript();
2020-07-14 20:58:07,206 [19] INFO - Information: 0 :
2020-07-14 20:58:07,206 [19] INFO - function SE637303570871736397() {}
SE637303570871736397.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 SE637303570871736397().executeScript();
----------------------------------------