Commit ed1c5c65 authored by Tatuya Kamada's avatar Tatuya Kamada

py2zope4: Special charactors in XML should be in CDATA (or escaping)

parent c5ded6d6
...@@ -131,6 +131,7 @@ if document_output_type == "footer": ...@@ -131,6 +131,7 @@ if document_output_type == "footer":
<link rel="stylesheet" href="css/custom_pdf.css?portal_skin=CI_slideshow" /> <link rel="stylesheet" href="css/custom_pdf.css?portal_skin=CI_slideshow" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -141,6 +142,7 @@ if document_output_type == "footer": ...@@ -141,6 +142,7 @@ if document_output_type == "footer":
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-presentation" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-presentation" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -28,6 +28,7 @@ Generates the letter header ...@@ -28,6 +28,7 @@ Generates the letter header
<link rel="stylesheet" tal:attributes="href letter_theme_css_url" /> <link rel="stylesheet" tal:attributes="href letter_theme_css_url" />
<link rel="stylesheet" tal:attributes="href letter_template_css_url" /> <link rel="stylesheet" tal:attributes="href letter_template_css_url" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -38,6 +39,7 @@ Generates the letter header ...@@ -38,6 +39,7 @@ Generates the letter header
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-letter" onload="setPlaceholdersWithUrlParameters();"> <body class="ci-letter" onload="setPlaceholdersWithUrlParameters();">
......
...@@ -57,6 +57,7 @@ Generates the complete book (only called in HTML version) ...@@ -57,6 +57,7 @@ Generates the complete book (only called in HTML version)
</tal:block> </tal:block>
</tal:block> </tal:block>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -67,6 +68,7 @@ Generates the complete book (only called in HTML version) ...@@ -67,6 +68,7 @@ Generates the complete book (only called in HTML version)
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<tal:block tal:condition="python: margin_15mm"> <tal:block tal:condition="python: margin_15mm">
......
...@@ -32,6 +32,7 @@ Creates the Book header. ...@@ -32,6 +32,7 @@ Creates the Book header.
<link rel="stylesheet" tal:attributes="href book_theme_css_url" /> <link rel="stylesheet" tal:attributes="href book_theme_css_url" />
<link rel="stylesheet" tal:attributes="href book_template_css_url" /> <link rel="stylesheet" tal:attributes="href book_template_css_url" />
<script type="text/javascript"> <script type="text/javascript">
//<![[CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -50,6 +51,7 @@ Creates the Book header. ...@@ -50,6 +51,7 @@ Creates the Book header.
pic.style.height = "auto"; pic.style.height = "auto";
} }
} }
//]]>
</script> </script>
</head> </head>
<tal:block tal:condition="python: margin_15mm"> <tal:block tal:condition="python: margin_15mm">
......
...@@ -56,6 +56,7 @@ Generates the complete contract (only called in HTML version) ...@@ -56,6 +56,7 @@ Generates the complete contract (only called in HTML version)
</tal:block> </tal:block>
</tal:block> </tal:block>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -66,6 +67,7 @@ Generates the complete contract (only called in HTML version) ...@@ -66,6 +67,7 @@ Generates the complete contract (only called in HTML version)
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-contract" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-contract" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -26,6 +26,7 @@ Creates the Contract footer. ...@@ -26,6 +26,7 @@ Creates the Contract footer.
<link rel="stylesheet" tal:attributes="href contract_theme_css_url" /> <link rel="stylesheet" tal:attributes="href contract_theme_css_url" />
<link rel="stylesheet" tal:attributes="href contract_template_css_url" /> <link rel="stylesheet" tal:attributes="href contract_template_css_url" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -36,6 +37,7 @@ Creates the Contract footer. ...@@ -36,6 +37,7 @@ Creates the Contract footer.
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-contract" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-contract" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -31,6 +31,7 @@ Creates the Contract header. ...@@ -31,6 +31,7 @@ Creates the Contract header.
<link rel="stylesheet" tal:attributes="href contract_theme_css_url" /> <link rel="stylesheet" tal:attributes="href contract_theme_css_url" />
<link rel="stylesheet" tal:attributes="href contract_template_css_url" /> <link rel="stylesheet" tal:attributes="href contract_template_css_url" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -43,12 +44,13 @@ Creates the Contract header. ...@@ -43,12 +44,13 @@ Creates the Contract header.
} }
function setImageSize(pic) { function setImageSize(pic) {
if (pic.naturalWidth / pic.naturalHeight <= 1) { if (pic.naturalWidth / pic.naturalHeight <= 1) {
pic.style.width = "auto"; pic.style.width = 'auto';
pic.style.maxWidth = "28mm"; pic.style.maxWidth = '28mm';
pic.style.maxHeight = "28mm"; pic.style.maxHeight = '28mm';
pic.style.height = "auto"; pic.style.height = 'auto';
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-contract" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-contract" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -48,6 +48,7 @@ Generates the complete leaflet ...@@ -48,6 +48,7 @@ Generates the complete leaflet
<style type="text/css" tal:content="python: leaflet_css"></style> <style type="text/css" tal:content="python: leaflet_css"></style>
</tal:block> </tal:block>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -58,6 +59,7 @@ Generates the complete leaflet ...@@ -58,6 +59,7 @@ Generates the complete leaflet
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -28,6 +28,7 @@ Generate the leaflet footer ...@@ -28,6 +28,7 @@ Generate the leaflet footer
<link rel="stylesheet" tal:attributes="href leaflet_theme_css_url" /> <link rel="stylesheet" tal:attributes="href leaflet_theme_css_url" />
<link rel="stylesheet" tal:attributes="href leaflet_template_css_url" /> <link rel="stylesheet" tal:attributes="href leaflet_template_css_url" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -38,6 +39,7 @@ Generate the leaflet footer ...@@ -38,6 +39,7 @@ Generate the leaflet footer
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -39,6 +39,7 @@ Generates the complete press release ...@@ -39,6 +39,7 @@ Generates the complete press release
<style type="text/css" tal:content="python: release_css"></style> <style type="text/css" tal:content="python: release_css"></style>
</tal:block> </tal:block>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -49,6 +50,7 @@ Generates the complete press release ...@@ -49,6 +50,7 @@ Generates the complete press release
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]
</script> </script>
</head> </head>
<body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -28,6 +28,7 @@ Generate the press release footer ...@@ -28,6 +28,7 @@ Generate the press release footer
<link rel="stylesheet" tal:attributes="href release_theme_css_url" /> <link rel="stylesheet" tal:attributes="href release_theme_css_url" />
<link rel="stylesheet" tal:attributes="href release_template_css_url" /> <link rel="stylesheet" tal:attributes="href release_template_css_url" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -38,6 +39,7 @@ Generate the press release footer ...@@ -38,6 +39,7 @@ Generate the press release footer
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -38,6 +38,7 @@ Generates the complete slideshow ...@@ -38,6 +38,7 @@ Generates the complete slideshow
<link rel="stylesheet" tal:attributes="href doc_template_css_url" /> <link rel="stylesheet" tal:attributes="href doc_template_css_url" />
<style type="text/css" tal:content="structure doc_css"></style> <style type="text/css" tal:content="structure doc_css"></style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -48,6 +49,7 @@ Generates the complete slideshow ...@@ -48,6 +49,7 @@ Generates the complete slideshow
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -37,6 +37,7 @@ Creates the Slideshow footer section. ...@@ -37,6 +37,7 @@ Creates the Slideshow footer section.
<link rel="stylesheet" tal:attributes="href python: doc_template_css_url" /> <link rel="stylesheet" tal:attributes="href python: doc_template_css_url" />
<style type="text/css" tal:content="structure doc_css"></style> <style type="text/css" tal:content="structure doc_css"></style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -47,6 +48,7 @@ Creates the Slideshow footer section. ...@@ -47,6 +48,7 @@ Creates the Slideshow footer section.
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<link rel="stylesheet" href="template_css/highlight.css" /> <link rel="stylesheet" href="template_css/highlight.css" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -22,6 +23,7 @@ ...@@ -22,6 +23,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<link rel="stylesheet" href="template_css/highlight.css" /> <link rel="stylesheet" href="template_css/highlight.css" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -22,6 +23,7 @@ ...@@ -22,6 +23,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<link rel="stylesheet" href="template_css/highlight.css" /> <link rel="stylesheet" href="template_css/highlight.css" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -22,6 +23,7 @@ ...@@ -22,6 +23,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<link rel="stylesheet" href="template_css/highlight.css" /> <link rel="stylesheet" href="template_css/highlight.css" />
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -22,6 +23,7 @@ ...@@ -22,6 +23,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<style type="text/css">html .ci-leaflet #left-summary:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}html .ci-leaflet #legalese:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;content: "";display: block;height: 60px;}</style> <style type="text/css">html .ci-leaflet #left-summary:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}html .ci-leaflet #legalese:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;content: "";display: block;height: 60px;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<style type="text/css">html .ci-leaflet #left-summary:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}html .ci-leaflet #legalese:before {background: url("organisation_module/template_test_association/default_image?format=png") center no-repeat;background-size: contain;content: "";display: block;height: 60px;}</style> <style type="text/css">html .ci-leaflet #left-summary:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}html .ci-leaflet #legalese:before {background: url("organisation_module/template_test_association/default_image?format=png") center no-repeat;background-size: contain;content: "";display: block;height: 60px;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<style type="text/css">html .ci-leaflet #left-summary:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}html .ci-leaflet #legalese:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;content: "";display: block;height: 60px;}</style> <style type="text/css">html .ci-leaflet #left-summary:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}html .ci-leaflet #legalese:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;content: "";display: block;height: 60px;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-leaflet" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<style type="text/css">html .ci-press-release .ci-press-release-logo:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}</style> <style type="text/css">html .ci-press-release .ci-press-release-logo:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<style type="text/css">html .ci-press-release .ci-press-release-logo:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}</style> <style type="text/css">html .ci-press-release .ci-press-release-logo:before {background: url("image_module/template_test_image_logo_png?format=png") center no-repeat;background-size: contain;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-press-release" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<link rel="stylesheet" href="template_css/slide.css" /> <link rel="stylesheet" href="template_css/slide.css" />
<style type="text/css">.ci-slideshow-intro.present:not(.slide-background):before {content: "";background: #FFF url("image_module/template_test_image_logo_png?format=png&display=medium") center no-repeat;}</style> <style type="text/css">.ci-slideshow-intro.present:not(.slide-background):before {content: "";background: #FFF url("image_module/template_test_image_logo_png?format=png&display=medium") center no-repeat;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<link rel="stylesheet" href="template_css/slide.css" /> <link rel="stylesheet" href="template_css/slide.css" />
<style type="text/css">.ci-slideshow-intro.present:not(.slide-background):before {content: "";background: #FFF url("image_module/template_test_image_logo_png?format=png&display=medium") center no-repeat;}</style> <style type="text/css">.ci-slideshow-intro.present:not(.slide-background):before {content: "";background: #FFF url("image_module/template_test_image_logo_png?format=png&display=medium") center no-repeat;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()">
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<link rel="stylesheet" href="template_css/slide.css" /> <link rel="stylesheet" href="template_css/slide.css" />
<style type="text/css">.ci-slideshow-intro.present:not(.slide-background):before {content: "";background: #FFF url("image_module/template_test_image_logo_png?format=png&display=medium") center no-repeat;}</style> <style type="text/css">.ci-slideshow-intro.present:not(.slide-background):before {content: "";background: #FFF url("image_module/template_test_image_logo_png?format=png&display=medium") center no-repeat;}</style>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[
function setPlaceholdersWithUrlParameters() { function setPlaceholdersWithUrlParameters() {
var vars={}; var vars={};
var x=window.location.search.substring(1).split('&'); var x=window.location.search.substring(1).split('&');
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
} }
} }
//]]>
</script> </script>
</head> </head>
<body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()"> <body class="ci-slideshow" onload="setPlaceholdersWithUrlParameters()">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment