0 | file:/www/deutrik/fad-server/class/system/util/File.php line:51 file_put_contents(/mnt/global/deutrik/tmp/cache/web/blog/40/cms_comment_CommentDSH/800e78b3454228c2c1436ed5aea0c211.temp1989655249): failed to open stream: No such file or directory(2) |
0 | 2 |
1 | file_put_contents(/mnt/global/deutrik/tmp/cache/web/blog/40/cms_comment_CommentDSH/800e78b3454228c2c1436ed5aea0c211.temp1989655249): failed to open stream: No such file or directory |
2 | /www/deutrik/fad-server/class/system/util/File.php |
3 | 51 |
4 | Array(6) a:6:{s:4:"file";s:97:"/mnt/global/deutrik/tmp/cache/web/blog/40/cms_comment_CommentDSH/800e78b3454228c2c1436ed5aea0c211";s:7:"content";s:906:"<Data name="cms_comment_commentdsh" host="192.168.190.1"><Header><Filter><filter><holder>40</holder><id>10120</id><page>index</page><_current_holder>40</_current_holder></filter></Filter><DataGrid> <Attr name="nr" type="int4"/><Attr name="name" type="varchar"/><Attr name="page" type="varchar"/><Attr name="email" type="varchar"/><Attr name="comment" type="text"/><Attr name="holder" type="int8"/><Attr name="created" type="timestamp"/><Attr name="title" type="varchar"/><Attr name="holder_authorized" type="bool"/><Attr name="referrer" type="int4"/><Attr name="id" type="int4"/><Attr name="status" type="int2"/><Attr name="note" type="text"/><Attr name="last_answerer" type="varchar"/><Attr name="rss_date" type="text"/><Attr name="last_modified" type="timestamp"/><Attr name="anzahl" type="int8"/></DataGrid> </Header><Content rows='0'> <DataError>keine Einträge</DataError></Content><Footer/></Data>";s:22:"suppress_error_handler";b:0;s:4:"lock";s:102:"/mnt/global/deutrik/tmp/cache/web/blog/40/cms_comment_CommentDSH/800e78b3454228c2c1436ed5aea0c211.lock";s:4:"temp";s:112:"/mnt/global/deutrik/tmp/cache/web/blog/40/cms_comment_CommentDSH/800e78b3454228c2c1436ed5aea0c211.temp1989655249";s:1:"i";i:60;} |
0 | /mnt/global/deutrik/tmp/cache/web/blog/40/cms_comment_CommentDSH/800e78b3454228c2c1436ed5aea0c211.temp1989655249 |
1 | <Data name="cms_comment_commentdsh" host="192.168.190.1"><Header><Filter><filter><holder>40</holder><id>10120</id><page>index</page><_current_holder>40</_current_holder></filter></Filter><DataGrid> <Attr name="nr" type="int4"/><Attr name="name" type="varchar"/><Attr name="page" type="varchar"/><Attr name="email" type="varchar"/><Attr name="comment" type="text"/><Attr name="holder" type="int8"/><Attr name="created" type="timestamp"/><Attr name="title" type="varchar"/><Attr name="holder_authorized" type="bool"/><Attr name="referrer" type="int4"/><Attr name="id" type="int4"/><Attr name="status" type="int2"/><Attr name="note" type="text"/><Attr name="last_answerer" type="varchar"/><Attr name="rss_date" type="text"/><Attr name="last_modified" type="timestamp"/><Attr name="anzahl" type="int8"/></DataGrid> </Header><Content rows='0'> <DataError>keine Einträge</DataError></Content><Footer/></Data> |
0 | /mnt/global/deutrik/tmp/cache/web/blog/40/cms_comment_CommentDSH/800e78b3454228c2c1436ed5aea0c211 |
1 | <Data name="cms_comment_commentdsh" host="192.168.190.1"><Header><Filter><filter><holder>40</holder><id>10120</id><page>index</page><_current_holder>40</_current_holder></filter></Filter><DataGrid> <Attr name="nr" type="int4"/><Attr name="name" type="varchar"/><Attr name="page" type="varchar"/><Attr name="email" type="varchar"/><Attr name="comment" type="text"/><Attr name="holder" type="int8"/><Attr name="created" type="timestamp"/><Attr name="title" type="varchar"/><Attr name="holder_authorized" type="bool"/><Attr name="referrer" type="int4"/><Attr name="id" type="int4"/><Attr name="status" type="int2"/><Attr name="note" type="text"/><Attr name="last_answerer" type="varchar"/><Attr name="rss_date" type="text"/><Attr name="last_modified" type="timestamp"/><Attr name="anzahl" type="int8"/></DataGrid> </Header><Content rows='0'> <DataError>keine Einträge</DataError></Content><Footer/></Data> |
0 | <Data name="cms_comment_commentdsh" host="192.168.190.1"><Header><Filter><filter><holder>40</holder><id>10120</id><page>index</page><_current_holder>40</_current_holder></filter></Filter><DataGrid> <Attr name="nr" type="int4"/><Attr name="name" type="varchar"/><Attr name="page" type="varchar"/><Attr name="email" type="varchar"/><Attr name="comment" type="text"/><Attr name="holder" type="int8"/><Attr name="created" type="timestamp"/><Attr name="title" type="varchar"/><Attr name="holder_authorized" type="bool"/><Attr name="referrer" type="int4"/><Attr name="id" type="int4"/><Attr name="status" type="int2"/><Attr name="note" type="text"/><Attr name="last_answerer" type="varchar"/><Attr name="rss_date" type="text"/><Attr name="last_modified" type="timestamp"/><Attr name="anzahl" type="int8"/></DataGrid> </Header><Content rows='0'> <DataError>keine Einträge</DataError></Content><Footer/></Data> |
0 | <Data name="cms_comment_commentdsh" host="192.168.190.1"><Header><Filter><filter><holder>40</holder><id>10120</id><page>index</page><_current_holder>40</_current_holder></filter></Filter><DataGrid> <Attr name="nr" type="int4"/><Attr name="name" type="varchar"/><Attr name="page" type="varchar"/><Attr name="email" type="varchar"/><Attr name="comment" type="text"/><Attr name="holder" type="int8"/><Attr name="created" type="timestamp"/><Attr name="title" type="varchar"/><Attr name="holder_authorized" type="bool"/><Attr name="referrer" type="int4"/><Attr name="id" type="int4"/><Attr name="status" type="int2"/><Attr name="note" type="text"/><Attr name="last_answerer" type="varchar"/><Attr name="rss_date" type="text"/><Attr name="last_modified" type="timestamp"/><Attr name="anzahl" type="int8"/></DataGrid> </Header><Content rows='0'> <DataError>keine Einträge</DataError></Content><Footer/></Data> |
0 | <Data name="cms_comment_commentdsh" host="192.168.190.1"><Header><Filter><filter><holder>40</holder><id>10120</id><page>index</page><_current_holder>40</_current_holder></filter></Filter><DataGrid> <Attr name="nr" type="int4"/><Attr name="name" type="varchar"/><Attr name="page" type="varchar"/><Attr name="email" type="varchar"/><Attr name="comment" type="text"/><Attr name="holder" type="int8"/><Attr name="created" type="timestamp"/><Attr name="title" type="varchar"/><Attr name="holder_authorized" type="bool"/><Attr name="referrer" type="int4"/><Attr name="id" type="int4"/><Attr name="status" type="int2"/><Attr name="note" type="text"/><Attr name="last_answerer" type="varchar"/><Attr name="rss_date" type="text"/><Attr name="last_modified" type="timestamp"/><Attr name="anzahl" type="int8"/></DataGrid> </Header><Content rows='0'> <DataError>keine Einträge</DataError></Content><Footer/></Data> |
0 | <Data name="cms_comment_commentdsh" host="192.168.190.1"><Header><Filter><filter><holder>40</holder><id>10120</id><page>index</page><_current_holder>40</_current_holder></filter></Filter><DataGrid> <Attr name="nr" type="int4"/><Attr name="name" type="varchar"/><Attr name="page" type="varchar"/><Attr name="email" type="varchar"/><Attr name="comment" type="text"/><Attr name="holder" type="int8"/><Attr name="created" type="timestamp"/><Attr name="title" type="varchar"/><Attr name="holder_authorized" type="bool"/><Attr name="referrer" type="int4"/><Attr name="id" type="int4"/><Attr name="status" type="int2"/><Attr name="note" type="text"/><Attr name="last_answerer" type="varchar"/><Attr name="rss_date" type="text"/><Attr name="last_modified" type="timestamp"/><Attr name="anzahl" type="int8"/></DataGrid> </Header><Content rows='0'> <DataError>keine Einträge</DataError></Content><Footer/></Data> |
0 | cms_comment_CommentDSH |
1 | Array(1) a:1:{s:6:"filter";a:4:{s:6:"holder";s:2:"40";s:2:"id";s:5:"10120";s:4:"page";s:5:"index";s:15:"_current_holder";s:2:"40";}} |
2 | CACHE |
3 | False |
4 |
0 | cms_comment_CommentDSH |
1 | Array(1) a:1:{s:6:"filter";a:3:{s:6:"holder";s:2:"40";s:2:"id";s:5:"10120";s:4:"page";s:5:"index";}} |
2 | CACHE |
0 | index |
1 | 10120 |
0 | Object(DOMDocument) O:11:"DOMDocument":0:{} |
0 | mod_comment_editor |
1 | 8357 |
2 | stromanzeiger |
0 | 8357 |
0 | Object(DOMDocument) O:11:"DOMDocument":0:{} |
0 | <?xml version="1.0" encoding="utf-8"?> <content holderlogin="stromanzeiger" browser_caption="Kommentar – Ohne Fernwärme lässt sich ein Großstadthaus nicht CO2 neutral machen - CO2" nr="8372" post="10120" comment="" pdf="yes" advise="yes" description="München ist die einzige deutsche Großstadt, die ankündigte, das ganze Stadtgebiet mit Fernwärme versorgen zu wollen. Das ist an energiepolitischer Innovationskraft nicht zu unterschätzen. Zwar gibt es mittlerweile in Deutschland geschätzt rund 2 Millionen Photovoltaikanlagen. Doch die meisten sind auf dem Land. Die Gründe sind einfach:" keywords="CO2" last-modified="1571737799" comments="0" image="/content.10120.images.qgimg.fernwarmenetz-munchen.jpg" image_width="1920" image_height="1462" image_type="jpg"><metadata><schema>blog</schema><publishtype>blog</publishtype><nr>10120</nr><title>Kommentar – Ohne Fernwärme lässt sich ein Großstadthaus nicht CO2 neutral machen</title><holder>40</holder><visible_start>2019-10-22 08:10:06.017443+02</visible_start><visible_end/><created>2019-10-22 08:07:17.324557</created><img>qgimg.fernwarmenetz-munchen</img><author>59478</author><publishtype>blog</publishtype><publish_id>8624</publish_id><topic_number>26060</topic_number><imgtype>jpg</imgtype><imgmime>image/jpeg</imgmime><authorname>Robert Richter</authorname><rss_date>Tue, 22 Oct 2019 08:10:06 +0200</rss_date><show_author>t</show_author><facebook>261805524707185_404513567103046</facebook><twittered/><teaser/><source/><link/><topic>CO2</topic><topic_menu/><advertising/><comments>0</comments><alias>Kommentar---Ohne-Fernwarme-lasst-sich-ein-Grossstadthaus-nicht-CO2-neutral-machen</alias><trackbacks>0</trackbacks><vgwort_public/><vgwort_private/><vgwort_domain/><vgwort_report/><text>München ist die einzige deutsche Großstadt, die ankündigte, das ganze Stadtgebiet mit Fernwärme versorgen zu wollen. Das ist an energiepolitischer Innovationskraft nicht zu unterschätzen. Zwar gibt es mittlerweile in Deutschland geschätzt rund 2 Millionen Photovoltaikanlagen. Doch die meisten sind auf dem Land. Die Gründe sind einfach:</text><holder>40</holder><Tags><Tag>CO2</Tag></Tags><Topics/><modgroups><modgroup layout="" place="outerspace" nr="208" name="Werbung Rand"><module nr="8459" holderlogin="stromanzeiger" publishtype="mod_code" language=""/><params/></modgroup><modgroup layout="" place="navigation_head" nr="210" name="Navigation Oben"><module nr="8363" holderlogin="stromanzeiger" publishtype="mod_social_fanpage" language=""/><module nr="8364" holderlogin="stromanzeiger" publishtype="mod_social_fanpage" language=""/><params/></modgroup><modgroup layout="" place="navigation" nr="209" name="Navigation "><module nr="8351" holderlogin="stromanzeiger" publishtype="mod_search_form" language=""/><module nr="8353" holderlogin="stromanzeiger" publishtype="mod_blog_tags" language=""/><params/></modgroup><modgroup layout="" place="top-text" nr="219" name="Socialmedia Share"><module nr="8359" holderlogin="stromanzeiger" publishtype="mod_social_share" language=""/><module nr="8360" holderlogin="stromanzeiger" publishtype="mod_social_share" language=""/><module nr="8361" holderlogin="stromanzeiger" publishtype="mod_social_share" language=""/><module nr="8362" holderlogin="stromanzeiger" publishtype="mod_social_share" language=""/><params/></modgroup><modgroup layout="" place="inside1" nr="236" name="Inside1"><module nr="8447" holderlogin="stromanzeiger" publishtype="mod_code" language=""/><params/></modgroup><modgroup layout="" place="inside2" nr="237" name="Inside2"><params/></modgroup><modgroup layout="" place="bottom" nr="218" name="Unten"><module nr="8358" holderlogin="stromanzeiger" publishtype="mod_rating" language=""/><module nr="8357" holderlogin="stromanzeiger" publishtype="mod_comment_editor" language=""/><module nr="8446" holderlogin="stromanzeiger" publishtype="mod_code" language=""/><params/></modgroup><modgroup layout="" place="footer" nr="212" name="Fuss "><module nr="8356" holderlogin="stromanzeiger" publishtype="mod_sitemap" language=""/><params/></modgroup><modgroup layout="" place="footer-middle" nr="221" name="Fuss Mitte"><module nr="8364" holderlogin="stromanzeiger" publishtype="mod_social_fanpage" language=""/><module nr="8363" holderlogin="stromanzeiger" publishtype="mod_social_fanpage" language=""/><params/></modgroup><modgroup layout="" place="footer-down" nr="222" name="Fuss Unten"><module nr="8378" holderlogin="stromanzeiger" publishtype="mod_html" language=""/><params/></modgroup></modgroups><layout type="preset" name="News">news</layout><language>de</language><imagemeta><image gallery="f" name="fernwarmenetz-munchen.jpg" id="qgimg" searchname="qgimg.fernwarmenetz-munchen" imgtype="jpg" imgsize="506938" url="content.10120.images.qgimg.fernwarmenetz-munchen" width="1920" height="1462" editable="true" pos="1"><media><type>2</type><upload>2019-10-22</upload><height>1462</height><width>1920</width><title/><alt/><description>Ohne ein staatlich initiiertes flächendeckendes Fernwärmenetz geht es nicht. München ist die einzige Großstadt, welche ein solches Projekt angeht.</description><src>pixabay lizenz</src><keys/><position/><gallery>f</gallery><id/><epub/><pdf/><mp4/><cut_params><size ratio="100" cx="960" cy="731" w="1462"/><size ratio="165" cx="960" cy="731" w="1920"/><size ratio="200" cx="960" cy="731" w="1920"/><size ratio="130" cx="960" cy="731" w="1919"/></cut_params></media></image></imagemeta></metadata><author><nr>59478</nr><firstname>Robert</firstname><name>Richter</name><mail>redaktion@stromanzeiger.de</mail><loginname>robert</loginname><facebook_id/><twitter_id/><googleplus_id/><xing_id/><vgwort_cardnr/><vgwort_name/><vgwort_firstname/><cms_author_page/></author><header><script type="application/ld+json"> { "@context": "http://schema.org", "@type": "NewsArticle", "headline" : "Kommentar – Ohne Fernwärme lässt sich ein Großstadthaus nicht CO2 neutral machen - CO2", "datePublished" : "2019-10-22 08:10:06.017443+02", "keywords": "CO2", "image": [ { "@type" : "ImageObject", "url" : "https://www.stromanzeiger.de/content.10120.images.qgimg.fernwarmenetz-munchen.jpg" } ], "author": [{ "@type" : "Person", "name": "Robert Richter" } ], "publisher" : { "@type" : "Organization", "name" : "Stromanzeiger.de" } } </script><script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ {"@type":"ListItem","position":1,"item":{"@id":"https://www.stromanzeiger.de/","name":"Start"}}, {"@type":"ListItem","position":2,"item":{"@id":"https://www.stromanzeiger.de/tag/CO2/","name":"CO2"}}, {"@type":"ListItem","position":3,"item":{"@id":"https://www.stromanzeiger.de/id/10120/Kommentar---Ohne-Fernwarme-lasst-sich-ein-Grossstadthaus-nicht-CO2-neutral-machen/","name":"News"}} ] } </script></header><text><div id="blog_10120" class="page_blogreader"><div class="topic"><a href="/tag/CO2/" title="Weitere Nachrichten aus der Rubrik">CO2</a></div><div class="date"><meta itemprop="datePublished" content="2019-10-22 08:10:06.017443+02"/><meta itemprop="dateModified" content="2019-10-22 08:10:06.017443+02"/><a href="/date/2019-10-22/" title="Weitere Nachrichten vom Tag">22.10.2019</a></div><h1 class="fad_news_caption" itemprop="headline"><span class="title">Kommentar – Ohne Fernwärme lässt sich ein Großstadthaus nicht CO2 neutral machen</span></h1><img width="1920" height="1462" class="post-image" src="/content.10120.images.qgimg.fernwarmenetz-munchen.jpg" alt="cms.qgimg" meta_nr="10120" path="/content.10120.images.qgimg.fernwarmenetz-munchen" type="jpg" media="2"/><div class="author" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person"><span class="author-prefix">Von </span><span class="author-name" itemprop="name">Robert Richter</span></div><div class="post_content" itemprop="articleBody"><div class="post_chapter chapter_"><p> München ist die einzige deutsche Großstadt, die ankündigte, das ganze Stadtgebiet mit Fernwärme versorgen zu wollen. Das ist an energiepolitischer Innovationskraft nicht zu unterschätzen. Zwar gibt es mittlerweile in Deutschland geschätzt rund 2 Millionen Photovoltaikanlagen. Doch die meisten sind auf dem Land. Die Gründe sind einfach: </p> <p> Fernwärme-Systeme, die aus dem Boden oder der Luft natürliche Wärme abziehen und dann zum Heizen verwenden, lassen sich in kaum einem städtischen Mehrfamilienhaus installieren.<br/> </p> <p> Wo sollen die Anlagen hin? Ein Berliner Innenhof hat in der Regel Platz für Fahrradständer und Mühltonnen, nicht aber noch für eine Wärmepumpe. Und die Installation nach vorne zum Gehweg schließt sich ebenso aus – aus Platzgründen, wie aus ästhetischen.<br/> </p> <h2> Wo sollen die Module denn hin in einer Großstadt?<br/> </h2> <p> Ähnlich schwierig ist es mit Photovoltaik: Wo sollen die Module hin? Im 90-Gradwinkel an die Hauswände bringt nichts, da die Sonne nicht im 90 Grad-Winkel auf der Erde aufschlägt. Außerdem sind städtische Straßen eng und die Morgen- oder Abendsonne schlägt bei den wenigsten Häusern in einem einigermaßen günstigen Winkel über viele Stunden auf. </p> <p> Bliebe also in Mietshäusern beispielsweise in Köln Kalk, Berlin Prenzlauer Berg, Berlin Charlottenburg oder Hamburg Winterhude meist nur das Dach zur Installation von Solarmodulen oder Solarthermien-Anlagen. Doch Dachflächen sind klein und es können nicht genügend Solarmodule oder Solarpanele installiert werden, um alle Mieter mit Strom oder Warmwasser zu versorgen. </p> <p> Das heißt: Am Ende sind Solarmodule oder Solarpanele nur eine kleine relativ teure Ergänzung in einem städtischen Mehrfamilienhaus. Gerade die Beheizung muss nach wie vor entweder über Öl oder das deutlich billigere Gas erfolgen. Und auch Solarstrom, der theoretisch über Solarmodule auf Dächern der Mehrfamilienhäuser produziert werden könnte, reicht nun mal nicht für großstädtische Mehrfamilienhäuser.<br/> </p> <h2> Egal wie man es dreht und wendet - ohne staatlich aufgebaute massenhafte Fernwärme geht es nicht<br/> </h2> <p> Egal, wie es einige Politiker öffentlich gerne hin und her reden: Die einzige massentaugliche CO2-neutrale Lösung gerade zur Warmwasseraufbereitung, also für die Heizung, die Küche oder das Duschen, ist Fernwärme. Also Fernwärme, wie es die Stadt München vormacht. </p> <p> Das heißt: Wer komplette CO2-Neutralität erreichen will als Politiker muss vor seiner eigenen Türe kehren und ein solches Projekt als staatliche Großinvestition in die Infrastruktur angehen und selbst Fernwärmeanlagen aufbauen. Eine Milliarden Investition. </p> <p> Deshalb ist die bisherige CO2-Steuer ein Abwälzen von Verantwortung auf Bürger. Da kann <b>Umweltministerin Svenja Schulze (SPD)</b> noch so oft davon schwärmen, mit der neuen Kohlendioxid-Steuer würde man den Ausstoß von Treibhausgasen verteuern und so den Klimaschutz verbessern. </p> <ul> <li> <b>«Ihr Plan sieht vor, jede Tonne CO2 ab 2020 mit 35 Euro zu belasten. Bis 2023 werden es schon 80 Euro sein und ab 2030 soll die Steuer sogar auf 180 Euro pro Tonne steigen. Sollten ihre Pläne umgesetzt werden, müssen viele Hausbesitzer und Mieter, die Gas, Öl oder Kohle benutzen, künftig viel mehr für das Heizen bezahlen», schreibt Focus-online.</b><br/> </li> </ul> <p> Fakt ist: Die CO2-Steuer wird zwar nicht direkt den Bürgern fürs Heizen in Rechnung gestellt, aber den Energieanbietern. Diesen bleibt wiederum gar nichts anderes üblich, als die Mehrkosten für CO2-Ausstoß, also die CO2-Steuer, an ihre Kunden weiterzugegeben.<br/> </p> <h2> Vermieter werden die Mehrkosten an die Mieter weitergeben müssen<br/> </h2> <p> Und Vermieter werden wiederum sicherlich nicht die Mehrkosten für die Beheizung von Wohnraum privat übernehmen. Das heißt:<br/> </p> <ul> <li>Für die Mieter steigen unweigerlich die schon hohen Nebenkosten, welche in vielen Städten bereits jetzt bei einem Drittel der Mieteinnahmen liegen. </li> </ul> <p> Nebenkosten stecken sich aber nicht Vermieter in die Tasche, wie es Berlin gerne im Rahmen seiner drastischen und rechtlich umstrittenen «Mietpreisbremse» suggeriert. Nein:<br/> </p> <p> Nebenkosten sind Kosten für Müllabfuhr, Warm- und Kaltwasser, Schneeschippen, Hausmeister, Licht im Flur und Keller, Feuerschutzversicherung, Grundsteuer, Hausverwaltung und und und. Ein 20-Parteienhaus hat im Jahr leicht über 100.000 Euro Nebenkosten. </p> <p> Nach Berechnungen des Eigentümerverbandes Haus & Grund würden Mieter und Eigentümer je nach Größe des Objektes mit bis zu 1586 Euro pro Jahr zusätzlich durch die neue C02-Steuer belastet werden.<br/> </p> <h2> Jeder muss künftig mehr bezahlen </h2> <p> Eine vierköpfige Familie in einem Einfamilienhaus mit Gasheizung müsse ab 2020 183 Euro für den CO2-Ausstoß zusätzlich bezahlen.<br/> </p> <ul> <li>Am Beheizen mit Gas führt aber derzeit eben in Millionen Großstadthäusern, deren Stadtverwaltungen nicht ein komplett deckendes Fernwärmenetz zur Verfügung stellen, kein Weg vorbei. Eine Steuerstrafe also, für die weder Mieter noch Vermieter etwas können. </li> </ul> <p> Bei Ölheizungen sieht es anders aus: Öl ist sowieso mit der teuerste Rohstoff zur Warmwassergewinnung. Denn die Zeiten, da Öl billig gerne in großen Tanklastwagen in Privathäusern oder Mehrfamilienhäusern abgenommen wurde, sind seit 30 oder 40 Jahren vorbei. </p> <p> So wundert nicht, dass eine 4-köpfige Familie, welche das Pech hat, in einem Haus mit einer Ölzentralheizung zu wohnen, künftig 308 Euro pro Jahr mehr bezahlen soll wegen der CO2-Emissionen. Monatlich sind das rund 25 Euro netto. </p></div></div><div class="tags" itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList"><meta itemprop="name" content="Tags"/><ul><li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem" itemid="/tag/CO2/"><meta itemprop="position" content="1"/><a itemprop="item" href="/tag/CO2/" title="Zeige alle Artikel in CO2"><span itemprop="name">CO2</span></a></li></ul></div><span itemprop="publisher" itemscope="itemscope" itemtype="http://schema.org/Organization"><meta itemprop="url" content="https://www.stromanzeiger.de/"/><meta itemprop="name" content="Stromanzeiger.de"/><span itemprop="logo" itemscope="itemscope" itemtype="http://schema.org/ImageObject"><meta itemprop="url" content="https://www.stromanzeiger.de/web.images.1pix_trans.gif"/></span></span><meta itemprop="mainEntityOfPage" content="https://www.stromanzeiger.de/id/10120/Kommentar---Ohne-Fernwarme-lasst-sich-ein-Grossstadthaus-nicht-CO2-neutral-machen/"/></div></text><header><link rel="canonical" href="https://www.stromanzeiger.de/id/10120/Kommentar---Ohne-Fernwarme-lasst-sich-ein-Grossstadthaus-nicht-CO2-neutral-machen/"/></header></content> |
1 | <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:php="http://php.net/xsl" xmlns:inveda="http://www.inveda.de" xmlns:fad="http://www.fad-server.org" exclude-result-prefixes="php inveda fad"> <!-- HTML 5 Doctype --> <!-- <xsl:output --> <!-- encoding="utf-8" --> <!-- method="xml" --> <!-- omit-xml-declaration="yes" --> <!-- doctype-system="about:legacy-compat" --> <!-- indent="no"/> --> <xsl:output encoding="utf-8" method="xml" omit-xml-declaration="yes" indent="no" cdata-section-elements="script"/> <xsl:include href="arg://lib"/> <xsl:include href="arg://lib2"/> <xsl:include href="arg://skin"/> <xsl:include href="arg://schema"/> <xsl:variable name="registerSkin" select="php:function('web_Session::registerSkin')"/> <xsl:variable name="secure"> <xsl:choose> <xsl:when test="document('ibs://issecure')/result/@value='yes'">1</xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="skin"> <xsl:choose> <xsl:when test="$secure = '0'"> <xsl:value-of select="document('ibs://holder_value,skin_filename')/content/@value"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="document('ibs://user_value,skin_filename')/content/@value"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="skin_scheme"> <xsl:choose> <xsl:when test="$secure = '0'"> <xsl:value-of select="document('ibs://holder_value,skin_scheme')/content/@value"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="document('ibs://user_value,skin_scheme')/content/@value"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="skin_scheme_default"> <xsl:choose> <xsl:when test="$secure = '0'"> <xsl:value-of select="document('ibs://holder_value,skin_scheme_default')/content/@value"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="document('ibs://user_value,skin_scheme_default')/content/@value"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:template name="onbeforeunload"> <script type="text/javascript" > function setsubmit(t) { submit = t; }; </script> </xsl:template> </xsl:stylesheet> |
2 | Array(6) a:6:{s:10:"/inveda_cm";s:1374:"<?xml version="1.0" encoding="utf-8" ?><inveda_cm><coverage></coverage><description></description><holder_headline>Aktuelle Nachrichten</holder_headline><page_title>Stromanzeiger.de</page_title><holder_page_title>Stromanzeiger.de</holder_page_title><holder_adresse1></holder_adresse1><holder_strasse>Breitenrainstr. 10b</holder_strasse><holder_plz>08280</holder_plz><holder_ort>Kreuzlingen</holder_ort><holder_telefon></holder_telefon><holder_telefax></holder_telefax><holder_email>konstantin.korosides@t-online.de</holder_email><holder_news></holder_news><holder_accountlevel></holder_accountlevel><holder_url>https://www.stromanzeiger.de/</holder_url><holder_domain>www.stromanzeiger.de</holder_domain><skin_scheme>default</skin_scheme><skin_scheme_default>default</skin_scheme_default><preview_mode></preview_mode><user></user><keywords></keywords><slogan>Eigene Homepage erstellen - Sofort Online</slogan><page>index</page><page_para>id/10120/Kommentar---Ohne-Fernwarme-lasst-sich-ein-Grossstadthaus-nicht-CO2-neutral-machen</page_para><request_type>html</request_type><site_url>https://www.deutrik.de/</site_url><site_name>default</site_name><date>14.05.2025</date><time>06:23:30</time><now>2025-05-14 06:23:30</now><inveda_cm_debug></inveda_cm_debug><inveda_cm_debug_webcontrol></inveda_cm_debug_webcontrol><skin>strom</skin><skin_original></skin_original></inveda_cm>";s:5:"/skin";s:42362:"<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet extension-element-prefixes="xs php exslt inveda xsl str" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:php="http://php.net/xsl" xmlns:exslt="http://exslt.org/common" xmlns:str="http://exslt.org/strings" xmlns:inveda="http://www.inveda.de" version="1.0"> <xsl:output encoding="utf-8" method="xml" omit-xml-declaration="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" xmlns="http://www.w3.org/1999/xhtml" indent="yes"/> <xsl:variable name="ibs_skin_version" select="'1'"/> <xsl:variable name="ibs_textbox_spacing" select="'5'"/> <xsl:variable name="invedasecure_home" select="document('ibs:/invedasecure_home')/result/@value"/> <xsl:variable name="sitemap" select="document('ibs:/sitemap')/sitemap"/> <xsl:variable name="menu" select="php:function('web_Menu::getSiteMenu',string(/content/@menufilename))/content"/> <xsl:variable name="nr" select="/content/@nr"/> <xsl:variable name="topic" select="/content/@topic"/> <xsl:variable name="posts" select="php:function('cms_blog_Interface::getPosts')"/> <xsl:variable name="content" select="/content"/> <xsl:variable name="domain" select="php:function('mandant_Holder::getCurrentHolderURL')"/> <xsl:variable name="page-title" select="php:function('mandant_Holder::getValue','page_title')"/> <xsl:variable name="headline" select="php:function('mandant_Holder::getValue','headline')"/> <xsl:variable name="modgroups" select="$metadata/modgroups/modgroup"/> <xsl:variable name="metadata" select="/content/metadata"/> <xsl:variable name="isnews" select="$metadata/layout='news' or $metadata/layout='top-news' or $metadata/layout='recension'"/> <xsl:variable name="lastChange" select="php:function('mandant_Holder::getValue','lastChange')"/> <xsl:variable name="chapter" select="php:function('web_Session::getGlobal','GET','chapter')"/> <xsl:variable name="bannerGroup"> <xsl:choose> <xsl:when test="content/@advertising!=''"><xsl:value-of select="content/@advertising"/></xsl:when> <xsl:otherwise>default</xsl:otherwise> </xsl:choose> </xsl:variable> <inveda:skin> <images> <size>650x300</size> <size>410x210</size> <size>650x650</size> <size>150x150</size> <!-- Plista --> <size>70x70</size> <!-- Plista --> </images> <layouts> <layout name="Startseite" value="home" description="Layout der Startseite" type="page"> <place>outerspace</place> <place>navigation_head</place> <place>navigation</place> <place>recent-news</place> <place>current-news</place> <place>current-news-wide</place> <place>sidebar</place> <place>categories-news</place> <place>footer</place> <place>footer-middle</place> <place>footer-down</place> </layout> <layout name="Unterseite" value="site" description="Unterseite" type="page"> <place>outerspace</place> <place>navigation_head</place> <place>navigation</place> <place>sidebar</place> <place>bottom</place> <place>footer</place> <place>footer-middle</place> <place>footer-down</place> </layout> <layout name="News" value="news" description="News" type="blog"> <place>outerspace</place> <place>navigation_head</place> <place>navigation</place> <place>navigation_up</place> <place>head-top</place> <place>head-left</place> <place>head-right</place> <place>top</place> <place>top-text</place> <place>inside1</place> <place>inside2</place> <place>bottom</place> <place>sidebar</place> <place>footer</place> <place>footer-middle</place> <place>footer-down</place> </layout> </layouts> <places> <place name="Werbung Rand" value="outerspace"/> <place name="Navigation" value="navigation"/> <place name="Navigation_Oben" value="navigation_head"/> <place name="Inhalt" value="content"/> <place name="Unten" value="bottom"/> <place name="Seitenleiste" value="sidebar"/> <place name="Fuss" value="footer"/> <place name="Fuss-Mitte" value="footer-middle"/> <place name="Fuss-Unten" value="footer-down"/> <place name="Oben" value="top"/> <place name="Im Text 1" value="inside1"/> <place name="Im Text 2" value="inside2"/> <place name="Unten" value="bottom"/> <place name="Über dem Text" value="top-text"/> <place name="Buch der Woche" value="book-of-week"/> <place name="Aktuelle News" value="current-news"/> <place name="Aktuelle News Breit" value="current-news-wide"/> <place name="Top News" value="recent-news"/> <place name="Themen Übersicht" value="categories-news"/> </places> </inveda:skin> <xsl:template match="/"> <xsl:param name="description" select="/content/@description"/> <html> <xsl:variable name="body"> <body class="layout_{$metadata/layout}" itemscope="itemscope" itemtype="http://schema.org/WebPage"> <xsl:variable name="js_add" select="php:function('web_Content::addScript','/scripts/jquery/jquery.min.js','text/javascript',1)"/> <xsl:variable name="js_add1" select="php:function('web_Content::addScript','/scripts/masonry.pkgd.min.js','text/javascript',10)"/> <xsl:variable name="js_add2" select="php:function('web_Content::addScript','/scripts/breakpoints.js','text/javascript',10)"/> <xsl:variable name="js_add3" select="php:function('web_Content::addScript','/skins/strom/js/clamp.min.js','text/javascript',10)"/> <xsl:variable name="js_add4" select="php:function('web_Content::addScript','/skins/js/jquery.lazy.min.js','text/javascript',11)"/> <xsl:variable name="js_add5" select="php:function('web_Content::addScript','/skins/strom/stromanzeiger.js','text/javascript',12)"/> <xsl:call-template name="fad_counter"/> <div id="sheet"> <div id="wrapper-sheet"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'outerspace'"/> </xsl:call-template> <div id="magazine_header"> <xsl:call-template name="render_head"/> </div> <div id="wrapper-padding"> <div id="magazine_inner"> <xsl:choose> <xsl:when test="$metadata/layout='home'"> <div id="magazine-content-container" class="clear layout_home"> <xsl:apply-templates select="/content/text/*"/> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'head-top'"/> </xsl:call-template> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'recent-news'"/> </xsl:call-template> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'current-news'"/> </xsl:call-template> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'sidebar'"/> </xsl:call-template> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'current-news-wide'"/> </xsl:call-template> <!-- <div class="caption"> <div class="caption_wrapper"> <h3 class="caption">Empfohlene Rubriken</h3> </div> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'categories-news'"/> </xsl:call-template> </div> --> </div> </xsl:when> <xsl:when test="$metadata/layout='site'"> <div id="magazine-content-container" class="clear layout_site"> <div id="magazine_site_content"> <xsl:apply-templates select="/content/text/*"/> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'bottom'"/> </xsl:call-template> </div> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'sidebar'"/> </xsl:call-template> </div> </xsl:when> <xsl:when test="$isnews='true'"> <div id="magazine-content-container" class="clear layout_{$metadata/layout}"> <div id="magazine-content"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'sidebar'"/> </xsl:call-template> <div id="magazine_content_news"> <div itemscope="itemscope" itemtype="http://schema.org/NewsArticle"> <div id="magazine_content_head"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'top'"/> </xsl:call-template> <xsl:choose> <xsl:when test="$chapter >= '0'"> <div class="chapter_head"> <div class="head_wrapper"> <xsl:copy-of select="/content/text/*/*[@class='topic']"/> <xsl:copy-of select="/content/text/*/*[@class='fad_news_caption']/span[@class='chapter_title']"/> <xsl:copy-of select="/content/text/*/*[@class='vgwort']"/> <div class="info"> <xsl:copy-of select="/content/text/*/*[@class='author']"/> <xsl:copy-of select="/content/text/*/*[@class='date']"/> </div> </div> <div class="chapter_index"> <xsl:copy-of select="/content/text/*/*[@class='chapter']/div[@class='chapter_list']"/> </div> <div class="head_p"> <xsl:apply-templates select="/content/text/*/*[@class='post_content']/*/p[position()=1]"/> </div> </div> </xsl:when> <xsl:otherwise> <div class="news_head"> <xsl:copy-of select="/content/text/*/*[@class='topic']"/> <xsl:copy-of select="/content/text/*/*[@class='fad_news_caption']"/> <xsl:copy-of select="/content/text/*/*[@class='vgwort']"/> <div class="info"> <xsl:copy-of select="/content/text/*/*[@class='author']"/> <xsl:copy-of select="/content/text/*/*[@class='date']"/> </div> <div class="head_p"> <xsl:apply-templates select="/content/text/*/*[@class='post_content']/*/p[position()=1]"/> </div> <xsl:apply-templates select="/content/text/*/*[@class='post-image']" mode="news-reader"/> </div> </xsl:otherwise> </xsl:choose> </div> <div class="news_wrapper"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'top-text'"/> </xsl:call-template> <div id="magazine_content_text"> <xsl:apply-templates select="/content/text/*/*[@class='post_content']/*" mode="news-reader"/> <xsl:copy-of select="/content/text/*/*[@class='chapter']/div[@class='chapter_next']"/> <xsl:copy-of select="/content/text//*[@class='tags']"/> <xsl:copy-of select="/content/text/*/*[@class='fad_cms_blog_source']"/> <xsl:copy-of select="/content/text/*/*[@itemprop='publisher']"/> <xsl:copy-of select="/content/text/*/meta"/> </div> </div> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'bottom'"/> </xsl:call-template> </div> </div> </div> </div> </xsl:when> <xsl:otherwise> <div class="metadata"><xsl:copy-of select="$metadata"/></div> <div id="column-container" class="clear {$metadata/layout}"> <div id="left-column"> <div id="breadcrumbs"><p><a href="/" title="{$page-title}"><xsl:value-of select="$page-title"/></a> / <xsl:value-of select="$content/@caption"/></p></div> <div id="post-header"> <div class="post-title clear"> <div class="header-title"> <h3><xsl:value-of select="$content/@teaser"/></h3> <h1><xsl:value-of select="$content/@caption"/></h1> </div> </div> </div> <div class="post-columns clear"> <div class="post type-post status-publish format-standard hentry post-entry"> <p><xsl:apply-templates select="$content/text"/></p> </div> </div> </div> </div> </xsl:otherwise> </xsl:choose> </div> </div> <div id="footer"> <div class="footer_wrapper"> <div class="scroll_up" data-scrollto="magazine_header"></div> <style> .scroll_up::before{content:"";background-image:url('/skins/strom/images/scroll_up.svg');background-repeat:no-repeat;background-size:100%;} </style> <xsl:call-template name="render_footer"/> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'footer'"/> </xsl:call-template> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'footer-middle'"/> </xsl:call-template> </div> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'footer-down'"/> </xsl:call-template> </div> </div> <div style="clear:both;"/> </div> <xsl:call-template name="google_analytics"/> </body> </xsl:variable> <xsl:variable name="visible_start" select="translate($metadata/visible_start,' ','T')"/> <xsl:call-template name="inveda_html_header"> <xsl:with-param name="css" select="concat('/skins/strom/style.css?',php:function('system_SVN::version'))"/> <xsl:with-param name="author" select="$page-title"/> <xsl:with-param name="contributor" select="$page-title"/> <xsl:with-param name="rss"><a href="/feed/" title=""/></xsl:with-param> <xsl:with-param name="publisher" select="$page-title"/> <xsl:with-param name="icons" select="''"/> <xsl:with-param name="amp" select="$isnews"/> <xsl:with-param name="title"> <xsl:choose> <xsl:when test="/content/@browser_caption!=''"> <xsl:value-of select="concat(/content/@browser_caption,' - ',$page-title)"/> </xsl:when> <xsl:when test="/content/@caption!=''"> <xsl:value-of select="concat(/content/@caption,' | ',$page-title)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat($page-title,' | ',$headline)"/> </xsl:otherwise> </xsl:choose> </xsl:with-param> <xsl:with-param name="add"> <xsl:if test="$visible_start"> <meta name="date" content="{$visible_start}+01:00"/> <meta name="DC.date.issued" content="{$visible_start}+01:00"/> </xsl:if> </xsl:with-param> </xsl:call-template> <xsl:copy-of select="$body"/> </html> </xsl:template> <xsl:template name="tag-cloud"> <xsl:variable name="max" select="$posts/Data/Footer/Tags/Tag[1]/@count"/> <xsl:for-each select="$posts/Data/Footer/Tags/Tag[position() <= 30]"> <xsl:sort select="."/> <li class="tag"><a hrf="/tag/{.}/" style="font-size:{0.4 + (0.9 div $max) * @count}em"><xsl:value-of select="."/></a></li> </xsl:for-each> </xsl:template> <xsl:template name="topic"> <xsl:param name="topic"/> <xsl:param name="advertising"/> <div class="home-column"> <h2><a href="/tag/{$topic}/" title="Zeige alle Artikel in {$topic}" style="padding-right: 8px;"><xsl:value-of select="$topic"/></a></h2> <ul> <xsl:for-each select="$posts/Data/Content/DataSet[@topic=string($topic)][position() < 4]"> <xsl:variable name="metap" select="php:function('cms_blog_Interface::getMeta',string(@nr))/metadata"/> <xsl:if test="$advertising and position()=2"> <li> <div style="width:620px"> </div> </li> </xsl:if> <li> <xsl:choose> <xsl:when test="position()=1"> <xsl:if test="@img!=''"> <div class="lead-thumb"> <a href="/id/{@nr}/{@alias}/" rel="bookmark" title="{@teaser}:{@title}"><img width="290" height="125" src="/blog.{@nr}.images.{@img}.290x125.{@imgtype}" class="attachment-thumbnail-home wp-post-image" alt="{@title}" title="{@title}"/></a> </div> </xsl:if> <div class="lead-thumb-teaser"> <xsl:value-of select="@teaser"/> </div> <div class="lead-thumb-text"> <h3><a href="/id/{@nr}/{@alias}/" title="{@title}" rel="bookmark"><xsl:value-of select="@title"/></a></h3> </div> </xsl:when> <xsl:otherwise> <xsl:if test="@img!=''"> <div class="sidebar-archive-thumb"> <a href="/id/{@nr}/{@alias}/" rel="bookmark" title="{@title}"><img width="60" height="60" src="blog.{@nr}.images.{@img}.60x60.{@imgtype}" class="attachment-thumbnail-sidebar wp-post-image" alt="{@title}" title="{@title}"/></a> </div> </xsl:if> <div class="thumb-teaser"> <xsl:value-of select="@teaser"/> </div> <div class="thumb-title"> <h3><a href="/id/{@nr}/{@alias}/" rel="bookmark" title="{@title}"><xsl:value-of select="@title"/></a></h3> </div> </xsl:otherwise> </xsl:choose> <div class="thumb-date"> <p> <xsl:call-template name="date"> <xsl:with-param name="date" select="@visible_start"/> </xsl:call-template> | <xsl:call-template name="comments"> <xsl:with-param name="post" select="."/> </xsl:call-template> </p> </div> <div class="thumb-text"> <xsl:value-of select="$metap/text"/> </div> <div class="thumb-continue"> <p><a href="/id/{@nr}/{@alias}/" rel="bookmark">Weiterlesen</a></p> </div> </li> </xsl:for-each> </ul> </div> </xsl:template> <xsl:template match="img[@class='page_box_image_img']"> <img src="{@path}.250x250.{@type}" align="left"/> </xsl:template> <xsl:template match="long_text"> <xsl:apply-templates select="node()|text()"/> </xsl:template> <xsl:template match="comments"> <xsl:if test="count(comment//DataSet) > 0"> <h3><xsl:value-of select="count(comment//DataSet)"/> Kommentare</h3> </xsl:if> <xsl:for-each select="comment//DataSet"> <h3><xsl:value-of select="@title"/></h3> <!--titel oder name?--> <small>von <xsl:value-of select="@name"/> geschrieben am <xsl:value-of select="concat(substring(@created,9,2),'.',substring(@created,6,2),'.',substring(@created,1,4),' @ ',substring(@created,12,5))"/></small> <p><xsl:apply-templates select="comment/text"/></p> </xsl:for-each> </xsl:template> <xsl:template match="zitat"> <br/><div class="blockquote"><xsl:value-of select="."/></div> </xsl:template> <xsl:template match="em"> <div class="em"><br/><xsl:copy-of select="."/></div> </xsl:template> <xsl:template match="chapter"> <div class="chapter"><xsl:apply-templates select="*"/></div> </xsl:template> <xsl:template name="info"> <div class="info"> <xsl:value-of select="@blog_created"/> <xsl:choose> <xsl:when test="@count_comment = 0">  | <a href="/news.blog.post.html?id={@nr}">Kommentar schreiben </a> </xsl:when> <xsl:when test="@count_comment > 1">  | <a href="/news.blog.post.html?id={@nr}">Kommentare(<xsl:value-of select="@count_comment"/>) </a> </xsl:when> <xsl:otherwise>  | <a href="/news.blog.post.html?id={@nr}">Kommentar(<xsl:value-of select="@count_comment"/>) </a> </xsl:otherwise> </xsl:choose> </div> </xsl:template> <!--Menü--> <xsl:template match="menu_kat"> <xsl:for-each select="//Data[@name='topic']/Content/DataSet"> <a href="index.html?topic={@topic}"><xsl:value-of select="@topic"/></a> </xsl:for-each> <a href="index.html">Startseite</a> <a href="impressum.html">Impressum</a> </xsl:template> <xsl:template name="date"> <xsl:param name="date"/> <xsl:value-of select="concat(substring($date,9,2),'.',substring($date,6,2),'.',substring($date,1,4))"/> </xsl:template> <xsl:template name="date-time"> <xsl:param name="date"/> <xsl:value-of select="concat(substring($date,9,2),'.',substring($date,6,2),'.',substring($date,1,4),' ',substring($date,12,8))"/> </xsl:template> <xsl:template match="*"> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()|text()"/> </xsl:element> </xsl:template> <xsl:template match="*" mode="news_reader"> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()|text()" mode="news_reader"/> </xsl:element> </xsl:template> <!--xsl:template match="p"> < xsl:if test=".=//p[2]"> <p style="width:620px;height:100%;"> <xsl:apply-templates select="document('ibs:/include,advertising.news-reader')/content/text"/> </p> </xsl:if> <xsl:if test="document('ibs:/page_allowed,advertising.news-reader')/result/@value='yes' and count(//p) > 3 and (.=//p[count(//p)-1]) and string-length(.) > 10"> <p style="width:620px;height:100%;"> <xsl:apply-templates select="document('ibs:/include,advertising.news-reader')/content/text"/> </p> </xsl:if> <xsl:apply-templates select="."/> </xsl:template --> <xsl:template match="a"> <xsl:element name="{name()}"> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:if test="not(@rel)"> <xsl:choose> <xsl:when test="/content/@layout!='sponsored'"> <xsl:attribute name="rel">follow</xsl:attribute> </xsl:when> <xsl:when test="substring(@href,1,25)='http://www.netz-trends.de'"> <xsl:attribute name="rel">follow</xsl:attribute> </xsl:when> <xsl:when test="substring(@href,1,38)='http://www.kriegsberichterstattung.com'"> <xsl:attribute name="rel">follow</xsl:attribute> </xsl:when> <xsl:when test="substring(@href,1,4)='http'"> <xsl:attribute name="rel">nofollow</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="rel">follow</xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:apply-templates select="node()|text()" mode="news_reader"/> </xsl:element> </xsl:template> <xsl:template match="img" mode="author"> <xsl:choose> <xsl:when test="@path!='' and @width!='' and @height!=''"> <xsl:variable name="height" select="round(590 div @width * @height)"/> <xsl:variable name="isize" select="php:function('web_Session::registerImageSize',concat(590,'x',$height))"/> <xsl:variable name="img"> <img itemprop="image" style="width:590px;height:{$height}px" src="{@path}.{$isize}.{@type}" alt="{@alt}.{$isize}" title="{@description}"/> </xsl:variable> <xsl:for-each select="exslt:node-set($img)/img"> <xsl:call-template name="render_cms_image"/> </xsl:for-each> </xsl:when> <xsl:when test="substring(@alt,1,4)='cms.'"> <xsl:call-template name="render_cms_image"/> </xsl:when> <xsl:otherwise> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()|text()" mode="author"/> </xsl:element> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="*" mode="author"> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()|text()" mode="author"/> </xsl:element> </xsl:template> <xsl:template match="img" mode="news-reader"> <xsl:choose> <xsl:when test="@media!='youtube' and @path!='' and @width!='' and @height!=''" > <xsl:variable name="height" select="round(850 div @width * @height)"/> <xsl:variable name="isize" select="php:function('web_Session::registerImageSize',concat(850,'x',$height))"/> <xsl:variable name="i" select="str:tokenize(@src,'.')"/> <xsl:variable name="metai" select="php:function('cms_CMS::getImageMeta',string($i[2]),string($i[4]))/media"/> <span itemprop="image" itemscope="itemscope" itemtype="https://schema.org/ImageObject"> <div class="img_wrapper"> <xsl:apply-templates select="." mode="lazy_news_img"/> <xsl:if test="$metai/src!=''"> <span class="image-meta-source"><xsl:value-of select="$metai/src"/></span> </xsl:if> </div> <meta itemprop="url" content="{$domain}{@path}.{@type}"/> <meta itemprop="width" content="{@width}"/> <meta itemprop="height" content="{@height}"/> <span class="image-meta"> <xsl:if test="$metai/description!=''"> <span class="image-meta-description"><xsl:value-of select="$metai/description"/></span> </xsl:if> </span> </span> </xsl:when> <xsl:when test="substring(@alt,1,4)='cms.'"> <xsl:call-template name="render_cms_image"/> </xsl:when> <xsl:otherwise> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()|text()"/> </xsl:element> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="*" mode="news-reader"> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()|text()" mode="news-reader"/> </xsl:element> </xsl:template> <xsl:template match="*" mode="sidebar"> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()|text()" mode="news-reader"/> </xsl:element> </xsl:template> <xsl:template match="p" mode="news-reader"> <xsl:variable name="pos" select="php:function('web_Content::count','p-tags')"/> <xsl:if test="$pos > 1"> <p class="para_{$pos} {@class}"> <xsl:copy-of select="@*[name()!='class']"/> <xsl:apply-templates select="node()|text()" mode="news-reader"/> </p> </xsl:if> <xsl:choose> <xsl:when test="$pos=4"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'inside1'"/> </xsl:call-template> </xsl:when> <xsl:when test="$pos=6"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'inside2'"/> </xsl:call-template> </xsl:when> </xsl:choose> </xsl:template> <xsl:template name="render_place"> <xsl:param name="place"/> <xsl:param name="mode"/> <div id="magazine_place_{$place}"> <div modgroup="{$modgroups[@place=$place]/@nr}"> <xsl:for-each select="$modgroups[@place=$place]/module"> <xsl:choose> <xsl:when test="$place='sidebar'"> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*" mode="sidebar"/> </xsl:when> <xsl:when test="$place='book-of-week'"> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*" mode="book-of-week"/> </xsl:when> <xsl:when test="$place='current-news'"> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*" mode="current-news"/> </xsl:when> <xsl:when test="$place='current-news-wide'"> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*" mode="current-news-wide"/> </xsl:when> <xsl:when test="$place='categories-news'"> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*" mode="categories-news"/> </xsl:when> <xsl:when test="$place='recent-news'"> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*" mode="recent-news"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*"/> </xsl:otherwise> </xsl:choose> </xsl:for-each> </div> </div> </xsl:template> <xsl:template name="render_place_item"> <xsl:param name="place"/> <xsl:for-each select="$modgroups[@place=$place]/module"> <div class="item"> <xsl:apply-templates select="php:function('cms_mod_Interface::getModule',string(@nr))/*" mode="sidebar"/> </div> </xsl:for-each> </xsl:template> <xsl:template name="render_responsive_place"> <xsl:param name="place"/> <xsl:param name="place"/> <div id="magazine_place_{$place}"> <script type="text/javascript"> $(window).setBreakpoints({ // use only largest available vs use all available distinct: true, // array of widths in pixels where breakpoints // should be triggered breakpoints: [ 1024 ] }); $(window).bind('enterBreakpoint1024',function() { if (!document.getElementById('magazine-sidebar_ajax')) requestNewWebbox('/nr/<xsl:value-of select="$modgroups[@place='sidebar']/@nr"/>/cms.mod.public.modgroup.ajax', null, 'GET', 'magazine-sidebar_ajax', 'magazine-sidebar',false); }); </script> </div> </xsl:template> <xsl:template match="div[@class='topic_list']|div[@class='tag_list']|div[@class='mod_blog_newslist']|div[@class='fad_search_results']"> <xsl:copy-of select="@itemtype|@itemprop|@itemscope|meta"/> <xsl:if test="h1!=''"> <xsl:copy-of select="h1"/> <xsl:copy-of select="ul"/> </xsl:if> <div> <xsl:if test="@class='tag_list'"> <xsl:attribute name="class">js-masonry2</xsl:attribute> </xsl:if> <div class="grid-sizer"><xsl:comment/></div> <xsl:for-each select="article/a"> <xsl:variable name="pos" select="position()"/> <xsl:variable name="w">210</xsl:variable> <article class="item {../@class}" pos="{position()}" > <xsl:copy-of select="../@itemtype|../@itemprop|../@itemscope|../meta"/> <xsl:variable name="img" select="figure/img"/> <a href="{@href}" rel="bookmark" itemprop="url"> <xsl:if test="$img/@width!='' and $img/@height!=''"> <xsl:variable name="height" select="round($w div $img/@width * $img/@height)"/> <xsl:variable name="isize" select="php:function('web_Session::registerImageSize',concat($w,'x',$height))"/> <img style="width:{$w}px;height:{$height}px" src="{$img/@path}.{$w}x{$height}.{$img/@type}"/> </xsl:if> <xsl:copy-of select="h3"/> <xsl:copy-of select="div[@class='fad_blog_article_text']"/> </a> </article> </xsl:for-each> </div> </xsl:template> <xsl:template match="div[@class='mod_blog_newslist']" mode="sidebar"> <div> <xsl:copy-of select="@*|meta"/> <div class="caption_wrapper"> <xsl:copy-of select="h3"/> </div> <xsl:copy-of select="div[@class='feed']"/> <ul> <xsl:for-each select="article/a"> <li> <xsl:copy-of select="../@itemtype|../@itemprop|../@itemscope|../meta"/> <xsl:variable name="img" select="figure/img"/> <a href="{@href}" rel="bookmark"> <!--xsl:if test="figure/img"> <xsl:apply-templates select="figure" mode="lazy_img_q"/> </xsl:if--> <span itemprop="name"><xsl:copy-of select="h3/*"/></span> </a> </li> </xsl:for-each> </ul> </div> </xsl:template> <xsl:template match="div[@class='mod_comment_list']" mode="sidebar"> <div class="{@class}"> <div class="caption_wrapper"> <xsl:copy-of select="h3"/> </div> <ol> <xsl:for-each select="ol/li/a"> <li> <a href="{@href}" rel="bookmark"> <xsl:copy-of select="div[@class='author']"/> <xsl:copy-of select="date"/> <xsl:copy-of select="div[@class='comment']"/> </a> </li> </xsl:for-each> </ol> </div> </xsl:template> <xsl:template name="render_head"> <div class="item head" id="stromanzeiger_header"> <xsl:variable name="isize" select="php:function('web_Session::registerImageSize','120x120')"/> <div id="lesering_navigation"> <div class="navigation_wrapper"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'navigation_head'"/> </xsl:call-template> <div class="toggle"> <div class="hamburger"></div> </div> <div class="title"> <div class="logo"> <a href="/" title="Lesering.de"> <img src="/skins/strom/images/logo.svg"/> </a> </div> </div> <a href="/Archiv.html"> <div class="search_responsive"></div> </a> <div class="navigation_responsive"> <xsl:call-template name="render_place"> <xsl:with-param name="place" select="'navigation'"/> </xsl:call-template> </div> </div> </div> </div> </xsl:template> <xsl:template name="render_footer"> <div class="title"> <a href="/" title="Lesering.de"><img src="/skins/strom/images/logo.svg"/></a> </div> </xsl:template> <xsl:template match="div[@class='mod_blog_newslist']" mode="categories-news"> <ul> <div class="category_container"> <div class="title_wrapper"> <xsl:copy-of select="h3"/> </div> <xsl:for-each select="article/a"> <a href="{@href}" rel="bookmark"> <li> <article class="item {../@class} position_{position()}"> <xsl:if test="position()=1"> <xsl:apply-templates select="figure" mode="lazy_img"/> </xsl:if> <xsl:copy-of select="div[@class='fad_blog_article_topic']"/> <xsl:copy-of select="time"/> <xsl:copy-of select="h3/span[@class='fad_blog_article_title']"/> </article> </li> </a> </xsl:for-each> </div> </ul> </xsl:template> <xsl:template match="div[@class='mod_blog_newslist']" mode="current-news"> <div class="caption_wrapper"> <xsl:copy-of select="h3"/> </div> <xsl:for-each select="article/a"> <xsl:if test="position() > 1"> <a href="{@href}" rel="bookmark"> <article class="item {../@class} position_{position()}"> <div class="img_wrapper_small"> <xsl:apply-templates select="figure" mode="lazy_img_small"/> <xsl:copy-of select="div[@class='fad_blog_article_topic']"/> </div> <div class="text_wrapper"> <div class="text_block"> <xsl:copy-of select="h3/span[@class='fad_blog_article_title']"/> <xsl:copy-of select="div[@class='fad_blog_article_text']"/> </div> <div class="info_wrapper"> <xsl:copy-of select="time"/> </div> </div> </article> </a> </xsl:if> </xsl:for-each> </xsl:template> <xsl:template match="div[@class='mod_blog_newslist']" mode="current-news-wide"> <div class="caption_wrapper"> <xsl:copy-of select="h3"/> </div> <xsl:for-each select="article/a"> <xsl:if test="position() > 5"> <a href="{@href}" rel="bookmark"> <article class="item {../@class} position_{position()}"> <div class="img_wrapper_small"> <xsl:apply-templates select="figure" mode="lazy_img_small"/> <xsl:copy-of select="div[@class='fad_blog_article_topic']"/> </div> <div class="text_wrapper"> <div class="text_block"> <xsl:copy-of select="h3/span[@class='fad_blog_article_title']"/> <xsl:copy-of select="div[@class='fad_blog_article_text']"/> </div> <div class="info_wrapper"> <xsl:copy-of select="time"/> </div> </div> </article> </a> </xsl:if> </xsl:for-each> </xsl:template> <xsl:template match="div[@class='mod_blog_newslist']" mode="recent-news"> <xsl:for-each select="article/a"> <a class="article" href="{@href}" rel="bookmark"> <div class="dark_background"></div> <xsl:apply-templates select="figure" mode="lazy_img"/> <xsl:copy-of select="div[@class='fad_blog_article_topic']"/> <div class="text_container"> <span class="fixsize"> <xsl:copy-of select="h3/span[@class='fad_blog_article_title']"/> </span> <xsl:copy-of select="div[@class='fad_blog_article_text']"/> </div> </a> </xsl:for-each> </xsl:template> <xsl:template match="figure" mode="lazy_img"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:variable name="sizes"> <size width="200"/> <size width="400"/> <size width="800"/> </xsl:variable> <xsl:apply-templates select="img" mode="lazy"> <xsl:with-param name="sizes" select="exslt:node-set($sizes)"/> </xsl:apply-templates> </xsl:copy> </xsl:template> <xsl:template match="img" mode="lazy_news_img"> <xsl:variable name="sizes"> <size width="400"/> <size width="800"/> <size width="1200"/> </xsl:variable> <xsl:apply-templates select="." mode="lazy"> <xsl:with-param name="sizes" select="exslt:node-set($sizes)"/> </xsl:apply-templates> </xsl:template> <xsl:template match="figure" mode="lazy_img_q"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:variable name="sizes"> <size width="100" height="100"/> </xsl:variable> <xsl:apply-templates select="img" mode="lazy"> <xsl:with-param name="sizes" select="exslt:node-set($sizes)"/> </xsl:apply-templates> </xsl:copy> </xsl:template> <xsl:template match="figure" mode="lazy_img_small"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:variable name="sizes"> <size width="150" height="75"/> <size width="300" height="150"/> </xsl:variable> <xsl:apply-templates select="img" mode="lazy"> <xsl:with-param name="sizes" select="exslt:node-set($sizes)"/> </xsl:apply-templates> </xsl:copy> </xsl:template> <xsl:template match="img" mode="lazy"> <xsl:param name="sizes"/> <xsl:variable name="w" select="$sizes/*[last()]/@width"/> <xsl:variable name="hh" select="$sizes/*[last()]/@height"/> <xsl:variable name="iw" select="@width"/> <xsl:variable name="ih" select="@height"/> <xsl:variable name="bh"> <xsl:choose> <xsl:when test="$hh"><xsl:value-of select="$hh"/></xsl:when> <xsl:otherwise> <xsl:value-of select="round($w div $iw * $ih)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="img"> <xsl:variable name="path" select="@path"/> <xsl:variable name="type" select="@type"/> <img title="{@title}" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="{@class} lazy" width="{$w}" height="{$bh}"> <xsl:attribute name="data-src"> <xsl:variable name="reg" select="php:function('web_Session::registerImageSize',concat($w,'x',$bh)) "/> <xsl:value-of select="concat($path,'.',$reg,'.',$type)"/> </xsl:attribute> <xsl:attribute name="data-srcset"> <xsl:for-each select="$sizes/*"> <xsl:if test="position() > 1">,</xsl:if> <xsl:variable name="h"> <xsl:choose> <xsl:when test="@height"><xsl:value-of select="@height"/></xsl:when> <xsl:otherwise> <xsl:value-of select="round(@width div $iw * $ih)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="reg" select="php:function('web_Session::registerImageSize',concat(@width,'x',$h))"/> <xsl:value-of select="concat($path,'.',$reg,'.',$type,' ',@width,'w')"/> </xsl:for-each> </xsl:attribute> </img> </xsl:variable> <xsl:apply-templates select="exslt:node-set($img)/img"/> </xsl:template> </xsl:stylesheet> ";s:5:"/lib2";s:124597:"<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:php="http://php.net/xsl" xmlns:inveda="http://www.inveda.de" xmlns:fad="http://www.fad-server.org" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:exslt="http://exslt.org/common" xmlns:str="http://exslt.org/strings" xmlns:xlink="http://www.w3.org/1999/xlink" exclude-result-prefixes="php inveda exslt str xs fb fad xlink"> <xsl:variable name="d_document" select="/*"/> <xsl:variable name="d_page" select="php:function('web_Session::getPage')"/> <xsl:variable name="d_page_para" select="php:function('web_Session::getPageParams')"/> <xsl:variable name="d_request_type" select="php:function('web_Session::getRequestType')"/> <xsl:variable name="d_ajax_window" select="content/@ajax_window"/> <xsl:variable name="ajax_params"> <xsl:if test="($d_ajax_window = 'true' or $d_ajax_window = 'yes' or $d_request_type='ajax') and $d_page_para != ''"> <xsl:value-of select="concat('/',$d_page_para,'/')"/> </xsl:if> </xsl:variable> <xsl:variable name="inveda:definitions"> <table> <datatable> <step> <item step="1" caption="1"/> <item step="5" caption="5"/> <item step="10" caption="10"/> <item step="25" caption="25"/> <item step="50" caption="50"/> <item step="-1" caption="alle"/> </step> </datatable> </table> <actions> <action type="view" icon="view" title="Eintrag ansehen">ansehen</action> <action type="details" icon="details" title="Datensatzänderungen" ajax="true" page="/system.datalogviewer.details">Datensatzänderungen</action> <action type="edit" icon="update" title="Eintrag bearbeiten">bearbeiten</action> <action type="copy" icon="copy" title="Eintrag als Vorlage übernehmen">übernehmen</action> <action type="update" icon="update" title="Eintrag bearbeiten">bearbeiten</action> <action type="delete" icon="delete" title="Eintrag löschen">löschen</action> <action type="stunden" icon="stunden" title="Stunden anlegen">Stunden anlegen</action> <action type="pw_change" icon="pw_change" title="Passwort ändern">Passwort ändern</action> <action type="permissions" icon="permission" title="Rechte ändern">Rechte ändern</action> <action type="become_user" icon="become_user" title="Identität des Benutzers annehmen">Identität des Benutzers annehmen</action> <action type="mark" icon="checkbox" title="Eintrag markieren">Eintrag markieren</action> </actions> </xsl:variable> <xsl:template name="DataHeader"> <xsl:param name="data"/> <xsl:param name="header"/> <xsl:param name="dataname"/> <xsl:param name="webbox"/> <xsl:param name="sortable"/> <tr class="data_header_row"> <xsl:for-each select="$header/*"> <xsl:call-template name="RenderDataHeaderElement"> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="data" select="$data"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="sortable" select="$sortable"/> </xsl:call-template> </xsl:for-each> </tr> </xsl:template> <xsl:template match="Data"> <xsl:apply-templates select="div"/> <xsl:apply-templates select="Header/Path"/> <xsl:apply-templates select="Error|Content"/> <!-- xsl:apply-templates select="Footer"/ --> </xsl:template> <xsl:template match="definitions"/> <xsl:template match="Content"> <xsl:call-template name="Content"/> </xsl:template> <xsl:template name="Content"> <xsl:param name="dataname" select="../@name"/> <xsl:param name="header" select="$d_document/definitions/header[@name = $dataname]|document('arg:/schema')/*/inveda:header/header[./@name = $dataname]|/*/definitions/header[./@name = $dataname]|php:function('web_content_HTML::getDefinition',string($dataname))/header"/> <xsl:param name="body" select="$d_document/definitions/body[@name = $dataname]|/*/definitions/body[@name = $dataname]|document('arg:/schema')/*/inveda:header/body[@name = $dataname]"/> <xsl:variable name="webbox"> <xsl:choose> <xsl:when test="../../@name"> <xsl:value-of select="../../@name"/> </xsl:when> <xsl:when test="../../../@name"> <xsl:value-of select="../../../@name"/> </xsl:when> <xsl:when test="../@name"> <xsl:value-of select="concat(../@name,'DSH')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat($d_page,'Data')"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="start_key" select="concat($webbox,'[fad_t_offset]')"/> <xsl:variable name="step_key" select="concat($webbox,'[fad_t_limit]')"/> <xsl:variable name="start_dataname" select="concat($dataname,'_start')"/> <xsl:variable name="start1" select="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_offset')"/> <xsl:variable name="size"> <xsl:choose> <xsl:when test="../Header/Filter/limit"> <xsl:value-of select="@rows"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="count(DataSet)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="start"> <xsl:choose> <xsl:when test="$start1!=''"> <xsl:value-of select="$start1"/> </xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="orderby_key" select="concat($webbox,'[fad_t_order]')"/> <xsl:variable name="raw_orderby" select="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_order')"/> <xsl:variable name="orderby" select="substring-before($raw_orderby,'@')"/> <xsl:variable name="tmp" select="substring-after($raw_orderby,'@')"/> <xsl:variable name="orderveer" select="substring-after($tmp,'@')"/> <xsl:variable name="columns" select="$header/column"/> <xsl:variable name="step1" select="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_limit')"/> <xsl:variable name="step"> <xsl:choose> <xsl:when test="$step1!=''"> <xsl:value-of select="$step1"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$header/@step"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="type" select="$header/@type"/> <xsl:variable name="width" select="$header/@width"/> <xsl:variable name="height" select="$header/@height"/> <xsl:variable name="limit" select="$header/@limit"/> <xsl:variable name="mode" select="$header/@mode"/> <xsl:variable name="alternation_key" select="$header/@alternation_key"/> <xsl:variable name="display_mode1" select="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_mode')"/> <xsl:variable name="display_mode"> <xsl:choose> <xsl:when test="$display_mode1!=''"> <xsl:value-of select="$display_mode1"/> </xsl:when> <xsl:otherwise>row</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$type='Details'"> <xsl:variable name="dataset" select="DataSet"/> <table class="data_realm_table"> <tr> <xsl:for-each select="$header/group"> <td valign="top"> <table class="WebBox_group" cellpadding="0" cellspacing="0"> <xsl:if test="@caption!=''"> <tr> <td colspan="2" class="WebBox_caption WebBox_group_caption"> <xsl:value-of select="@caption"/> </td> </tr> </xsl:if> <xsl:for-each select="item"> <xsl:variable name="alternation"> <xsl:choose> <xsl:when test="position() mod 2 = 0">_row_1</xsl:when> <xsl:otherwise>_row_2</xsl:otherwise> </xsl:choose> </xsl:variable> <tr class="{concat('data_body',$alternation)}"> <xsl:if test="string-length(@caption) > 0"> <td class="WebBox_group_item_caption"> <xsl:value-of select="@caption"/> </td> </xsl:if> <xsl:call-template name="RenderDataSetAttribute"> <xsl:with-param name="item" select="."/> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="align" select="'left'"/> <xsl:with-param name="class" select="'WebBox_group_item_value'"/> </xsl:call-template> </tr> </xsl:for-each> </table> </td> </xsl:for-each> </tr> </table> <xsl:apply-templates select="$body" mode="user"> <xsl:with-param name="dataset" select="$dataset"/> </xsl:apply-templates> </xsl:when> <xsl:when test="$type='DataTable'"> <div class="data_realm_table"> <xsl:if test="$header/@checkbox = 'yes' and count(./DataSet) > 0"> <input type="hidden" name="{$webbox}[table_id]" value=""/> </xsl:if> <div class="data_table_wrapper" valign="top"> <xsl:if test="$height != ''"> <xsl:attribute name="height"> <xsl:value-of select="concat(height,'px')"/> </xsl:attribute> </xsl:if> <table cellspacing="0" cellpadding="2"> <xsl:attribute name="class"> <xsl:value-of select="'data_table'"/> <xsl:if test="$header/*/@role = 'primary'"> <xsl:value-of select="' with_primary_role'"/> </xsl:if> </xsl:attribute> <xsl:if test="$width != ''"> <xsl:attribute name="width"> <xsl:value-of select="concat(width,'px')"/> </xsl:attribute> </xsl:if> <xsl:if test="(not($header/@header) or $header/@header!='no') and ($display_mode='row' or $type!='DataTable')"> <thead> <xsl:call-template name="DataHeader"> <xsl:with-param name="data" select="."/> <xsl:with-param name="header" select="$header"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="sortable"> <xsl:if test="$limit > 0"> <xsl:value-of select="'false'"/> </xsl:if> </xsl:with-param> </xsl:call-template> </thead> </xsl:if> <tbody> <xsl:choose> <xsl:when test="$type='DataTable' and $mode='user'"> <xsl:for-each select="DataSet"> <xsl:call-template name="RenderUserDataSet"> <xsl:with-param name="dataset" select="."/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="type" select="$type"/> <xsl:with-param name="display_mode" select="$display_mode"/> <xsl:with-param name="columns" select="$columns"/> <xsl:with-param name="header" select="$header"/> </xsl:call-template> </xsl:for-each> </xsl:when> <xsl:when test="$type='DataTable' and $display_mode!='col'"> <xsl:choose> <xsl:when test="../Header/Filter/limit or $step='' or $step < 1"> <xsl:for-each select="DataSet[$step = '' or $step < 1 or position() <= $step]"> <xsl:call-template name="RenderDataSet"> <xsl:with-param name="dataset" select="."/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="type" select="$type"/> <xsl:with-param name="display_mode" select="$display_mode"/> <xsl:with-param name="columns" select="$columns"/> <xsl:with-param name="header" select="$header"/> <xsl:with-param name="alternation_key" select="$alternation_key"/> </xsl:call-template> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:for-each select="DataSet[($start < position()) and (position() <= ($start + $step))]"> <xsl:call-template name="RenderDataSet"> <xsl:with-param name="dataset" select="."/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="type" select="$type"/> <xsl:with-param name="display_mode" select="$display_mode"/> <xsl:with-param name="columns" select="$columns"/> <xsl:with-param name="header" select="$header"/> <xsl:with-param name="alternation_key" select="$alternation_key"/> </xsl:call-template> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="$type='DataTable' and $display_mode='col'"> <xsl:choose> <xsl:when test="../Header/Filter/limit or $step='' or $step < 1"> <xsl:variable name="datasets" select="DataSet "/> <xsl:for-each select="$columns"> <tr> <xsl:variable name="key"> <xsl:choose> <xsl:when test="@value"> <xsl:value-of select="@value"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@key"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="RenderDataColAsRow"> <xsl:with-param name="datasets" select="$datasets"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="type" select="@type"/> <xsl:with-param name="column" select="."/> </xsl:call-template> </tr> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:variable name="datasets" select="DataSet[($start < position()) and (position() <= ($start + $step))]"/> <xsl:value-of select="count(exslt:node-set($datasets))"/> <xsl:value-of select="exslt:node-set($datasets)/@produkt"/> <xsl:for-each select="$columns"> <tr> <xsl:variable name="key"> <xsl:choose> <xsl:when test="@value"> <xsl:value-of select="@value"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@key"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="RenderDataColAsRow"> <xsl:with-param name="datasets" select="$datasets"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="type" select="@type"/> <xsl:with-param name="column" select="."/> </xsl:call-template> </tr> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="../Header/Filter/limit or $step = '' or $step = -1"> <xsl:apply-templates select="DataSet"> <xsl:with-param name="webbox" select="$webbox"/> </xsl:apply-templates> </xsl:when> <xsl:when test="$limit > 0"> <xsl:apply-templates select="DataSet[position() <= $limit]"> <xsl:with-param name="webbox" select="$webbox"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="DataSet[($start < position()) and (position() <= ($start + $step))]"> <xsl:with-param name="webbox" select="$webbox"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </tbody> </table> <xsl:call-template name="DataFooter"> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="data" select="./DataSet"/> </xsl:call-template> <xsl:apply-templates select="DataError"> <xsl:with-param name="webbox" select="$webbox"/> </xsl:apply-templates> </div> <!--xsl:variable name="size"><xsl:choose><xsl:when test="../Header/Filter/limit"><xsl:value-of select="@rows"/></xsl:when><xsl:otherwise><xsl:value-of select="count(DataSet)"/></xsl:otherwise></xsl:choose></xsl:variable--> <xsl:if test="(($step >0 and ($size - $step)>0) or ($type='DataTable')) and not($step='')"> <div class="data_nav"> <div class="data_nav_content"> <!-- needed for invers skin with shadow ;) --> <!-- STEPHAN: damit man alternative templates zur darstellung der blaetterfunktion nutzen kann tag <tableBrowser> eingebaut --> <xsl:variable name="TableInfo"> <tableInfo/> </xsl:variable> <xsl:apply-templates select="exslt:node-set($TableInfo)" mode="user"> <xsl:with-param name="step" select="$step"/> <xsl:with-param name="start_key" select="$start_key"/> <xsl:with-param name="step_key" select="$step_key"/> <xsl:with-param name="start" select="$start"/> <xsl:with-param name="link" select="concat($d_page,'.',$d_request_type,'?',$webbox,'[fad_t_offset]')"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="size" select="$size"/> <xsl:with-param name="type" select="$type"/> <xsl:with-param name="header" select="$header"/> </xsl:apply-templates> <!-- STEPHAN: damit man alternative templates zur darstellung der blaetterfunktion nutzen kann tag <tableBrowser> eingebaut --> <xsl:variable name="TableBrowser"> <tableBrowser/> </xsl:variable> <xsl:apply-templates select="exslt:node-set($TableBrowser)" mode="user"> <xsl:with-param name="step" select="$step"/> <xsl:with-param name="start_key" select="$start_key"/> <xsl:with-param name="step_key" select="$step_key"/> <xsl:with-param name="start" select="$start"/> <xsl:with-param name="link" select="concat($d_page,'.',$d_request_type,'?',$webbox,'[fad_t_limit]')"/> <xsl:with-param name="dataname" select="$dataname"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="size" select="$size"/> <xsl:with-param name="header" select="$header"/> </xsl:apply-templates> </div> </div> </xsl:if> <xsl:if test="$header/@checkbox = 'yes' and count(./DataSet) > 0"> <div class="data_nav"> <input type="submit" class="button" name="{$webbox}[action][show_delete_list]" value="Löschen"/> <xsl:apply-templates select="../../ControlElement/node()"/> </div> </xsl:if> </div> </xsl:when> </xsl:choose> </xsl:template> <xsl:template name="RenderSteps"> <xsl:param name="size"/> <xsl:param name="steps"/> <xsl:param name="step"/> <xsl:param name="link"/> <xsl:param name="webbox"/> <xsl:variable name="ajax_id"> <xsl:choose> <xsl:when test="$d_ajax_window = 'true' or $d_ajax_window = 'yes'">ajaxFrame</xsl:when> <xsl:otherwise>ajaxFrame1</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ajax_frame"> <xsl:if test="$d_ajax_window != 'true' and $d_ajax_window != 'yes'"> <xsl:value-of select="'mainframe'"/> </xsl:if> </xsl:variable> <span class="data_nav_steps"> <xsl:if test="not($step >0 and ($size - $step)>0)"> <xsl:attribute name="class">data_nav_steps no_data_nav</xsl:attribute> </xsl:if> <xsl:value-of select="'Zeilen:'"/> </span> <xsl:for-each select="exslt:node-set($steps)/step/item"> <xsl:choose> <xsl:when test="$step=@step"> <span class="data_nav_button selected"> <xsl:value-of select="@caption"/> </span> </xsl:when> <xsl:otherwise> <xsl:variable name="title"> <xsl:choose> <xsl:when test="@step = '1'">einzeln</xsl:when> <xsl:when test="@step = '-1'">alle auf einmal</xsl:when> <xsl:otherwise> <xsl:value-of select="@step"/> pro Seite </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$ajax_params}{$link}={@step}" title="{$title}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick">requestNewWebbox('<xsl:value-of select="concat($ajax_params,$link,'=',@step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>')); return false;</xsl:attribute> </xsl:if> <xsl:value-of select="@caption"/> </a> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:template> <!--xsl:template name="RenderDataTableStepNav"--> <xsl:template match="tableInfo" mode="user"> <xsl:param name="type"/> <xsl:param name="step_key"/> <xsl:param name="start_key"/> <xsl:param name="start"/> <xsl:param name="size"/> <xsl:param name="step"/> <xsl:param name="link"/> <xsl:param name="dataname"/> <xsl:param name="webbox"/> <xsl:if test="$type='DataTable'"> <span align="right" style="float:right;" class="data_nav_entries"> <xsl:choose> <xsl:when test="$size = 1">1 Eintrag</xsl:when> <xsl:otherwise> <xsl:value-of select="$size"/> Einträge </xsl:otherwise> </xsl:choose> </span> </xsl:if> </xsl:template> <xsl:template match="tableBrowser" mode="user"> <xsl:param name="step_key"/> <xsl:param name="start_key"/> <xsl:param name="start"/> <xsl:param name="size"/> <xsl:param name="step"/> <xsl:param name="link"/> <xsl:param name="dataname"/> <xsl:param name="webbox"/> <xsl:param name="header"/> <xsl:if test="($step >0 and ($size - $step)>0)"> <span class="data_nav_pages">Navigation:</span> <xsl:call-template name="DataNav"> <xsl:with-param name="size" select="$size"/> <xsl:with-param name="step" select="$step"/> <xsl:with-param name="start_key" select="$start_key"/> <xsl:with-param name="step_key" select="$step_key"/> <xsl:with-param name="start" select="$start"/> <xsl:with-param name="webbox" select="$webbox"/> </xsl:call-template> </xsl:if> <xsl:variable name="steps"> <xsl:choose> <xsl:when test="$d_document/definitions/step[@name = $dataname]"> <xsl:copy-of select="$d_document/definitions/step[@name = $dataname]"/> </xsl:when> <xsl:when test="document('arg:/schema')/*/inveda:header/step[@name = $dataname]"> <xsl:copy-of select="document('arg:/schema')/*/inveda:header/step[@name = $dataname]"/> </xsl:when> <xsl:when test="/*/definitions/step[@name = $dataname]"> <xsl:copy-of select="/*/definitions/step[@name = $dataname]"/> </xsl:when> <xsl:otherwise> <xsl:copy-of select="exslt:node-set($inveda:definitions)/table/datatable/step"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test="$size > 0"> <xsl:if test="not($header/@step_selectable) or $header/@step_selectable != 'false'"> <xsl:call-template name="RenderSteps"> <xsl:with-param name="size" select="$size"/> <xsl:with-param name="step" select="$step"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="link" select="$link"/> <xsl:with-param name="steps" select="$steps"/> </xsl:call-template> </xsl:if> </xsl:if> <xsl:if test="$header/@csv = 'yes' or $header/@csv = 'true' or $header/@pdf = 'yes' or $header/@pdf = 'true' or $header/@xls = 'yes' or $header/@xlsx = 'true'"> <span class="data_nav_export"> <xsl:value-of select="'Export:'"/> </span> <xsl:if test="$header/@csv = 'yes' or $header/@csv = 'true'"> <a class="data_nav_button" href="{$d_page}.csv" title="CSV-Export">CSV</a> </xsl:if> <xsl:if test="$header/@pdf = 'yes' or $header/@pdf = 'true'"> <a class="data_nav_button" href="{$d_page}.pdf" title="PDF-Export">PDF</a> </xsl:if> <xsl:if test="$header/@xls = 'yes' or $header/@xls = 'true'"> <a class="data_nav_button" href="{$d_page}.xls" title="XLS-Export">XLS</a> </xsl:if> <xsl:if test="$header/@xlsx = 'yes' or $header/@xlsx = 'true'"> <a class="data_nav_button" href="{$d_page}.xlsx" title="XLS-Export">XLSX</a> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="RenderDataTableStepNav"> <xsl:param name="step"/> <xsl:param name="link"/> <xsl:param name="dataname"/> <xsl:param name="webbox"/> <xsl:variable name="steps"> <xsl:choose> <xsl:when test="$d_document/definitions/step[@name = $dataname]"> <xsl:copy-of select="$d_document/definitions/step[@name = $dataname]"/> </xsl:when> <xsl:when test="document('arg:/schema')/*/inveda:header/step[@name = $dataname]"> <xsl:copy-of select="document('arg:/schema')/*/inveda:header/step[@name = $dataname]"/> </xsl:when> <xsl:when test="/*/definitions/step[@name = $dataname]"> <xsl:copy-of select="/*/definitions/step[@name = $dataname]"/> </xsl:when> <xsl:otherwise> <xsl:copy-of select="exslt:node-set($inveda:definitions)/table/datatable/step"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="RenderSteps"> <xsl:with-param name="step" select="$step"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="link" select="$link"/> <xsl:with-param name="steps" select="$steps"/> </xsl:call-template> </xsl:template> <xsl:template name="DataFooter"> <xsl:param name="webbox"/> <xsl:param name="dataname"/> <xsl:param name="data"/> <xsl:variable name="footer" select="$d_document/definitions/footer[./@name = $dataname]|document('arg:/schema')/*/inveda:header/footer[@name=$dataname]"/> <xsl:if test="count($footer) > 0"> <xsl:for-each select="$footer"> <table class="data_table" cellspacing="0" cellpadding="0" width="100%"> <xsl:for-each select="row"> <xsl:variable name="key" select="@key"/> <xsl:variable name="value" select="sum($data/@*[name()=$key][.!=''])"/> <tr> <td class="data_label"> <xsl:choose> <xsl:when test="@caption=''"/> <xsl:otherwise> <xsl:value-of select="@caption"/>: </xsl:otherwise> </xsl:choose> </td> <td class="data_footer_last"> <xsl:choose> <xsl:when test="@type='number'"> <xsl:call-template name="RenderNumberElement"> <xsl:with-param name="value" select="$value"/> </xsl:call-template> </xsl:when> <xsl:when test="@type='money'"> <xsl:call-template name="RenderMoneyElement"> <xsl:with-param name="value" select="$value"/> </xsl:call-template> </xsl:when> <xsl:when test="@type='option'"> <xsl:call-template name="RenderOptionElement"> <xsl:with-param name="value" select="$value"/> </xsl:call-template> </xsl:when> <xsl:when test="@type='user'"> <xsl:apply-templates select="." mode="user"> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="value" select="$value"/> <xsl:with-param name="data" select="$data"/> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:value-of select="$value"/> </xsl:otherwise> </xsl:choose> </td> </tr> </xsl:for-each> </table> </xsl:for-each> </xsl:if> </xsl:template> <xsl:template match="DataError"> <xsl:param name="webbox"/> <xsl:variable name="id" select="generate-id()"/> <table width="100%" cellspacing="0" cellpadding="0" border="0" id="{$id}"> <tr> <td class="data_body_row_1_error"> <xsl:value-of select="."/> </td> </tr> </table> <xsl:if test="@reload > 0"> <script> <xsl:choose> <xsl:when test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:variable name="ajax_id"> <xsl:choose> <xsl:when test="$d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:value-of select="'ajaxFrame'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'ajaxFrame1'"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ajax_frame"> <xsl:if test="$d_ajax_window != 'true' and $d_ajax_window != 'yes'"> <xsl:value-of select="'mainframe'"/> </xsl:if> </xsl:variable> window.setTimeout( function () { requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type)"/>?ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(document.getElementById('<xsl:value-of select="$id"/>'),'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(document.getElementById('<xsl:value-of select="$id"/>'),'<xsl:value-of select="$ajax_frame"/>')); }, <xsl:value-of select="@reload * 1000"/> ); </xsl:when> <xsl:otherwise> window.setTimeout( function () { self.location.href = '<xsl:value-of select="concat($d_page,'.',$d_request_type)"/>'; }, <xsl:value-of select="@reload * 1000"/> ); </xsl:otherwise> </xsl:choose> </script> </xsl:if> </xsl:template> <xsl:template name="DataNav"> <xsl:param name="start"/> <xsl:param name="start_key"/> <xsl:param name="step_key"/> <xsl:param name="size"/> <xsl:param name="step"/> <xsl:param name="webbox"/> <xsl:variable name="current_page"> <xsl:value-of select="ceiling(($start+1) div $step)"/> </xsl:variable> <xsl:variable name="last_page"> <xsl:value-of select="ceiling($size div $step)"/> </xsl:variable> <xsl:variable name="end" select="$start+$step"/> <xsl:variable name="ajax_id"> <xsl:choose> <xsl:when test="$d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:value-of select="'ajaxFrame'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'ajaxFrame1'"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ajax_frame"> <xsl:if test="$d_ajax_window != 'true' and $d_ajax_window != 'yes'"> <xsl:value-of select="'mainframe'"/> </xsl:if> </xsl:variable> <xsl:variable name="skin_dir" select="php:function('constant', 'SKIN_DIR')"/> <xsl:variable name="nav_img" select="concat('/skins/', document('arg:/inveda_cm' )/inveda_cm/skin,'/', document('arg:/inveda_cm' )/inveda_cm/skin_scheme_default,'/images')"/> <xsl:variable name="nav_img_path" select="concat($skin_dir, 'public/', document('arg:/inveda_cm' )/inveda_cm/skin,'/', document('arg:/inveda_cm' )/inveda_cm/skin_scheme_default,'/images/')"/> <span class="data_nav_page"> <xsl:value-of select="'Seite '"/> <span class="data_nav_range"> <xsl:value-of select="concat($current_page,' von ',$last_page)"/> </span> </span> <xsl:if test="number($last_page) > 1"> <!-- Erste Seite + 1 Seite zurück --> <xsl:if test="number($current_page) > 3"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}=0&{$step_key}={$step}" title="Anfang" class="data_nav_button first_page"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=0')"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="php:function('file_exists', concat($nav_img_path, 'nav_first.gif'))"> <img src="{$nav_img}/nav_first.gif" width="7px" height="7px"/> </xsl:when> <xsl:otherwise> <svg xmlns="http://www.w3.org/2000/svg" width="7" height="7" viewBox="0 0 7 7" fill="#555"> <path d="M0 0h2v7H0zm7 7L2.7 3.5 7 0z"/> </svg> </xsl:otherwise> </xsl:choose> </a> </xsl:if> <xsl:if test="number($current_page) > 1"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$start - $step}&{$step_key}={$step}" title="zurück" class="data_nav_button prev_page"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$start - $step)"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="php:function('file_exists', concat($nav_img_path, 'nav_prev.gif'))"> <img src="{$nav_img}/nav_prev.gif" width="7px" height="7px"/> </xsl:when> <xsl:otherwise> <svg xmlns="http://www.w3.org/2000/svg" width="7" height="7" viewBox="0 0 7 7" fill="#555"> <path d="M6 7L1.7 3.5 6 0z"/> </svg> </xsl:otherwise> </xsl:choose> </a> </xsl:if> <!-- Falls am Ende angekommen, dann mehr vorherige Seiten anzeigen, um immer auf 5 Buttons zu kommen --> <xsl:if test="number($current_page) = number($last_page) and number($current_page)-4 > 0"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$start - ($step * 4)}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$start - ($step * 4))"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)-4"/> </a> </xsl:if> <xsl:if test="number($current_page) > number($last_page)-2 and number($current_page)-3 > 0"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$start - ($step * 3)}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$start - ($step * 3))"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)-3"/> </a> </xsl:if> <!-- 2 Seiten vor der aktuellen Seite --> <xsl:if test="number($current_page)-2 > 0"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$start - ($step * 2)}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$start - ($step * 2))"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)-2"/> </a> </xsl:if> <xsl:if test="number($current_page)-1 > 0"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$start - $step}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$start - $step)"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)-1"/> </a> </xsl:if> <!-- aktuelle Seite --> <span class="data_nav_button selected"> <xsl:value-of select="$current_page"/> </span> <!-- 2 Seiten nach der aktuellen Seite --> <xsl:if test="number($current_page)+1 <= $last_page"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$end}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$end)"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)+1"/> </a> </xsl:if> <xsl:if test="number($current_page)+2 <= $last_page"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$end + $step}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$end + $step)"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)+2"/> </a> </xsl:if> <!-- Falls ganz am Anfang, dann mehr Seiten nach der aktuellen Seite darstellen (siehe "Falls am Ende") --> <xsl:if test="number($current_page) < 3 and number($current_page)+3 <= number($last_page)"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$end + ($step * 2)}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$end + ($step * 2))"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)+3"/> </a> </xsl:if> <xsl:if test="number($current_page) = 1 and number($current_page)+4 <= number($last_page)"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$end + ($step* 3)}&{$step_key}={$step}" class="data_nav_button"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$end + ($step * 3))"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:value-of select="number($current_page)+4"/> </a> </xsl:if> <!-- 1 Seite weiter + Letzte Seite --> <xsl:if test="number($current_page) < number($last_page)"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$end}&{$step_key}={$step}" title="vor" class="data_nav_button next_page"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$end)"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="php:function('file_exists', concat($nav_img_path, 'nav_next.gif'))"> <img src="{$nav_img}/nav_next.gif" width="7px" height="7px"/> </xsl:when> <xsl:otherwise> <svg xmlns="http://www.w3.org/2000/svg" width="7" height="7" viewBox="0 0 7 7" fill="#555"> <path d="M1 0l4.3 3.5L1 7z"/> </svg> </xsl:otherwise> </xsl:choose> </a> <xsl:if test="number($current_page) < number($last_page)-2"> <a href="{$ajax_params}{$d_page}.{$d_request_type}?{$start_key}={$step * (floor(($size - 1) div $step))}&{$step_key}={$step}" title="Ende" class="data_nav_button last_page"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> <xsl:attribute name="onclick"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page,'.',$d_request_type,'?',$start_key,'=',$step * (floor(($size - 1) div $step)))"/>&<xsl:value-of select="concat($step_key,'=',$step)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>', '', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="php:function('file_exists', concat($nav_img_path, 'nav_last.gif'))"> <img src="{$nav_img}/nav_last.gif" width="7px" height="7px"/> </xsl:when> <xsl:otherwise> <svg xmlns="http://www.w3.org/2000/svg" width="7" height="7" viewBox="0 0 7 7" fill="#555"> <g> <path transform="rotate(-180 6 3.5)" d="M5 0h2v7H5z"/> <path d="M0 0l4.3 3.5L0 7z"/> </g> </svg> </xsl:otherwise> </xsl:choose> </a> </xsl:if> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="RenderDataSet"> <xsl:param name="columns"/> <xsl:param name="header"/> <xsl:param name="dataset"/> <xsl:param name="webbox"/> <xsl:param name="dataname"/> <xsl:param name="type"/> <xsl:param name="position" select="position()"/> <xsl:param name="display_mode" select="'row'"/> <xsl:param name="alternation_key" select="''"/> <xsl:choose> <xsl:when test="$type='DataTable' and $display_mode='row'"> <xsl:variable name="alternation_value"> <xsl:choose> <xsl:when test="$alternation_key != ''"> <xsl:value-of select="$dataset/@*[name() = $alternation_key]"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$position"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="alternation"> <xsl:choose> <xsl:when test="$alternation_value mod 2 = 0">_row_1</xsl:when> <xsl:otherwise>_row_2</xsl:otherwise> </xsl:choose> </xsl:variable> <tr class="{concat('data_body',$alternation)}"> <xsl:for-each select="$columns"> <xsl:call-template name="RenderDataSetAttribute"> <xsl:with-param name="item" select="."/> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="position" select="$position"/> </xsl:call-template> </xsl:for-each> </tr> </xsl:when> <xsl:when test="$type='DataTable' and $display_mode='block'"> <xsl:variable name="alternation"> <xsl:choose> <xsl:when test="$position mod 2 = 0">_row_1</xsl:when> <xsl:otherwise>_row_2</xsl:otherwise> </xsl:choose> </xsl:variable> <tr> <td colspan="2" height="5"> <img src="/web.images.1pix_trans.gif" width="5" height="5" alt=""/> </td> </tr> <xsl:for-each select="exslt:node-set($columns)"> <tr class="{concat('data_body',$alternation)}"> <xsl:call-template name="RenderDataHeaderElement"> <xsl:with-param name="data" select="$dataset/.."/> <xsl:with-param name="header" select="$header"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="align" select="'right'"/> <xsl:with-param name="dataname" select="$dataname"/> </xsl:call-template> <xsl:call-template name="RenderDataSetAttribute"> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="position" select="$position"/> <xsl:with-param name="align" select="'left'"/> </xsl:call-template> </tr> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="exslt:node-set($dataset)"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="RenderDataColAsRow"> <xsl:param name="datasets"/> <xsl:param name="webbox"/> <xsl:param name="dataname"/> <xsl:param name="type"/> <xsl:variable name="key"> <xsl:choose> <xsl:when test="@value"> <xsl:value-of select="@value"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@key"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="RenderDataHeaderElement"> <xsl:with-param name="data" select="$datasets"/> <xsl:with-param name="key" select="$key"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="dataname" select="$dataname"/> </xsl:call-template> <xsl:for-each select="$datasets"> <xsl:call-template name="RenderDataSetAttribute"> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="dataset" select="."/> <xsl:with-param name="key" select="$key"/> <xsl:with-param name="type" select="$type"/> <xsl:with-param name="position" select="position()"/> </xsl:call-template> </xsl:for-each> </xsl:template> <xsl:template name="RenderDataSetAttribute"> <xsl:param name="dataset"/> <xsl:param name="position"/> <xsl:param name="webbox"/> <xsl:param name="key"/> <xsl:param name="type"/> <xsl:param name="align"/> <xsl:param name="class"/> <xsl:param name="item"/> <td> <!-- René: auf Dirks Wunsch nowrap wieder eingefügt, Parameter soll bei nicht passenden Ansichten individuell gesetzt werden --> <!-- Frank: nowrap ist standardmäßig wieder deaktiviert außer der Parameter ist bei nicht passenden Ansichten individuell auf "yes" gesetzt. nowrap ist per css abhängig vom viewport gesetzt. --> <xsl:if test="@nowrap = 'yes'"> <xsl:attribute name="nowrap">nowrap</xsl:attribute> </xsl:if> <xsl:variable name="render_type"> <xsl:choose> <xsl:when test="$type"> <xsl:value-of select="$type"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@type"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="render_key"> <xsl:choose> <xsl:when test="$key"> <xsl:value-of select="$key"/> </xsl:when> <xsl:when test="@value"> <xsl:value-of select="@value"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@key"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$class"> <xsl:attribute name="class"> <xsl:value-of select="$class"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> <xsl:value-of select="'data_table_cell'"/> <xsl:if test="string-length($render_key) > 0"> <xsl:value-of select="concat(' column_',$render_key)"/> </xsl:if> <xsl:if test="string-length(@role) > 0"> <xsl:value-of select="concat(' role_',@role)"/> </xsl:if> <xsl:choose> <xsl:when test="$render_type = 'action'"> <xsl:value-of select="concat(' column_',$render_type, ' ',$render_type)"/> </xsl:when> <xsl:when test="$render_type = 'status'"> <xsl:value-of select="concat(' column_',$render_type, ' ',$render_type)"/> </xsl:when> </xsl:choose> </xsl:attribute> <xsl:if test="string-length(@caption) > 0"> <xsl:attribute name="data-colname"> <xsl:value-of select="@caption"/> </xsl:attribute> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:variable name="render_align"> <xsl:choose> <xsl:when test="$align"> <xsl:value-of select="$align"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@align"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test="string-length($render_align) > 0"> <xsl:attribute name="align"> <xsl:value-of select="$render_align"/> </xsl:attribute> </xsl:if> <xsl:variable name="render_format"> <xsl:value-of select="@format"/> </xsl:variable> <xsl:variable name="description_key"> <xsl:choose> <xsl:when test="@description"> <xsl:value-of select="@description"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@render_key"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="description"> <xsl:value-of select="exslt:node-set($dataset)/@*[name()=$description_key]"/> </xsl:variable> <xsl:variable name="maxlength"> <xsl:choose> <xsl:when test="@maxlength"> <xsl:value-of select="@maxlength"/> </xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="render_value"> <xsl:value-of select="exslt:node-set($dataset)/@*[name()=$render_key]"/> </xsl:variable> <xsl:if test="@prerender = 'yes'"> <xsl:apply-templates select="." mode="prerender"> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="position" select="$position"/> </xsl:apply-templates> </xsl:if> <xsl:choose> <xsl:when test="@mode='user'"> <xsl:apply-templates select="." mode="user"> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="position" select="$position"/> </xsl:apply-templates> </xsl:when> <xsl:when test="$render_type='tag'"> <xsl:apply-templates select="exslt:node-set($dataset)/*[name()=$render_key]"/> </xsl:when> <xsl:when test="$render_type='text'"> <xsl:call-template name="RenderDataElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="title" select="$description"/> <xsl:with-param name="maxlength" select="$maxlength"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='date'"> <xsl:call-template name="RenderDateElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="title" select="$description"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='datetime'"> <xsl:call-template name="RenderDateTimeElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='email'"> <xsl:call-template name="RenderMailDataElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='bool'"> <xsl:call-template name="RenderBooleanDataElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='number'"> <xsl:call-template name="RenderNumberElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> <xsl:with-param name="format" select="$render_format"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='vcard'"> <xsl:call-template name="RenderVCardElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='money'"> <xsl:call-template name="RenderMoneyElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='popup'"> <xsl:call-template name="popup-link"> <xsl:with-param name="site" select="@site"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="target"> <xsl:variable name="target_id" select="@target_id"/> <xsl:choose> <xsl:when test="@target_id!='' and $dataset/@*[name()=$target_id]!=''"> <xsl:value-of select="concat(@target,'/',$dataset/@*[name()=$target_id])"/> </xsl:when> <xsl:when test="not(@target_id) and $dataset/@nr!=''"> <xsl:value-of select="concat(@target,'/',$dataset/@nr)"/> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> </xsl:with-param> <xsl:with-param name="caption" select="$render_value"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='plink'"> <xsl:call-template name="RenderLinkElement"> <xsl:with-param name="value"> <xsl:variable name="target_id" select="@target_id"/> <xsl:choose> <xsl:when test="@target_id!='' and $dataset/@*[name()=$target_id]!=''"> <xsl:value-of select="concat(@target,'/',$dataset/@*[name()=$target_id],'/',@site)"/> </xsl:when> <xsl:when test="not(@target_id) and $dataset/@nr!=''"> <xsl:value-of select="concat(@target,'/',$dataset/@nr,'/',@site)"/> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> </xsl:with-param> <xsl:with-param name="caption" select="$render_value"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='option'"> <xsl:call-template name="RenderOptionElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="item" select="$item"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='percent'"> <xsl:call-template name="RenderPercentElement"> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> </xsl:call-template> </xsl:when> <xsl:when test="$render_type='link'"> <xsl:call-template name="RenderLinkElement"> <xsl:with-param name="caption" select="$render_value"/> <xsl:with-param name="value" select="$render_value"/> <xsl:with-param name="align" select="$render_align"/> <xsl:with-param name="link_target"> <xsl:if test="@target!=''"> <xsl:value-of select="@target"/> </xsl:if> </xsl:with-param> <xsl:with-param name="caption"> <xsl:if test="@title_key!=''"> <xsl:variable name="title_key" select="@title_key"/> <xsl:value-of select="exslt:node-set($dataset)/@*[name()=$title_key]"/> </xsl:if> </xsl:with-param> </xsl:call-template> </xsl:when> <!-- entry's action links /--> <xsl:when test="$render_type='action'"> <xsl:attribute name="align"> <xsl:choose> <xsl:when test="$render_align != ''"> <xsl:value-of select="$render_align"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'right'"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:variable name="primary_key"> <xsl:choose> <xsl:when test="@primary_key"> <xsl:value-of select="@primary_key"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'nr'"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="linkBox"> <LinkBox id="{$dataset/@*[name()=$primary_key]}"> <xsl:for-each select="action"> <xsl:variable name="action_type" select="@type"/> <xsl:variable name="action" select="exslt:node-set($inveda:definitions)/actions/action[@type=$action_type]"/> <xsl:variable name="pagename"> <xsl:choose> <xsl:when test="$action/@page!=''"> <xsl:value-of select="$action/@page"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$d_page"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$action/@type='details'"> <xsl:if test="document(concat('ibs:/page_allowed,',$action/@page))/result/@value='yes'"> <xsl:variable name="jsclick"> <xsl:value-of select="concat('/tab/',@table,'/id/',exslt:node-set($dataset)/@*[name()=$primary_key],'/',$pagename,'.ajax')"/> </xsl:variable> <xsl:call-template name="RenderActionElement"> <xsl:with-param name="icon" select="$action/@icon"/> <xsl:with-param name="title" select="$action/@title"/> <xsl:with-param name="caption" select="$action"/> <xsl:with-param name="class" select="$action/@class"/> <xsl:with-param name="jsclick" select="$jsclick"/> <xsl:with-param name="link_type" select="'ajax'"/> <xsl:with-param name="link" select="concat('/tab/',@table,'/id/',exslt:node-set($dataset)/@*[name()=$primary_key],'/',$pagename)"/> </xsl:call-template> </xsl:if> </xsl:when> <xsl:when test="$action/@type='mark'"> <i class="ii-checkbox"> <input type="checkbox" id="{$webbox}.mark_element{exslt:node-set($dataset)/@*[name()=$primary_key]}" name="{$webbox}[marked_element][]" value="{exslt:node-set($dataset)/@*[name()=$primary_key]}" title="Markieren" autocomplete="off"/> </i> </xsl:when> <xsl:when test="$action/@type or @icon!=''"> <xsl:variable name="dialog"> <xsl:choose> <xsl:when test="@dialog"> <xsl:value-of select="@dialog"/> </xsl:when> <xsl:when test="../@dialog"> <xsl:value-of select="../@dialog"/> </xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="jsclick"> <xsl:if test="@ajax = 'true' or $action/@ajax='true'"> <xsl:value-of select="concat('/box/',$webbox,'/dialog/',$dialog,'/id/',exslt:node-set($dataset)/@*[name()=$primary_key],'/',$pagename,'.ajax?action=show_',@type,'&',$webbox,'[action]=show_',@type)"/> </xsl:if> </xsl:variable> <xsl:variable name="link_type"> <xsl:if test="@ajax = 'true' or $action/@ajax='true'"> <xsl:value-of select="'ajax'"/> </xsl:if> </xsl:variable> <xsl:variable name="icon"> <xsl:choose> <xsl:when test="$action/@icon!=''"> <xsl:value-of select="$action/@icon"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@icon"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="title"> <xsl:choose> <xsl:when test="$action/@title!=''"> <xsl:value-of select="$action/@title"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@title"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="action_class"> <xsl:choose> <xsl:when test="$action/@class!=''"> <xsl:value-of select="$action/@class"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@class"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="RenderActionElement"> <xsl:with-param name="icon" select="$icon"/> <xsl:with-param name="title" select="$title"/> <xsl:with-param name="caption" select="$action"/> <xsl:with-param name="class" select="$action_class"/> <xsl:with-param name="jsclick" select="$jsclick"/> <xsl:with-param name="link_type" select="$link_type"/> <xsl:with-param name="link" select="concat('?',$webbox,'[action]=show_',@type,@suffix,'&',$webbox,'[id]=',exslt:node-set($dataset)/@*[name()=$primary_key])"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="user"> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="primary_key" select="$primary_key"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:for-each> </LinkBox> </xsl:variable> <xsl:apply-templates select="exslt:node-set($linkBox)/LinkBox/*"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="user"> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="position" select="$position"/> <xsl:with-param name="align" select="$align"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length(@role) > 0"> <button type="button" class="toggle_data_table_row" title="{@role}"> <span>Mehr Details anzeigen</span> </button> </xsl:if> </td> </xsl:template> <xsl:template name="RenderActions"> <xsl:param name="class"/> <xsl:param name="webbox"/> <xsl:param name="dataset"/> <xsl:param name="primary_key"/> <xsl:variable name="type" select="@type"/> <xsl:variable name="action" select="exslt:node-set($inveda:definitions)/actions/action[@type=$type]"/> <xsl:choose> <xsl:when test="$action"> <xsl:call-template name="RenderActionElement"> <xsl:with-param name="class" select="$action/@class"/> <xsl:with-param name="icon" select="$action/@icon"/> <xsl:with-param name="title" select="$action/@title"/> <xsl:with-param name="link" select="concat('?',$webbox,'[action]=show_',@type,@suffix,'&',$webbox,'[id]=',$primary_key)"/> </xsl:call-template> </xsl:when> <xsl:when test="@icon!=''"> <xsl:call-template name="RenderActionElement"> <xsl:with-param name="class" select="$action/@class"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="title" select="@title"/> <xsl:with-param name="link" select="concat('?',$webbox,'[action]=show_',@type,@suffix,'&',$webbox,'[id]=',$primary_key)"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="user"> <xsl:with-param name="dataset" select="$dataset"/> <xsl:with-param name="webbox" select="$webbox"/> <xsl:with-param name="primary_key" select="$primary_key"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="RenderActionElement"> <xsl:param name="align"/> <xsl:param name="icon"/> <xsl:param name="title"/> <xsl:param name="class"/> <xsl:param name="caption" select="$title"/> <xsl:param name="link"/> <xsl:param name="link_type"/> <xsl:param name="jsclick"/> <xsl:param name="link_target"/> <xsl:param name="maxlength"/> <xsl:if test="$align != ''"> <xsl:attribute name="align"> <xsl:value-of select="$align"/> </xsl:attribute> </xsl:if> <xsl:variable name="caption1"> <xsl:choose> <xsl:when test="$maxlength > 0 and string-length($caption) > $maxlength"> <xsl:value-of select="concat(substring($caption,0,number($maxlength)-3),'...')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$caption"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$link and $link!=''"> <xsl:variable name="popup_target"> <xsl:choose> <xsl:when test="$link_target!=''"> <xsl:value-of select="$link_target"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'popup'"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="real_link"> <xsl:choose> <xsl:when test="$link_type='popup'"> <xsl:value-of select="concat('javascript:window.open("',$link,'","',$popup_target,'","width=300,height=500,left=(screen.width - 400),top=50");',$popup_target,'.focus();self.reload;')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$link"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="real_jsclick"> <xsl:choose> <xsl:when test="$link_type='ajax'"> <xsl:value-of select="concat('requestWebbox("',$jsclick,'");return false;')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$jsclick"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$real_link}" title="{$title}"> <xsl:if test="$link_target"> <xsl:attribute name="target"><xsl:value-of select="$link_target"/></xsl:attribute> </xsl:if> <xsl:if test="$jsclick"> <xsl:attribute name="onclick"><xsl:value-of select="$real_jsclick"/></xsl:attribute> </xsl:if> <xsl:if test="$icon!=''"> <xsl:call-template name="icon"> <xsl:with-param name="icon" select="$icon"/> <xsl:with-param name="title" select="$title"/> <xsl:with-param name="class" select="$class"/> </xsl:call-template> </xsl:if> <xsl:if test="$icon='' and $caption1!=''"> <xsl:value-of select="$caption1"/> </xsl:if> </a> </xsl:when> <xsl:otherwise> <i class="ii ii-{$icon}" title="{$title}" alt="{$title}"><xsl:value-of select="$title"/></i> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="RenderCheckBoxElement"> <xsl:param name="value"/> <xsl:param name="nowrap" select="'nowrap'"/> <xsl:param name="webbox"/> <xsl:param name="key"/> <input type="checkbox" class="checkbox" name="{concat($webbox,'[table_id][',$key,']')}" value="{$key}"/> <input type="hidden" name="{concat($webbox,'[table_id_name][',$key,']')}" value="{$value}"/> </xsl:template> <xsl:template name="RenderDataElement"> <xsl:param name="title"/> <xsl:param name="value"/> <xsl:param name="description"/> <xsl:param name="maxlength"/> <xsl:param name="nowrap" select="'nowrap'"/> <xsl:choose> <xsl:when test="string-length($title) > 0"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:when> <xsl:when test="$maxlength > 0 and string-length($value) > $maxlength"> <xsl:attribute name="title"> <xsl:value-of select="$value"/> </xsl:attribute> </xsl:when> </xsl:choose> <xsl:choose> <xsl:when test="$maxlength > 0 and string-length($value) > $maxlength"> <xsl:value-of select="concat(substring($value,0,number($maxlength)-3),'...')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$value"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="RenderBooleanDataElement"> <xsl:param name="title"/> <xsl:param name="align"/> <xsl:param name="value"/> <xsl:param name="nowrap" select="'nowrap'"/> <xsl:attribute name="align"> <xsl:choose> <xsl:when test="$align != ''"> <xsl:value-of select="$align"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'left'"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="$title"> <xsl:attribute name="title"><xsl:value-of select="$title"/></xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="$value = 't' or $value = 'true' or $value = 'yes' or $value = '1'"><i class="ii ii-ok" title="Ja">Ja</i></xsl:when> <xsl:when test="$value = 'f' or $value = 'false' or $value = 'no' or $value = '0'"><i class="ii ii-no" title="Nein">Nein</i></xsl:when> <xsl:when test="$value != ''"><i class="ii ii-ok" title="Ja">Ja</i></xsl:when> <xsl:otherwise><i class="ii ii-no" title="Nein">Nein</i></xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="RenderDateElement"> <xsl:param name="value"/> <xsl:param name="title"/> <xsl:param name="nowrap" select="'nowrap'"/> <xsl:if test="$title"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:if> <xsl:if test="$value != ''"> <xsl:value-of select="concat(substring($value,9,2),'.',substring($value,6,2),'.',substring-before($value,'-'))"/> </xsl:if> </xsl:template> <xsl:template name="RenderDateTimeElement"> <xsl:param name="value"/> <xsl:param name="title"/> <xsl:param name="nowrap" select="'nowrap'"/> <xsl:if test="$title"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:if> <xsl:variable name="day" select="concat(substring($value,9,2),'.',substring($value,6,2),'.',substring-before($value,'-'))"/> <xsl:variable name="time" select="substring($value,12,5)"/> <xsl:if test="$value!=''"> <xsl:value-of select="concat($day,' ',$time)"/> </xsl:if> </xsl:template> <xsl:template name="RenderRFC822DateTime"> <xsl:param name="value"/> <xsl:variable name="timestamp" select="php:functionString('strtotime',$value)"/> <xsl:variable name="rfc822time" select="php:functionString('date','r',$timestamp)"/> <xsl:value-of select="$rfc822time"/> </xsl:template> <xsl:template name="RenderVCardElement"> <xsl:param name="value"/> <i class="ii ii-details" onclick="requestWebbox('{$value}.vc'); return false;" alt="" title="Visitenkarte anzeigen">Visitenkarte anzeigen</i> </xsl:template> <xsl:template name="RenderOptionElement"> <xsl:param name="value"/> <xsl:param name="title"/> <xsl:param name="align"/> <xsl:param name="item"/> <xsl:param name="dataset"/> <xsl:choose> <xsl:when test="$item/options/option[@value=$value]"> <xsl:apply-templates select="$item/options/option[@value=$value]/node()"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="$item/options/default/node()"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="RenderMoneyElement"> <xsl:param name="value"/> <xsl:param name="title"/> <xsl:param name="currency" select="'€'"/> <xsl:param name="align"/> <xsl:param name="prefix"/> <xsl:param name="format"/> <xsl:attribute name="align"> <xsl:choose> <xsl:when test="$align!=''"> <xsl:value-of select="$align"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'right'"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="$title"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:if> <!-- Andre: wird für die Invers-Abfragen in lesbarem 1000er-Format benötigt --> <xsl:variable name="money_format"> <xsl:choose> <xsl:when test="string-length($format) > 0"> <xsl:value-of select="$format"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'0,00'"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <nobr> <xsl:if test="$value != ''"> <xsl:value-of select="$prefix"/> <xsl:value-of select="concat(format-number($value ,$money_format),' ',$currency)"/> </xsl:if> </nobr> </xsl:template> <xsl:template name="RenderNumberElement"> <xsl:param name="value"/> <xsl:param name="align"/> <xsl:param name="title"/> <xsl:param name="format"/> <xsl:attribute name="align"> <xsl:choose> <xsl:when test="$align != ''"> <xsl:value-of select="$align"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'right'"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="$title"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:if> <xsl:if test="$value != ''"> <xsl:choose> <xsl:when test="$format != ''"> <xsl:value-of select="format-number($value, $format)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$value"/> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> <xsl:template name="RenderPercentElement"> <xsl:param name="value"/> <xsl:param name="align"/> <xsl:param name="title"/> <xsl:attribute name="align"> <xsl:choose> <xsl:when test="$align != ''"> <xsl:value-of select="$align"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'right'"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="$title"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:if> <xsl:if test="$value != ''"> <xsl:value-of select="format-number($value,'0,00')"/><xsl:value-of select="' %'"/> </xsl:if> </xsl:template> <xsl:template name="RenderLinkElement"> <xsl:param name="value"/> <xsl:param name="title"/> <xsl:param name="caption"/> <xsl:param name="align" select="'left'"/> <xsl:param name="nowrap" select="'nowrap'"/> <xsl:param name="link_target"/> <xsl:variable name="link"> <xsl:choose> <xsl:when test="@link"> <xsl:value-of select="@link"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$value"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test="substring($link,4)!='http' or $link='' or document(concat('ibs:/page_allowed,',$link))/result/@value='yes'"> <xsl:if test="$value != ''"> <a href="{$link}"> <xsl:if test="$link_target"> <xsl:attribute name="target"> <xsl:value-of select="$link_target"/> </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="@title"> <xsl:value-of select="@title"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$caption"/> </xsl:otherwise> </xsl:choose> </a> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="RenderDataHeaderElement"> <xsl:param name="data"/> <xsl:param name="webbox"/> <xsl:param name="dataname"/> <xsl:param name="sortable"/> <xsl:param name="align"/> <xsl:variable name="start_key" select="concat($webbox,'[fad_t_offset]')"/> <xsl:variable name="step_key" select="concat($webbox,'[fad_t_limit]')"/> <xsl:variable name="start_dataname" select="concat($dataname,'_start')"/> <xsl:variable name="start"> <xsl:choose> <xsl:when test="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_offset')"> <xsl:value-of select="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_offset')"/> </xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="orderby_key" select="concat($webbox,'[fad_t_order]')"/> <xsl:variable name="raw_orderby"> <xsl:choose> <xsl:when test="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_order')"> <xsl:value-of select="php:function('dialog_WebBox::getBoxValue',$webbox,'fad_t_order')"/> </xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="orderby" select="substring-before($raw_orderby,'@')"/> <xsl:variable name="tmp" select="substring-after($raw_orderby,'@')"/> <xsl:variable name="order" select="substring-after($tmp,'@')"/> <xsl:variable name="orderveer"> <xsl:choose> <xsl:when test="$order=''"> <xsl:value-of select="@order"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$order"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="is_sortable"> <xsl:choose> <xsl:when test="$sortable = 'false'">false</xsl:when> <xsl:when test="count($data/*) < 2">false</xsl:when> <xsl:otherwise> <xsl:value-of select="@sortable"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="is_disabled"> <xsl:if test="$is_sortable='false' or @type='action'">_disabled</xsl:if> </xsl:variable> <xsl:variable name="is_selected"> <xsl:if test="@key=$orderby">_selected</xsl:if> </xsl:variable> <xsl:variable name="mime"> <xsl:choose> <xsl:when test="@order-type"> <xsl:value-of select="@order-type"/> </xsl:when> <xsl:when test="@type='money'">number</xsl:when> <xsl:when test="@type='number'">number</xsl:when> <xsl:otherwise>text</xsl:otherwise> </xsl:choose> </xsl:variable> <!--Diese Leerspalte ist wichtig für alle DataListDialoge (interner Bereich)! --> <xsl:if test="@caption=''"> <th class="data_header"> <xsl:attribute name="class"> <xsl:value-of select="'data_header'"/> <xsl:if test="string-length(@key) > 0"> <xsl:value-of select="concat(' column_',@key)"/> </xsl:if> <xsl:if test="@type = 'action'"> <xsl:value-of select="' column_action'"/> </xsl:if> <xsl:if test="string-length(@role) > 0"> <xsl:value-of select="concat(' role_',@role)"/> </xsl:if> </xsl:attribute> </th> </xsl:if> <xsl:if test="@caption!=''"> <th> <xsl:attribute name="class"> <xsl:value-of select="'data_header'"/> <xsl:value-of select="$is_selected"/> <xsl:value-of select="$is_disabled"/> <xsl:if test="$is_sortable != 'false'"> <xsl:value-of select="' sortable'"/> </xsl:if> <xsl:if test="string-length(@key) > 0"> <xsl:value-of select="concat(' column_',@key)"/> </xsl:if> <xsl:if test="@type = 'action'"> <xsl:value-of select="' column_action'"/> </xsl:if> <xsl:if test="string-length(@role) > 0"> <xsl:value-of select="concat(' role_',@role)"/> </xsl:if> </xsl:attribute> <xsl:if test="not(@nowrap='false')"> <xsl:attribute name="nowrap">nowrap</xsl:attribute> </xsl:if> <xsl:attribute name="align"> <xsl:choose> <xsl:when test="@align!=''"> <xsl:value-of select="@align"/> </xsl:when> <xsl:when test="$align!=''"> <xsl:value-of select="$align"/> </xsl:when> <xsl:when test="@type='money'">right</xsl:when> <xsl:when test="@type='action'">right</xsl:when> <!--<xsl:when test="@type='number'">right</xsl:when> --> <xsl:otherwise>left</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="@width"> <xsl:attribute name="width"><xsl:value-of select="@width"/>px</xsl:attribute> </xsl:if> <xsl:variable name="ajax_id"> <xsl:choose> <xsl:when test="$d_ajax_window = 'true' or $d_ajax_window = 'yes'">ajaxFrame</xsl:when> <xsl:otherwise>ajaxFrame1</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ajax_frame"> <xsl:choose> <xsl:when test="$d_ajax_window = 'true' or $d_ajax_window = 'yes'"></xsl:when> <xsl:otherwise>mainframe</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="@header='user'"> <xsl:apply-templates select="." mode="user_header"/> </xsl:when> <xsl:when test="$is_sortable='false' or @type='action'"> <xsl:value-of select="@caption"/> </xsl:when> <xsl:when test="@key=$orderby"> <xsl:variable name="sort"> <xsl:choose> <xsl:when test="$orderveer = 'descending'">_desc</xsl:when> <xsl:when test="$orderveer = 'ascending'">_asc</xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="veer"> <xsl:choose> <xsl:when test="$orderveer = 'ascending'">descending</xsl:when> <xsl:when test="$orderveer = 'descending'"/> <xsl:otherwise>ascending</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="order_value"> <xsl:if test="$veer!=''"> <xsl:value-of select="concat(@key, '@', $mime, '@', $veer)"/> </xsl:if> </xsl:variable> <xsl:variable name="onclick"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page)"/>.ajax?<xsl:value-of select="concat($webbox,'[fad_t_offset]=0')"/>&<xsl:value-of select="concat($orderby_key,'=',$order_value)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>','', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:if> </xsl:variable> <a href="?{$webbox}[fad_t_offset]=0&{$orderby_key}={$order_value}"> <xsl:attribute name="class"> <xsl:value-of select="'data_header_link_selected'"/> <xsl:value-of select="concat(' sort',$sort)"/> <xsl:if test="string-length(@key) > 0"> <xsl:value-of select="concat(' column_',@key)"/> </xsl:if> <xsl:if test="string-length(@role) > 0"> <xsl:value-of select="concat(' role_',@role)"/> </xsl:if> </xsl:attribute> <xsl:attribute name="onclick"> <xsl:value-of select="$onclick"/> </xsl:attribute> <xsl:value-of select="@caption"/> <img src="/web.images.sort{$sort}.png" alt="" class="data_col_nav data_col_sort{$sort}"/> </a> </xsl:when> <xsl:otherwise> <xsl:variable name="order_value" select="concat(@key, '@', $mime, '@ascending')"/> <xsl:variable name="onclick"> <xsl:if test="$d_request_type = 'ajax' or $d_ajax_window = 'true' or $d_ajax_window = 'yes'"> requestNewWebbox('<xsl:value-of select="concat($ajax_params,$d_page)"/>.ajax?<xsl:value-of select="concat($webbox,'[fad_t_offset]=0')"/>&<xsl:value-of select="concat($orderby_key,'=',$order_value)"/>&ajaxmode=data&<xsl:value-of select="concat('box_name=',$webbox)"/>','', 'GET', getParentAjaxFrameId(this,'<xsl:value-of select="$ajax_id"/>'),getParentAjaxMainFrameId(this,'<xsl:value-of select="$ajax_frame"/>'));return false; </xsl:if> </xsl:variable> <a href="?{$webbox}[fad_t_offset]=0&{$orderby_key}={$order_value}"> <xsl:attribute name="class"> <xsl:value-of select="'data_header_link'"/> <xsl:value-of select="' sort'"/> <xsl:if test="string-length(@key) > 0"> <xsl:value-of select="concat(' column_',@key)"/> </xsl:if> <xsl:if test="string-length(@role) > 0"> <xsl:value-of select="concat(' role_',@role)"/> </xsl:if> </xsl:attribute> <xsl:attribute name="onclick"> <xsl:value-of select="$onclick"/> </xsl:attribute> <xsl:value-of select="@caption"/> <img src="/web.images.sort.png" alt="" class="data_col_nav data_col_sort"/> </a> </xsl:otherwise> </xsl:choose> <xsl:if test="@multidelete='true'"> <input class="data_header_mark_all" title="alle markieren" name="mark_all" type="checkbox" checked="checked"> <xsl:attribute name="onclick">if(typeof($)!='undefined'){$(this).closest('table').find('input:checkbox[name=\'<xsl:value-of select="$webbox"/>[marked_element][]\']').prop('checked','checked').attr('style','border:solid 1px #f00;');}return false;</xsl:attribute> </input> <input class="data_header_unmark_all" title="keins markieren" name="unmark_all" type="checkbox"> <xsl:attribute name="onclick">if(typeof($)!='undefined'){$(this).closest('table').find('input:checkbox[name=\'<xsl:value-of select="$webbox"/>[marked_element][]\']').prop('checked',false).attr('style','border:dotted 2px #00f;');}return false;</xsl:attribute> </input> <a title="Markierte löschen" onclick="document.getElementById('{$webbox}_autosubmit').name='{$webbox}[action][show_multidelete]';document.getElementById('{$webbox}_autosubmit').click();return false;" href="#"> <i class="ii ii-delete" alt="Markierte löschen" title="Markierte löschen">Markierte löschen</i> </a> </xsl:if> <xsl:if test="@multiselect and not(@multiselect='')"> <input class="data_header_mark_all" title="alle markieren" name="mark_all" type="checkbox" checked="checked"> <xsl:attribute name="onclick">if(typeof($)!='undefined'){$(this).closest('table').find('input:checkbox[name=\'<xsl:value-of select="$webbox"/>[marked_element][]\']').prop('checked','checked').attr('style','border:solid 1px #f00;');}return false;</xsl:attribute> </input> <input class="data_header_unmark_all" title="keins markieren" name="unmark_all" type="checkbox"> <xsl:attribute name="onclick">if(typeof($)!='undefined'){$(this).closest('table').find('input:checkbox[name=\'<xsl:value-of select="$webbox"/>[marked_element][]\']').prop('checked',false).attr('style','border:dotted 2px #00f;');}return false;</xsl:attribute> </input> <a title="Markierte auswählen" onclick="document.getElementById('{$webbox}_autosubmit').name='{$webbox}[action][show_multiselect]';document.getElementById('{$webbox}_autosubmit').click();return false;" href="#"> <i class="ii ii-{@multiselect}" alt="Markierte auswählen" title="Markierte auswählen">Markierte auswählen</i> </a> </xsl:if> <xsl:if test="multiselect"> <input class="data_header_mark_all" title="alle markieren" name="mark_all" type="checkbox" checked="checked"> <xsl:attribute name="onclick">if(typeof($)!='undefined'){$(this).closest('table').find('input:checkbox[name=\'<xsl:value-of select="$webbox"/>[marked_element][]\']').prop('checked','checked').attr('style','border:solid 1px #f00;');}return false;</xsl:attribute> </input> <input class="data_header_unmark_all" title="keins markieren" name="unmark_all" type="checkbox"> <xsl:attribute name="onclick">if(typeof($)!='undefined'){$(this).closest('table').find('input:checkbox[name=\'<xsl:value-of select="$webbox"/>[marked_element][]\']').prop('checked',false).attr('style','border:dotted 2px #00f;');}return false;</xsl:attribute> </input> <xsl:for-each select="multiselect"> <xsl:variable name="apos">'</xsl:variable> <xsl:variable name="onclick"> <xsl:value-of select="concat('document.getElementById(', $apos, $webbox, '_autosubmit', $apos, ').name=', $apos, $webbox, '[action][', @action, ']', $apos, ';')"/> <xsl:if test="@form_action != ''"> <xsl:value-of select="concat('action = document.getElementById(', $apos, $webbox, $apos, ').action;')"/> <xsl:value-of select="concat('document.getElementById(', $apos, $webbox, $apos, ').action = ', $apos, @form_action, $apos, ';')"/> </xsl:if> <xsl:if test="@target != ''"> <xsl:value-of select="concat('target = document.getElementById(', $apos, $webbox, $apos, ').target;')"/> <xsl:value-of select="concat('document.getElementById(', $apos, $webbox, $apos, ').target = ', $apos, @target, $apos, ';')"/> </xsl:if> <xsl:value-of select="concat('document.getElementById(', $apos, $webbox, '_autosubmit', $apos, ').click();')"/> <xsl:if test="@target != ''"> <xsl:value-of select="concat('document.getElementById(', $apos, $webbox, $apos, ').target = target;')"/> </xsl:if> <xsl:if test="@form_action != ''"> <xsl:value-of select="concat('document.getElementById(', $apos, $webbox, $apos, ').action = action;')"/> </xsl:if> <xsl:value-of select="'return false;'"/> </xsl:variable> <a title="{@title}" onclick="{$onclick}" href="#"> <i class="ii ii-{@icon}" alt="{@title}" title="{@title}"> <xsl:value-of select="@title"/> </i> </a> </xsl:for-each> </xsl:if> </th> </xsl:if> </xsl:template> <xsl:template name="icon"> <xsl:param name="icon"/> <xsl:param name="alt"/> <xsl:param name="title"/> <xsl:param name="class"/> <i> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$class != ''"> <xsl:value-of select="concat($class,' ii ii-',$icon)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('ii ii-',$icon)"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="$title != ''"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:if> <xsl:if test="$alt != ''"> <xsl:attribute name="alt"> <xsl:value-of select="$alt"/> </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="$title!=''"> <xsl:value-of select="$title"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$icon"/> </xsl:otherwise> </xsl:choose> </i> </xsl:template> </xsl:stylesheet>";s:4:"/lib";s:254203:"<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:php="http://php.net/xsl" xmlns:inveda="http://www.inveda.de" xmlns:fad="http://www.fad-server.org" xmlns:exslt="http://exslt.org/common" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:str="http://exslt.org/strings" xmlns:xlink="http://www.w3.org/1999/xlink" exclude-result-prefixes="php inveda exslt str xs fb fad xlink"> <!--xsl:output method="xml" omit-xml-declaration="yes" indent="no" encoding="utf-8"/--> <xsl:decimal-format decimal-separator="," grouping-separator="."/> <xsl:variable name="meta_header" select="document('arg:/inveda_cm' )/inveda_cm/meta_header"/> <xsl:variable name="page" select="document('arg:/inveda_cm' )/inveda_cm/page"/> <xsl:variable name="page_para" select="document('arg:/inveda_cm' )/inveda_cm/page_para"/> <xsl:variable name="session" select="document('arg:/inveda_cm' )/inveda_cm/session"/> <xsl:variable name="request_type" select="document('arg:/inveda_cm' )/inveda_cm/request_type"/> <xsl:variable name="ajax_window" select="content/@ajax_window"/> <xsl:variable name="skin_defs" select="php:function('web_Session::getSkinParams')"/> <xsl:variable name="cookieconsent_display" select="php:function('mandant_Holder::getCurrentParam','cookieconsent_display')"/> <xsl:variable name="is_secure" select="boolean(php:function('web_Session::isSecure'))"/> <xsl:variable name="document" select="/*"/> <xsl:variable name="ivwszm_cdata" select="document('ibs:/holder_param,ivwszm_cdata')/content/@value"/> <xsl:variable name="skin_lazyload" select="$skin_defs/lazyload='yes'"/> <xsl:variable name="c_holderlogin" select="php:function('web_Session::getCurrentHolderLogin')"/> <xsl:variable name="languages" select="php:function('system_Language::getAvailableLanguages')"/> <xsl:variable name="svg_embedded" select="$skin_defs/svg/embedded='yes'"/> <xsl:variable name="cmetadata" select="/content/metadata"/> <xsl:template match="meta_redirect"> <xsl:if test=". != ''"> <script type="text/javascript"> newsite = window.open("<xsl:value-of select="."/>","newsite"); </script> </xsl:if> </xsl:template> <xsl:variable name="meta-description"> <xsl:variable name="d"> <meta-description/> </xsl:variable> <xsl:apply-templates select="exslt:node-set($d)/*"/> </xsl:variable> <xsl:template match="meta-description"> <xsl:choose> <xsl:when test="$document/@description != ''"> <xsl:value-of select="$document/@description"/> </xsl:when> <xsl:when test="$document/metadata/description != ''"> <xsl:value-of select="$document/metadata/description"/> </xsl:when> <xsl:when test="$document/metadata/text != ''"> <xsl:value-of select="$document/metadata/text"/> </xsl:when> <xsl:when test="document('arg:/inveda_cm' )/inveda_cm/description != ''"> <xsl:value-of select="document('arg:/inveda_cm')/inveda_cm/description"/> </xsl:when> </xsl:choose> </xsl:template> <xsl:template name="load_jquery"> <xsl:param name="load-jquery-ui"/> <xsl:if test="not(php:function('web_Session::getGlobal','GET','ajax')='ajax')"> <xsl:if test="php:function('web_Content::addScript','/scripts/jquery/3.3.1/jquery.min.js','text/javascript',1)"/> <xsl:if test="$load-jquery-ui"> <xsl:if test="php:function('web_Content::addScript','/scripts/jquery/jquery-ui/1.12.1/jquery-ui.min.js','text/javascript',2)"/> </xsl:if> </xsl:if> </xsl:template> <!-- HTML-Kopfdaten --> <xsl:template name="inveda_html_header"> <xsl:param name="rss" select="''"/> <xsl:param name="amp" select="'false'"/> <xsl:param name="type" select="string($cmetadata/publishtype)"/> <xsl:param name="author" select="''"/> <xsl:param name="description" select="$meta-description"/> <xsl:param name="keywords" select="''"/> <xsl:param name="language" select="php:function('web_Session::getLanguage')"/> <xsl:param name="favicon" select="'/favicon.ico'"/> <xsl:param name="icons" select="'/cms.share.css.iconsprite.css'"/> <xsl:param name="load-jquery-ui" select="true()"/> <xsl:param name="twitter" select="php:function('mandant_Holder::getCurrentParam','twitter_id')"/> <xsl:param name="facebook" select="php:function('mandant_Holder::getCurrentParam','facebook.fanpage_id')"/> <xsl:param name="robots" select="''"/> <xsl:param name="css" select="concat('/',document('arg:/inveda_cm' )/inveda_cm/skin,'_',document('arg:/inveda_cm' )/inveda_cm/skin_scheme,'.css')"/> <xsl:param name="js" select="concat('/',document('arg:/inveda_cm' )/inveda_cm/skin,'_',document('arg:/inveda_cm' )/inveda_cm/skin_scheme,'.js')"/> <xsl:param name="ie_css" select="''"/> <xsl:param name="ie6_css" select="''"/> <xsl:param name="url" select="php:function('web_Session::getGlobal','FADSESSION','url')"/> <xsl:param name="image" select="string(/content/@image)"/> <xsl:param name="image_type" select="string(/content/@image_type)"/> <xsl:param name="image_width" select="number(/content/@image_width)"/> <xsl:param name="image_height" select="number(/content/@image_height)"/> <xsl:param name="add"/> <xsl:param name="title"> <xsl:variable name="page_title" select="php:function('web_Session::getCurrentHolderValue','page_title')"/> <xsl:choose> <xsl:when test="$page_title != ''"> <xsl:choose> <xsl:when test="/content/@browser_caption!=''"> <xsl:value-of select="concat(/content/@browser_caption,' | ',$page_title)"/> </xsl:when> <xsl:when test="/content/@caption!=''"> <xsl:value-of select="concat(/content/@caption,' | ',$page_title)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$page_title"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="/content/@browser_caption!=''"> <xsl:value-of select="/content/@browser_caption"/> </xsl:when> <xsl:when test="/content/@caption!=''"> <xsl:value-of select="/content/@caption"/> </xsl:when> <xsl:otherwise>Homepage - powered by IReS</xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:param> <xsl:variable name="robot"> <xsl:choose> <xsl:when test="$robots != ''"> <xsl:value-of select="$robots"/> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="/content/@robots != ''"> <xsl:value-of select="/content/@robots"/> </xsl:when> <xsl:when test="/content/@index='no'">noindex</xsl:when> <xsl:when test="$cmetadata/indexing='noindex'">noindex</xsl:when> <xsl:otherwise>index, follow</xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <head data-host="{php:function('php_uname', 'n')}"> <xsl:if test="$title != ''"> <title> <xsl:value-of select="$title"/> </title> </xsl:if> <!-- Zeichenkodierung HTML5 valide --> <meta charset="UTF-8"/> <!-- Open Graph Protocol http://opg.me --> <meta property="og:title" content="{$title}"/> <xsl:choose> <xsl:when test="$type='blog'"> <meta property="og:type" content="article"/> </xsl:when> <xsl:otherwise> <meta property="og:type" content="website"/> <!-- meta name="Googlebot-News" content="noindex, nofollow"/ --> </xsl:otherwise> </xsl:choose> <meta property="og:url" content="{$url}"/> <xsl:if test="$image!=''"> <meta property="og:image" content="{php:function('web_Session::getGlobal','FADSESSION','host')}{$image}"/> <meta name="thumbnail" content="{php:function('web_Session::getGlobal','FADSESSION','host')}{$image}" /> <xsl:if test="$image_type!=''"> <meta property="og:image:type" content="{$image_type}"/> </xsl:if> <xsl:if test="$image_width!=''"> <meta property="og:image:width" content="{$image_width}"/> </xsl:if> <xsl:if test="$image_height!=''"> <meta property="og:image:height" content="{$image_height}"/> </xsl:if> <xsl:choose> <xsl:when test="$image_width <= 1000"> <meta property="max-image-preview" content="standard"/> </xsl:when> <xsl:otherwise> <meta property="max-image-preview" content="large"/> </xsl:otherwise> </xsl:choose> </xsl:if> <meta name="twitter:card" content="summary_large_image"/> <meta name="twitter:title" content="{$title}"/> <meta name="twitter:description" content="{$description}"/> <xsl:if test="$image!=''"> <meta name="twitter:image" content="{php:function('web_Session::getGlobal','FADSESSION','host')}{$image}"/> </xsl:if> <xsl:if test="$twitter != ''"> <meta name="twitter:site" content="@{$twitter}"/> <xsl:variable name="twitter_id_author" select="/content/author/twitter_id"/> <xsl:if test="$twitter_id_author!=''"> <meta name="twitter:creator" content="@{$twitter_id_author}"/> </xsl:if> </xsl:if> <xsl:if test="$facebook != ''"> <meta property="fb:pages" content="{$facebook}"/> </xsl:if> <meta property="og:description" content="{$description}" /> <meta name="viewport" content="width=device-width, initial-scale=1"/> <meta http-equiv="language" content="{$language}"/> <meta name="robots" content="{$robot}"/> <meta name="description" lang="{$language}" content="{$description}"/> <xsl:if test="$author!=''"> <meta name="author" content="{$author}"/> </xsl:if> <xsl:variable name="kw"> <xsl:choose> <xsl:when test="$cmetadata/Tags/Tag"> <xsl:for-each select="$cmetadata/Tags/Tag"> <xsl:if test="position() > 1"> <xsl:value-of select="', '"/> </xsl:if> <xsl:value-of select="."/> </xsl:for-each> </xsl:when> <xsl:when test="$keywords != ''"> <xsl:value-of select="$keywords"/> </xsl:when> <xsl:when test="document('arg:/inveda_cm' )/inveda_cm/keywords != ''"> <xsl:value-of select="document('arg:/inveda_cm' )/inveda_cm/keywords"/> </xsl:when> </xsl:choose> </xsl:variable> <meta name="keywords" content="{$kw}"/> <meta name="news_keywords" content="{$kw}"/> <xsl:variable name="geo_region" select="php:function('mandant_Holder::getCurrentParam','geo.region')"/> <xsl:if test="$geo_region!=''"> <meta name="geo.region" content="{$geo_region}"/> </xsl:if> <xsl:variable name="geo_placename" select="php:function('mandant_Holder::getCurrentParam','geo.placename')"/> <xsl:if test="$geo_placename!=''"> <meta name="geo.placename" content="{$geo_placename}"/> </xsl:if> <xsl:variable name="geo_position" select="php:function('mandant_Holder::getCurrentParam','geo.position')"/> <xsl:if test="$geo_position!=''"> <meta name="geo.position" content="{$geo_position}"/> </xsl:if> <xsl:call-template name="cookieconsent_extern"/> <xsl:if test="$ivwszm_cdata != ''"> <script type="text/javascript" src="https://{$ivwszm_cdata}/iomm/latest/bootstrap/stub.js">//SZM</script> </xsl:if> <!--meta name="DC.Publisher" content="{$publisher}"/> <meta name="DC.Contributor" content="{$contributor}"/> <meta name="DC.Format" content="{$format}"/> <meta name="DC.Source" content="{$source}"/> <meta name="DC.Relation" content="{$relation}"/> <meta name="DC.Coverage" content="{$coverage}"/ --> <xsl:if test="not(php:function('web_Session::isSecure'))"> <xsl:call-template name="cachecontrol"/> </xsl:if> <meta name="generator" content="FAD - Fast Application Development Server"/> <!--meta name="copyright" content="{$copyright}"/ --> <!-- abgeschafft mit HTML 5 --> <!--meta http-equiv="content-language" content="{$language}"/ --> <!-- verlagert nach <html lang="de"> --> <!-- benötigte Meta Data einbinden --> <xsl:for-each select="php:function('web_Content::getMetas')/metas/meta"> <xsl:copy-of select="."/> </xsl:for-each> <xsl:if test="$favicon != ''"> <link rel="shortcut icon" href="{$favicon}" type="image/x-icon"/> <link rel="apple-touch-icon" href="{$favicon}" type="image/x-icon"/> </xsl:if> <xsl:if test="$amp = 'true'"> <link rel="amphtml" href="{php:function('web_Session::getPageUrl')}index.amp"/> </xsl:if> <xsl:if test="/content/@next"> <link rel="next" content="{/content/@next}"/> </xsl:if> <xsl:if test="/content/@prev"> <link rel="prev" content="{/content/@prev}"/> </xsl:if> <xsl:for-each select="$languages/*"> <xsl:variable name="lid" select="@id"/> <xsl:choose> <xsl:when test="$cmetadata/publishtype='blog'"> <xsl:variable name="la" select="$cmetadata/Translations/t[@language=$lid and @active='1']"/> <xsl:if test="$language!=$la/@language"> <link rel="alternate" hreflang="{$lid}" href="/id/{$la}/{$la/@alias}/"/> </xsl:if> </xsl:when> <xsl:when test="$cmetadata/publishtype='page_blogreader'"> </xsl:when> <xsl:when test="$cmetadata/publishtype='page_authorise'"> <xsl:variable name="id" select="php:function('cms_page_authorise_Interface::getPageId')"/> <xsl:variable name="meta" select="php:function('cms_CMS::getMetaById',string($id))/metadata"/> <xsl:variable name="la" select="$meta/Translations/t[@language=$lid and @active='1']"/> <xsl:if test="$language!=$la/@language"> <link rel="alternate" hreflang="{$lid}" href="/{$la}.html"/> </xsl:if> </xsl:when> <xsl:otherwise> <xsl:variable name="la" select="$cmetadata/Translations/t[@language=$lid and @active='1']"/> <xsl:if test="$language!=$la/@language"> <link rel="alternate" hreflang="{$lid}" href="/{$la}.html"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:for-each> <xsl:copy-of select="/content/header/link"/> <!-- default jquery-ui.css kann im skin überschrieben werden --> <xsl:if test="$load-jquery-ui"> <xsl:copy-of select="php:function('web_Content::getStyle', '/scripts/jquery/jquery-ui/1.10.2/themes/default/jquery-ui.min.css', 'text/css', 'screen')"/> <xsl:copy-of select="php:function('web_Content::getStyle', '/scripts/jquery/jquery-ui/1.10.2/themes/default/jquery-ui.structure.min.css', 'text/css', 'screen')"/> <xsl:copy-of select="php:function('web_Content::getStyle', '/scripts/jquery/jquery-ui/1.10.2/themes/default/jquery-ui.theme.min.css', 'text/css', 'screen')"/> </xsl:if> <!-- <xsl:variable name="googleplus" select="php:function('mandant_Holder::getCurrentParam','google.plus.id')"/>--> <!-- <xsl:if test="$googleplus!=''">--> <!-- <link href="https://plus.google.com/{$googleplus}" rel="publisher"/>--> <!-- </xsl:if>--> <xsl:copy-of select="php:function('web_Content::getStyle', '/scripts/public.css', 'text/css', 'screen')"/> <xsl:variable name="skin_dir" select="php:function('constant', 'SKIN_DIR')"/> <xsl:if test="php:function('file_exists', concat($skin_dir, 'public/css/default.css'))"> <xsl:copy-of select="php:function('web_Content::getStyle', '/skins/css/default.css', 'text/css', 'screen')"/> </xsl:if> <!-- ggf. extra Stylesheets für IE definieren (IE6 hover etc.) --> <xsl:if test="$ie_css!=''"> <!-- allgemein für IE --> <xsl:comment>[iflte IE 8]><link media="screen" rel="stylesheet" type="text/css" href="<xsl:value-of select="$ie_css"/>"/><![endif]</xsl:comment> </xsl:if> <xsl:if test="$ie6_css!=''"> <!-- speziell für IE6 --> <xsl:comment>[iflte IE 6]><link media="screen" rel="stylesheet" type="text/css" href="<xsl:value-of select="$ie6_css"/>"/><![endif]</xsl:comment> </xsl:if> <!-- benötigte Styles einbinden --> <xsl:if test="$icons!=''"> <xsl:copy-of select="php:function('web_Content::getStyle', $icons)"/> </xsl:if> <xsl:for-each select="php:function('web_Content::getStyles')/styles/*"> <xsl:copy-of select="."/> </xsl:for-each> <!-- normales Stylesheet definieren --> <xsl:choose> <xsl:when test="document('arg:/inveda_cm' )/inveda_cm/skin='mobile'"> <xsl:variable name="mobile" select="concat(document('arg:/inveda_cm')/inveda_cm/skin_original, '_', document('arg:/inveda_cm')/inveda_cm/skin_scheme, '.css')"/> <xsl:copy-of select="php:function('web_Content::getStyle', $mobile)"/> </xsl:when> <xsl:otherwise> <xsl:if test="$css != ''"> <xsl:copy-of select="php:function('web_Content::getStyle', $css)"/> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:variable name="archivedir" select="php:function('mandant_Holder::getCurrentArchiveDir')"/> <xsl:if test="php:function('file_exists', concat($archivedir, 'custom.css'))"> <xsl:variable name="cb" select="php:function('filemtime', concat($archivedir, 'custom.css'))"/> <link rel="stylesheet" type="text/css" href="/custom.css?cb={$cb}"/> </xsl:if> <xsl:for-each select="//link[@type='application/rss+xml']"> <xsl:choose> <xsl:when test="substring(@href,1,4) = 'http' or substring(@href,1,1) = '/'"> <link rel="alternate" type="application/rss+xml" href="{@href}" title="{@title}"/> </xsl:when> <xsl:otherwise> <link rel="alternate" type="application/rss+xml" href="/{@href}" title="{@title}"/> </xsl:otherwise> </xsl:choose> </xsl:for-each> <xsl:for-each select="exslt:node-set($rss)/a"> <xsl:choose> <xsl:when test="substring(@href,1,4) = 'http' or substring(@href,1,1) = '/'"> <link rel="alternate" type="application/rss+xml" href="{@href}" title="{@title}"/> </xsl:when> <xsl:otherwise> <link rel="alternate" type="application/rss+xml" href="/{@href}" title="{@title}"/> </xsl:otherwise> </xsl:choose> </xsl:for-each> <xsl:for-each select="php:function('web_Content::getLinks')/links/*"> <xsl:copy-of select="."/> </xsl:for-each> <xsl:call-template name="directmode"> <xsl:with-param name="load-jquery-ui" select="$load-jquery-ui"/> </xsl:call-template> <!-- Google Analytics? --> <xsl:if test="not(php:function('web_Session::isSecure'))"> <xsl:call-template name="google_analytics"/> </xsl:if> <xsl:if test="not($skin_defs/ajaxcode='no')"> <xsl:call-template name="ajaxcode"> <xsl:with-param name="load-jquery-ui" select="$load-jquery-ui"/> </xsl:call-template> </xsl:if> <!-- benötigte Scripte einbinden --> <xsl:for-each select="php:function('web_Content::getScripts')/scripts/*|/Content/header/script"> <xsl:choose> <xsl:when test="@src != ''"> <xsl:copy-of select="."/> </xsl:when> <xsl:when test="@type ='application/ld+json'"> <script-ld-json> <xsl:copy-of select="@*"/> <xsl:value-of select="."/> </script-ld-json> </xsl:when> <xsl:otherwise> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:value-of select="." disable-output-escaping="yes"/> </xsl:copy> </xsl:otherwise> </xsl:choose> </xsl:for-each> <!-- normales Javascript definieren --> <xsl:variable name="skin" select="document('arg:/inveda_cm')/inveda_cm/skin"/> <xsl:if test="php:function('file_exists', concat($skin_dir, 'public/js/', $skin, '.js'))"> <xsl:copy-of select="php:function('web_Content::getScript', $js)"/> </xsl:if> <xsl:copy-of select="/content/header/script"/> <xsl:copy-of select="/content/header/*[name() != 'link' and name() != 'script']"/> <xsl:call-template name="onbeforeunload"/> <xsl:apply-templates select="document('arg:/inveda_cm' )/inveda_cm/meta_redirect"/> <xsl:call-template name="cookieconsent"/> <xsl:copy-of select="$add"/> </head> </xsl:template> <xsl:template name="cachecontrol"> <!-- rene: das Cachen der Seiten im Browser führt im Moment nur unnötig zu Problemen bei Änderungen --> <xsl:variable name="now" select="php:function('time')"/> <xsl:choose> <xsl:when test="/content/@cache = 'false'"> <xsl:variable name="cache-control" select="php:function('web_Content::addHeader','Cache-Control','no-store, no-cache, must-revalidate, proxy-revalidate')"/> <xsl:variable name="pragma" select="php:function('web_Content::addHeader','Pragma','no-cache')"/> <meta http-equiv="cache-control" content="{$cache-control}"/> <meta http-equiv="pragma" content="{$pragma}"/> </xsl:when> <xsl:when test="/content/@last-modified"> <xsl:variable name="lastmodified" select="php:function('web_Content::setLastModified',string(/content/@last-modified))"/> <xsl:variable name="age" select="$now - /content/@last-modified"/> <meta http-equiv="last-modified" content="{$lastmodified}"/> <xsl:choose> <xsl:when test="$age < 604800"> <xsl:variable name="cache-control" select="php:function('web_Content::addHeader','Cache-Control','public, max-age=1800, s-maxage=1800, must-revalidate')"/> <xsl:variable name="pragma" select="php:function('web_Content::addHeader','Pragma','public')"/> <xsl:variable name="expires" select="php:function('web_Content::setExpires',$now + 1800)"/> <meta http-equiv="cache-control" content="{$cache-control}"/> <meta http-equiv="pragma" content="{$pragma}"/> <meta http-equiv="expires" content="{$expires}"/> </xsl:when> <xsl:otherwise> <xsl:variable name="cache-control" select="php:function('web_Content::addHeader','Cache-Control','public, max-age=604800, s-maxage=604800, must-revalidate')"/> <xsl:variable name="pragma" select="php:function('web_Content::addHeader','Pragma','public')"/> <xsl:variable name="expires" select="php:function('web_Content::setExpires',$now + 604800)"/> <meta http-equiv="cache-control" content="{$cache-control}"/> <meta http-equiv="pragma" content="{$pragma}"/> <meta http-equiv="expires" content="{$expires}"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:variable name="cache-control" select="php:function('web_Content::addHeader','Cache-Control','public, max-age=1800, s-maxage=1800, must-revalidate')"/> <xsl:variable name="pragma" select="php:function('web_Content::addHeader','Pragma','public')"/> <xsl:variable name="expires" select="php:function('web_Content::setExpires',$now + 1800)"/> <meta http-equiv="cache-control" content="{$cache-control}"/> <meta http-equiv="pragma" content="{$pragma}"/> <meta http-equiv="expires" content="{$expires}"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="directmode"> <xsl:param name="load-jquery-ui" select="true()"/> <xsl:if test="not($is_secure) and ($request_type = 'html') and php:function('web_Session::isDirectMode')"> <xsl:call-template name="load_jquery"> <xsl:with-param name="load-jquery-ui" select="$load-jquery-ui"/> </xsl:call-template> <xsl:variable name="code"> var fad_secure_url="<xsl:value-of select="php:function('web_Session::getURLSecure')"/>" </xsl:variable> <xsl:variable name="js3" select="php:function('web_Content::addScriptCode',string($code),'text/javascript', 3)"/> <xsl:variable name="directmode" select="$skin_defs/directmode"/> <xsl:choose> <xsl:when test="$directmode!=''"> <xsl:variable name="js4" select="php:function('web_Content::addScript', concat('/',$directmode),'text/javascript',100)"/> </xsl:when> <xsl:otherwise> <xsl:variable name="js4" select="php:function('web_Content::addScript', '/scripts/directmode.js','text/javascript',100)"/> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> <!-- Menü ohne Tabellen --> <xsl:template name="css_menu"> <xsl:param name="type"/> <xsl:param name="valign"/> <xsl:param name="width"/> <xsl:param name="css_family"/> <xsl:param name="close"/> <xsl:param name="space"/> <xsl:variable name="cellwidth"> <xsl:choose> <xsl:when test="$width='auto'"> <xsl:value-of select="''"/> </xsl:when> <xsl:when test="$width!=''"> <xsl:value-of select="$width"/> </xsl:when> <xsl:otherwise> <!-- stephan: funktioniert nur im ie; scheint sinnlos--> <!--xsl:value-of select="95 div count(item)"/><xsl:value-of select="'%'"/--> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test="count(item) > 0"> <ul class="menulist_{$css_family}"> <xsl:for-each select="item"> <!--stephan: Bearbeitungsmodus und Lexikon mitten ins sysmenu schmuggeln, damit es korrekt gerendert wird--> <!-- Martin: Außer dem Direktbearbeitungsmodus kann alles in der jeweiligen sysmenu.xml stehen! --> <xsl:if test="position() = 1"> <xsl:if test="$css_family='sysmenu' and document('arg:/inveda_cm')/inveda_cm/preview_mode='1' and document('arg:/inveda_cm')/inveda_cm/user=''"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="text" select="'[Direktbearbeitungsmodus]'"/> <xsl:with-param name="selected" select="@selected"/> <xsl:with-param name="nowrap" select="'nowrap'"/> <xsl:with-param name="tag" select="'li'"/> <xsl:with-param name="link" select="concat('holder.publish.direct.login.html?editpage=',$page)"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="link_target"/> </xsl:call-template> </xsl:if> <!--xsl:if test="$css_family='sysmenu' and document('ibs:/page_allowed,lexikon.public')/result/@value='yes'"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="text" select="@title"/> <xsl:with-param name="selected" select="@selected"/> <xsl:with-param name="nowrap" select="'nowrap'"/> <xsl:with-param name="tag" select="'li'"/> <xsl:with-param name="link" select="'lexikon.public.index.html'"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="link_target"/> <xsl:with-param name="text" select="'Lexikon'"/> </xsl:call-template> </xsl:if--> </xsl:if> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="link" select="@link"/> <xsl:with-param name="link_target" select="@link_target"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="text" select="@title"/> <xsl:with-param name="selected" select="@selected"/> <xsl:with-param name="nowrap" select="'nowrap'"/> <xsl:with-param name="tag" select="'li'"/> <xsl:with-param name="width" select="$cellwidth"/> </xsl:call-template> </xsl:for-each> <xsl:if test="$close='yes'"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="'close'"/> <xsl:with-param name="link" select="'javascript:opener.location.reload();self.close();'"/> <xsl:with-param name="text" select="'Schließen x'"/> <xsl:with-param name="nowrap" select="'nowrap'"/> <xsl:with-param name="tag" select="'li'"/> <xsl:with-param name="width" select="$cellwidth"/> </xsl:call-template> </xsl:if> </ul> <xsl:if test="$space!='no'"> <div id="menuspace_{$css_family}"> </div> </xsl:if> </xsl:if> </xsl:template> <!-- allgemeines Menü-Template --> <xsl:template name="inveda_menu"> <xsl:param name="fullwidth"/> <xsl:param name="type"/> <xsl:param name="name"/> <xsl:param name="valign"/> <xsl:param name="css_family"/> <xsl:param name="bullet_family"/> <xsl:param name="bullet_mime" select="'gif'"/> <xsl:if test="count(item) > 0"> <xsl:choose> <xsl:when test="$type = 'horizontal_table'"> <table class="{concat($css_family,'_table')}" border="0" cellspacing="0" cellpadding="0"> <xsl:if test="$css_family!='sysmenu'"> <xsl:attribute name="eid">menu</xsl:attribute> </xsl:if> <xsl:if test="$fullwidth"> <xsl:attribute name="width">100%</xsl:attribute> </xsl:if> <tr class="{concat($css_family,'_row')}"> <!--xsl:if test="$css_family='sysmenu' and starts-with($page,'wiki')"> <xsl:call-template name="RenderCell"> <xsl:with-param name="name" select="$name"/> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="link" select="concat('wiki.admin.html?WikiBox[action]=show_list&site=',$page)"/> <xsl:with-param name="link_target"/> <xsl:with-param name="text" select="'Bearbeiten'"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </xsl:if--> <xsl:for-each select="item"> <xsl:call-template name="RenderCell"> <xsl:with-param name="name" select="$name"/> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="link" select="@link"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="action" select="@action"/> <xsl:with-param name="link_target" select="@link_target"/> <xsl:with-param name="anchor_id" select="@anchor_id"/> <xsl:with-param name="text" select="@title"/> <xsl:with-param name="selected" select="@selected"/> <xsl:with-param name="nowrap" select="'nowrap'"/> </xsl:call-template> <xsl:if test="position() = 1"> <!--stephan: Bearbeitungsmodus und Lexikon mitten ins sysmenu schmuggeln, damit es korrekt gerendert wird--> <!--xsl:if test="$css_family='sysmenu' and document('ibs:/page_allowed,lexikon.public')/result/@value='yes'"> <xsl:call-template name="RenderCell"> <xsl:with-param name="name" select="$name"/> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="link" select="'lexikon.public.index.html'"/> <xsl:with-param name="link_target"/> <xsl:with-param name="text" select="'Lexikon'"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </xsl:if--> <xsl:if test="$css_family='sysmenu' and document('arg:/inveda_cm')/inveda_cm/preview_mode='1' and document('arg:/inveda_cm')/inveda_cm/user=''"> <xsl:call-template name="RenderCell"> <xsl:with-param name="name" select="$name"/> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="link" select="concat('holder.publish.direct.login.html?editpage=',$page)"/> <xsl:with-param name="link_target"/> <xsl:with-param name="text" select="'[Direktbearbeitungsmodus]'"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:for-each> </tr> </table> </xsl:when> <xsl:when test="$type = 'vertical_table'"> <table class="{concat($css_family,'_table')}" border="0" cellspacing="0" cellpadding="0"> <xsl:if test="$css_family!='sysmenu'"> <xsl:attribute name="eid">menu</xsl:attribute> </xsl:if> <xsl:if test="$fullwidth"> <xsl:attribute name="width">100%</xsl:attribute> </xsl:if> <xsl:if test="$css_family='sysmenu' and starts-with($page,'wiki')"> <tr class="{concat($css_family,'_row')}"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="link" select="concat('system.wiki.html?site=',$page)"/> <xsl:with-param name="link_target"/> <xsl:with-param name="text" select="'Bearbeiten'"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </tr> </xsl:if> <xsl:for-each select="item"> <tr class="{concat($css_family,'_row')}"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="link" select="@link"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="link_target" select="@link_target"/> <xsl:with-param name="text" select="@title"/> <xsl:with-param name="selected" select="@selected"/> <!--xsl:with-param name="nowrap" select="'nowrap'"/--> </xsl:call-template> </tr> </xsl:for-each> </table> </xsl:when> <xsl:when test="$type = 'compact_table'"> <table class="{concat($css_family,'_table')}" border="0" cellspacing="0" cellpadding="0"> <xsl:if test="$fullwidth"> <xsl:attribute name="width">100%</xsl:attribute> </xsl:if> <xsl:for-each select="item"> <xsl:if test="@link!=''"> <tr class="{concat($css_family,'_row')}"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="link" select="@link"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="link_target" select="@link_target"/> <xsl:with-param name="text" select="@title"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </tr> <xsl:if test="@selected"> <tr> <td> <table width="90%" align="right" cellspacing="0" cellpadding="0"> <xsl:for-each select="../../menu[@name='menu' and @level='2']/item"> <tr class="{concat('sub',$css_family,'_row')}"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="concat('sub',$css_family)"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="link" select="@link"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="link_target" select="@link_target"/> <xsl:with-param name="text" select="@title"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </tr> <xsl:if test="@selected"> <tr> <td> <table width="90%" align="right" cellspacing="0" cellpadding="0"> <xsl:for-each select="../../menu[@name='menu' and @level='3']/item"> <tr class="{concat('subsub',$css_family,'_row')}"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="concat('subsub',$css_family)"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="valign" select="$valign"/> <xsl:with-param name="link" select="@link"/> <xsl:with-param name="ajax" select="@ajax"/> <xsl:with-param name="link_target" select="@link_target"/> <xsl:with-param name="text" select="@title"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </tr> </xsl:for-each> </table> </td> </tr> </xsl:if> </xsl:for-each> </table> </td> </tr> </xsl:if> </xsl:if> </xsl:for-each> </table> </xsl:when> </xsl:choose> </xsl:if> </xsl:template> <xsl:template name="inveda_news"> <xsl:param name="has_link" select="'true'"/> <xsl:param name="img_width"/> <xsl:param name="img_height"/> <xsl:param name="news"/> <xsl:param name="link_name" select="'true'"/> <xsl:param name="link_details"/> <xsl:param name="read_more" select="'false'"/> <xsl:for-each select="$news[position() < 6]"> <xsl:sort select="@visible_start" order="descending"/> <xsl:call-template name="RenderNewsItem"> <xsl:with-param name="has_link" select="$has_link"/> <xsl:with-param name="img_width" select="$img_width"/> <xsl:with-param name="img_height" select="$img_height"/> <xsl:with-param name="link_name" select="$link_name"/> <xsl:with-param name="link_details" select="$link_details"/> <xsl:with-param name="read_more" select="$read_more"/> </xsl:call-template> </xsl:for-each> <xsl:if test="count($news) >= 6"> <a href="/news.customer.index.html" title="weitere News" class="news_more">weitere News</a> </xsl:if> </xsl:template> <xsl:template name="RenderNewsItem"> <xsl:param name="has_link" select="'true'"/> <xsl:param name="img_width"/> <xsl:param name="img_height"/> <xsl:param name="link_name" select="'true'"/> <xsl:param name="link_details"/> <xsl:param name="read_more" select="'false'"/> <xsl:variable name="news_date" select="php:function('mandant_Holder::getCurrentParam','news.date_format')"/> <xsl:variable name="metap" select="php:function('cms_blog_Interface::getMeta',string(@nr))/metadata"/> <!--<xsl:variable name="news_page">--> <!--<xsl:choose>--> <!--<xsl:when test="$link_details!=''">--> <!--<xsl:value-of select="concat($link_details,@nr)"/>--> <!--</xsl:when>--> <!--<xsl:when test="@news_page">--> <!--<xsl:value-of select="concat(@news_page,'.html')"/>--> <!--</xsl:when>--> <!--<xsl:otherwise>news.html</xsl:otherwise>--> <!--</xsl:choose>--> <!--</xsl:variable>--> <xsl:variable name="news_link"> <a href="/id/{@nr}/{@alias}/news.customer.reader.html" title="{@title}"> <xsl:value-of select="@title"/> </a> </xsl:variable> <div class="news_entry"> <xsl:if test="$metap/img != ''"> <xsl:attribute name="class">news_entry img-inside</xsl:attribute> </xsl:if> <span eid="newsitem" eitem="{@nr}"/> <xsl:choose> <xsl:when test="$news_date = 'visible_start'"> <xsl:if test="$metap/visible_start !='' "> <div class="news_date"> <xsl:variable name="date" select="php:function('strtotime',string($metap/visible_start))"/> <xsl:value-of select="php:function('date','d.m.Y',number($date))"/> </div> </xsl:if> </xsl:when> <xsl:when test="$news_date = 'created'"> <xsl:if test="$metap/created !='' "> <div class="news_date"> <xsl:variable name="date" select="php:function('strtotime',string($metap/created))"/> <xsl:value-of select="php:function('date','d.m.Y - h:j',number($date))"/> </div> </xsl:if> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> <xsl:if test="@topic != ''"> <div class="news_topic"> <a class="news_topic" href="/topic/{@topic}/news.customer.index.html"> <xsl:value-of select="@topic"/> </a> </div> </xsl:if> <div class="news_title"> <xsl:choose> <xsl:when test="$link_name='none'"> <a href="{@news_link}" title="{@title}"> <xsl:value-of select="@title"/> </a> </xsl:when> <xsl:when test="$has_link != 'false' and $link_name!='none'"> <xsl:copy-of select="exslt:node-set($news_link)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@title"/> </xsl:otherwise> </xsl:choose> </div> <xsl:if test="$metap/img != ''"> <a href="/id/{@nr}/{@alias}/news.customer.reader.html" title="{@title}" class="news_img"> <img src="/blog.{$metap/nr}.images.{$metap/img}.{$img_width}x{$img_height}.{$metap/imgtype}" alt="{$metap/title}"/> </a> </xsl:if> <xsl:if test="$has_link = 'no'"> <div class="news_content"> <p> <xsl:value-of select="$metap/text"/> </p> </div> </xsl:if> <xsl:if test="$read_more = 'true'"> <xsl:choose> <xsl:when test="$link_name='none'"> <a href="{@news_link}" title="{@title}" class="read_more">weiterlesen</a> </xsl:when> <xsl:when test="$has_link != 'false' and $link_name!='none'"> <a href="/id/{@nr}/{@alias}/news.customer.reader.html" title="{@title}" class="read_more">weiterlesen</a> </xsl:when> </xsl:choose> </xsl:if> </div> </xsl:template> <xsl:template name="page_functions"> <xsl:param name="help" select="/content/@hlp"/> <!-- Versuch Hilfeicons bei Überschriften anzuzeigen? --> <xsl:if test="$help != '' "> <a href="/help/{$help}/help.index.html" target="_blank" rel="nofollow" onclick="getHelp('/help/{$help}/help.index.ajax', null, 'dialog');return false;"> <i class="ii ii-info" alt="Hilfe zu diesem Bereich" title="Hilfe zu diesem Bereich">help</i> </a> </xsl:if> <!-- <xsl:if test="/content/@hlp_as_popup"> --> <!-- <a href="javascript:window.open('help.{$page}.hlp','HelpWindow','width=300,height=500,left=(screen.width - 400),top=50');HelpWindow.focus();self.reload;"> --> <!-- <img src="/web.images.help.png" title="Hilfe zur Seite" border="0" alt="Hilfe zur Seite"/> --> <!-- </a> --> <!-- </xsl:if> --> <!-- <xsl:if test="/content/@hlp"> --> <!-- <a class="page_function" href="{/content/@hlp}.hlp" target="inveda_help"> --> <!-- <img src="/web.images.help.png" title="Hilfe zur Seite" border="0" style="width:16px;height:16px;" alt="Hilfe zur Seite"/> --> <!-- </a> --> <!-- </xsl:if> --> <xsl:if test="document('ibs:/page_allowed,speaker.index')/result/@value='yes' and not(/content/@speaker='off')"> <a class="page_function" href="speaker.index.html?url={$page}.speak" title="Seite vorlesen lassen." onclick="requestWebbox('/url={$page}.speak/speaker.index.ajax'); return false;" target="_blank" rel="nofollow"> <img src="/web.images.mime-mp3.png" title="Seite vorlesen lassen" style="width:16px;height:16px;margin-left:3px;" alt="Seite vorlesen lassen"/> </a> </xsl:if> <xsl:if test="/content/@rss"> <a class="page_function" href="{$page}_rss.script" target="_blank" rel="nofollow"> <img src="/web.images.feed.png" title="RSS Feed zu dieser Seite" style="width:16px;height:16px;margin-left:3px;" alt="RSS Feed zu dieser Seite"/> </a> </xsl:if> <xsl:if test="/content/@pdf='yes' or /content/@pdf='true'"> <a class="page_function" href="{$page}.pdf" type="application/pdf" rel="nofollow"> <img src="/web.images.mime_pdf.png" title="Seite als PDF ausgeben" style="width:16px;height:16px;margin-left:3px;" alt="Seite als PDF ausgeben"/> </a> </xsl:if> <xsl:choose> <xsl:when test="/content/@xml='yes'"> <a class="page_function" href="{$page}.xml" type="application/msexcel" rel="nofollow"> <img src="/web.images.mime_xml.png" title="XML-Datei erstellen" style="width:16px;height:16px;margin-left:3px;" alt="XML-Datei erstellen"/> </a> </xsl:when> <xsl:when test="/content/@xml !='' and /content/@xml != 'yes'"> <a class="page_function" href="{/content/@xml}.xml" type="application/msexcel" target="_blank" rel="nofollow"> <img src="/web.images.mime_xml.png" title="XML-Datei erstellen" style="width:16px;height:16px;margin-left:3px;" alt="XML-Datei erstellen"/> </a> </xsl:when> </xsl:choose> <xsl:choose> <xsl:when test="/content/@dta='yes'"> <a class="page_function" href="{$page}.dta" type="application/text" rel="nofollow"> <img src="/web.images.mime_txt.png" title="DTA-Datei erstellen" style="width:16px;height:16px;margin-left:3px;" alt="DTA-Datei erstellen"/> </a> </xsl:when> <xsl:when test="/content/@dta !='' and /content/@dta != 'yes'"> <a class="page_function" href="{/content/@dta}.dta" type="application/text" target="_blank" rel="nofollow"> <img src="/web.images.mime_txt.png" title="DTA-Datei erstellen" style="width:16px;height:16px;margin-left:3px;" alt="DTA-Datei erstellen"/> </a> </xsl:when> </xsl:choose> <xsl:if test="/content/@csv='true' or /content/@csv='yes'"> <a class="page_function" href="{$page}.csv" type="application/msexcel" target="_blank" rel="nofollow"> <img src="/web.images.mime_csv.png" title="Seite als CSV ausgeben" style="width:16px;height:16px;margin-left:3px;" alt="Seite als CSV ausgeben"/> </a> </xsl:if> <xsl:if test="/content/@xls='yes' or /content/@xls='true'"> <a class="page_function" href="{$page}.xls" type="application/msexcel" target="_blank" rel="nofollow"> <img src="/web.images.mime_xls.png" title="Seite als Excel-Tabelle ausgeben" style="width:16px;height:16px;margin-left:3px;" alt="Seite als Excel-Tabelle ausgeben"/> </a> </xsl:if> <xsl:if test="/content/@txt='yes' or /content/@txt='true'"> <a class="page_function" href="{$page}.txt" type="application/txt" target="_blank" rel="nofollow"> <img src="/web.images.mime_txt.png" title="Seite als Text ausgeben" style="width:16px;height:16px;margin-left:3px;" alt="Seite als Text ausgeben"/> </a> </xsl:if> <xsl:if test="/content/@xlsx='yes' or /content/@xlsx='true'"> <a class="page_function" href="{$page}.xlsx" type="application/msexcel" rel="nofollow"> <img src="/web.images.mime_xls.png" title="Seite als Excel-Tabelle ausgeben" style="width:16px;height:16px;margin-left:3px;" alt="Seite als Excel-Tabelle ausgeben"/> </a> </xsl:if> <!-- Seite empfehlen --> <xsl:if test="/content/@advise='yes' and document('ibs:/page_allowed,tools.advise.advise')/result/@value='yes'"> <xsl:if test="document('ibs:/holder_param,advise_linkarena')/content/@value='enabled'"> <a class="page_function" href="/ibs/out.php?s=linkarena&t={php:function('urlencode',string(content/@caption))}" title="Hier können Sie diese Seite bei Linkarena verlinken." target="_blank" rel="nofollow"> <img src="/web.images.linkarena.png" title="Seite bei Linkarena verlinken" style="width:16px;height:16px;margin-left:3px;" alt="Seite bei Linkarena verlinken"/> </a> </xsl:if> <xsl:if test="document('ibs:/holder_param,advise_misterwong')/content/@value='enabled'"> <a class="page_function" href="/ibs/out.php?s=mrwong&t={php:function('urlencode',string(content/@caption))}" title="Hier können Sie diese Seite bei Mister Wong verlinken." target="_blank" rel="nofollow"> <img src="/web.images.misterwong.png" title="Seite bei Mister Wong verlinken" style="width:16px;height:16px;margin-left:3px;" alt="Seite bei Mister Wong verlinken"/> </a> </xsl:if> <xsl:if test="document('ibs:/holder_param,advise_delicious')/content/@value='enabled'"> <a class="page_function" href="/ibs/out.php?s=delicious" title="Hier können Sie diese Seite bei del.icio.us verlinken." target="_blank" rel="nofollow"> <img src="/web.images.delicious.png" title="Seite bei del.icio.us verlinken" style="width:16px;height:16px;margin-left:3px;" alt="Seite bei del.icio.us verlinken"/> </a> </xsl:if> <xsl:if test="document('ibs:/holder_param,advise_xing')/content/@value='enabled'"> <a class="page_function" href="/ibs/out.php?s=xing&t={php:function('urlencode',string(content/@caption))}" title="Hier können Sie diese Seite bei Xing verlinken." target="_blank" rel="nofollow"> <img src="/web.images.xing.png" title="Seite bei Xing verlinken" style="width:16px;height:16px;margin-left:3px;" alt="Seite bei Xing verlinken"/> </a> </xsl:if> <xsl:if test="document('ibs:/holder_param,advise_twitter')/content/@value='enabled'"> <a class="page_function" href="/ibs/out.php?s=twitter" title="Hier können Sie diese Seite bei Twitter verlinken." target="_blank" rel="nofollow"> <img src="/web.images.twitter.png" title="Seite bei Twitter verlinken" style="width:16px;height:16px;margin-left:3px;" alt="Seite bei Twitter verlinken"/> </a> </xsl:if> <xsl:if test="document('ibs:/holder_param,advise_googleplus')/content/@value='enabled'"> <a class="page_function" href="/ibs/out.php?s=googleplus&t={php:function('urlencode',string(content/@caption))}" title="Hier können Sie diese Seite bei Google+ verlinken." target="_blank" rel="nofollow"> <img src="/web.images.googleplus.png" title="Seite bei Google+ verlinken" style="width:16px;height:16px;margin-left:3px;" alt="Seite bei Google+ verlinken"/> </a> </xsl:if> <xsl:if test="document('ibs:/holder_param,advise_facebook')/content/@value='enabled'"> <a class="page_function" href="/ibs/out.php?s=facebook_share&t={php:function('urlencode',string(content/@caption))}" title="Hier können Sie diese Seite bei Facebook verlinken." target="_blank" rel="nofollow"> <img src="/web.images.facebook_new.png" title="Seite bei Facebook verlinken" style="width:16px;height:16px;margin-left:3px;" alt="Seite bei Facebook verlinken"/> </a> </xsl:if> <xsl:if test="not(document('ibs:/holder_param,advise_mail')/content/@value='disabled')"> <a class="page_function" href="/tools.advise.advise.html?advise_page={$page}&title={php:function('urlencode',string(content/@caption))}" title="Hier können Sie diese Seite per E-Mail empfehlen." onclick="requestWebbox('/advise_page/{$page}/title/{content/@caption}/tools.advise.advise.ajax'); return false;" target="_blank" rel="nofollow"> <img src="/web.images.write_letter.png" title="Seite per E-Mail empfehlen" style="width:16px;height:16px;margin-left:3px;" alt="Seite per E-Mail empfehlen"/> </a> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="ajaxcode"> <xsl:param name="load-jquery-ui" select="true()"/> <script type="text/javascript"> session = '<xsl:value-of select="document('arg:/inveda_cm' )/inveda_cm/session"/>'; </script> <xsl:call-template name="load_jquery"> <xsl:with-param name="load-jquery-ui" select="$load-jquery-ui"/> </xsl:call-template> <xsl:variable name="js3" select="php:function('web_Content::addScript', '/scripts/ajax.js','text/javascript',100)"/> </xsl:template> <xsl:template name="replace_string"> <xsl:param name="string"/> <xsl:param name="from"/> <xsl:param name="to"/> <xsl:choose> <xsl:when test="contains($string, $from)"> <xsl:value-of select="substring-before($string, $from)"/> <xsl:copy-of select="$to"/> <xsl:call-template name="replace_string"> <xsl:with-param name="string" select="substring-after($string, $from)"/> <xsl:with-param name="from" select="$from"/> <xsl:with-param name="to" select="$to"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> <!--Hauptbereich mit Inhaltsverzeichnis--> <xsl:template name="inveda_content"> <xsl:variable name="type"/> <xsl:variable name="page_encode"> return '<page>'.urlencode('<xsl:call-template name="replace_string"> <xsl:with-param name="string" select="$page" /> <xsl:with-param name="from">'</xsl:with-param> <xsl:with-param name="to">\'</xsl:with-param> </xsl:call-template>').'</page>'; </xsl:variable> <xsl:variable name="confirm_encode"> return '<confirm>'.urlencode('<xsl:call-template name="replace_string"> <xsl:with-param name="string" select="@confirm" /> <xsl:with-param name="from">'</xsl:with-param> <xsl:with-param name="to">\'</xsl:with-param> </xsl:call-template>').'</confirm>'; </xsl:variable> <xsl:variable name="register_encode"> return '<register>'.urlencode('<xsl:call-template name="replace_string"> <xsl:with-param name="string" select="@register" /> <xsl:with-param name="from">'</xsl:with-param> <xsl:with-param name="to">\'</xsl:with-param> </xsl:call-template>').'</register>'; </xsl:variable> <xsl:variable name="agree_encode"> return '<agree>'.urlencode('<xsl:call-template name="replace_string"> <xsl:with-param name="string" select="@agree" /> <xsl:with-param name="from">'</xsl:with-param> <xsl:with-param name="to">\'</xsl:with-param> </xsl:call-template>').'</agree>'; </xsl:variable> <xsl:variable name="password_encode"> return '<password>'.urlencode('<xsl:call-template name="replace_string"> <xsl:with-param name="string" select="@password" /> <xsl:with-param name="from">'</xsl:with-param> <xsl:with-param name="to">\'</xsl:with-param> </xsl:call-template>').'</password>'; </xsl:variable> <xsl:variable name="confirm" select="php:function('system_Transformer::Evaluate',$confirm_encode)" /> <xsl:variable name="register" select="php:function('system_Transformer::Evaluate',$register_encode)" /> <xsl:variable name="agree" select="php:function('system_Transformer::Evaluate',$agree_encode)" /> <xsl:variable name="password" select="php:function('system_Transformer::Evaluate',$password_encode)" /> <xsl:variable name="referrer" select="php:function('system_Transformer::Evaluate',$page_encode)" /> <xsl:choose> <xsl:when test="$confirm!='' and document('ibs:/issearchengine')/issearchengine='false'"> <xsl:variable name="redirect"> <xsl:for-each select="document('ibs:/confirmed_pages')/confirmed_pages/page"> <xsl:if test="text() = $confirm">no</xsl:if> </xsl:for-each> </xsl:variable> <xsl:if test="$redirect != 'no'"> <xsl:copy-of select="document(concat('ibs:/redirect,tools.confirm,confirm_page=',$confirm,',confirm_referrer=',$referrer))"/> </xsl:if> </xsl:when> <xsl:when test="$register!='' and document('ibs:/issearchengine')/issearchengine='false'"> <xsl:variable name="redirect"> <xsl:for-each select="document('ibs:/registered_pages')/registered_pages/page"> <xsl:if test="text() = $register">no</xsl:if> </xsl:for-each> </xsl:variable> <xsl:if test="$redirect != 'no'"> <xsl:copy-of select="document(concat('ibs:/redirect,tools.register,register_page=',$register,',register_referrer=',$referrer))"/> </xsl:if> </xsl:when> <xsl:when test="$agree!='' and document('ibs:/issearchengine')/issearchengine='false'"> <xsl:variable name="redirect"> <xsl:for-each select="document('ibs:/agreed_pages')/agreed_pages/page"> <xsl:if test="text() = $agree">no</xsl:if> </xsl:for-each> </xsl:variable> <xsl:if test="$redirect != 'no'"> <xsl:copy-of select="document(concat('ibs:/redirect,tools.agree,agree_page=',$agree,',agree_referrer=',$referrer))"/> </xsl:if> </xsl:when> <xsl:when test="$password!=''"> <xsl:variable name="redirect"> <xsl:for-each select="document('ibs:/password_pages')/password_pages/page"> <xsl:if test="text() = $referrer">no</xsl:if> </xsl:for-each> </xsl:variable> <xsl:if test="$redirect != 'no'"> <xsl:copy-of select="document(concat('ibs:/redirect,tools.password,password_pw=',$password,',password_referrer=',$referrer))"/> </xsl:if> </xsl:when> </xsl:choose> <xsl:variable name="edit"> <xsl:value-of select="@edit"/> </xsl:variable> <!--xsl:if test="$javascript='yes'"> <xsl:call-template name="ajaxcode"/> </xsl:if--> <!-- <xsl:variable name="width"> --> <!--xsl:choose> <xsl:when test="@width='unlimited'">100%</xsl:when> <xsl:when test="string-length(@width) < 1">100%</xsl:when> <xsl:otherwise><xsl:value-of select="$content_width"/></xsl:otherwise> </xsl:choose--> <!--xsl:if test="string-length(@width) > 1"><xsl:value-of select="$content_width"/></xsl:if--> <!-- </xsl:variable> --> <!--xsl:if test="$edit!='no'"> <xsl:attribute name="eid">content</xsl:attribute> </xsl:if> <xsl:if test="/content/@error!=''"> <xsl:attribute name="error"><xsl:value-of select="/content/@error"/></xsl:attribute> </xsl:if--> <div eitem="{document('arg:/inveda_cm')/inveda_cm/page}" class="i_content_wrapper"> <xsl:if test="@width"> <xsl:attribute name="style"> <xsl:value-of select="concat('width:',@width)"/> </xsl:attribute> </xsl:if> <xsl:if test="$edit!='no' and not($type='include')"> <xsl:attribute name="eid">content</xsl:attribute> </xsl:if> <xsl:if test="/content/@error!=''"> <xsl:attribute name="error"><xsl:value-of select="/content/@error"/></xsl:attribute> </xsl:if> <xsl:if test="/content/@image and text"> <xsl:choose> <xsl:when test="/content/@image_align = 'left'"> <div class="image_align_left" style="align:left"> <img src="{/content/@image}" border="0" alt=""/> </div> </xsl:when > <xsl:when test="/content/@image_align = 'right'"> <div class="image_align_right" style="align:right"> <img src="{/content/@image}" border="0" alt=""/> </div> </xsl:when> </xsl:choose> </xsl:if> <!-- Content rendern --> <!-- <xsl:apply-templates select="header"/> frank: header wird auch in html header eingefügt. kann entfernt werden wenn alles funktioniert --> <!-- rene: header mit html content zu details geändert --> <xsl:apply-templates select="details"/> <xsl:apply-templates select="text"/> <xsl:if test="count(chapter) > 0"> <xsl:call-template name="chapter_index"/> </xsl:if> <xsl:apply-templates select="*[not(name() = 'text') and not(name() = 'header') and not(name() = 'details') and not(name() = 'metadata')]"/> </div> <xsl:if test="@textboxes='yes' and $type!='include'"> <xsl:apply-templates select="document('ibs:/original')/content//textbox_list"/> <xsl:apply-templates select="document('ibs:/original')/content//register"/> </xsl:if> <!-- Kommentieren erlaubt?! --> <xsl:if test="@comment='yes' or @comment = 'board'"> <xsl:if test="document('ibs:/page_allowed,comment.public.index')/result/@value='yes'"> <xsl:apply-templates select="document(concat('ibs:/include,comment.public.index,comment~',@comment,',page~',php:function('web_Session::getPage')))/content" /> </xsl:if> </xsl:if> </xsl:template> <xsl:template match="chapter_index"> <xsl:call-template name="chapter_index"/> </xsl:template> <xsl:template name="chapter_index"> <ul class="chapter_index"> <a id="chapter_start" name="chapter_start"> </a> <h3 class="h_chapter_index"> <xsl:value-of select="'Kapitelübersicht'"/> </h3> <xsl:for-each select="//chapter"> <li data-chapter="{position()}"> <a href="#{generate-id(@caption)}" title="{@caption}"> <xsl:value-of select="@caption"/> </a> </li> </xsl:for-each> </ul> </xsl:template> <xsl:template match="header[../inveda:header]"> <xsl:apply-templates/> </xsl:template> <xsl:template match="chapter"> <xsl:call-template name="chapter"/> </xsl:template> <xsl:template name="chapter"> <xsl:variable name="skin_dir" select="php:function('constant', 'SKIN_DIR')"/> <div class="chapter"> <a class="anker fad_visuallyhidden" name="{generate-id(@caption)}"> </a> <h3 class="h_chapter"> <xsl:variable name="picpath"> <xsl:choose> <xsl:when test="document('ibs:/mobile_device')/content/@value = 'yes'"> /skins/images/mobile/icon_up.gif </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="php:function('file_exists', concat($skin_dir, 'public/images/', document('arg:/inveda_cm' )/inveda_cm/skin,'/', document('arg:/inveda_cm' )/inveda_cm/skin_scheme_default , '/icon_up.svg'))"> <xsl:value-of select="concat('/skins/images/', document('arg:/inveda_cm' )/inveda_cm/skin,'/', document('arg:/inveda_cm' )/inveda_cm/skin_scheme_default,'/icon_up.svg')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('/skins/images/', document('arg:/inveda_cm' )/inveda_cm/skin,'/', document('arg:/inveda_cm' )/inveda_cm/skin_scheme_default,'/icon_up.gif')"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="#chapter_start" title="Hoch"> <img src="{$picpath}" width="16" height="16" border="0" alt="nach oben" title="nach oben"/> </a> <xsl:value-of select="@caption"/> </h3> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="register"> <xsl:call-template name="build_register"/> </xsl:template> <xsl:template name="build_register"> <xsl:for-each select="record"> <xsl:if test="document(concat('ibs:/page_allowed,',@link))/result/@value='yes'"> <!-- sollen die Links überhaupt angezeigt werden? --> <xsl:variable name="record_layout" select="document('ibs:/holder_param,record_layout')/content/@value"/> <!-- Liste aufbauen --> <xsl:variable name="list"> <!-- Variable nur füllen, wenn Liste benötigt wird --> <xsl:if test="$record_layout != 'simple'"> <!-- Links selektieren --> <xsl:variable name="ref" select="document(concat('ibs:/include,',@link))/content"/> <xsl:variable name="confirm" select="$ref/@confirm!=''"/> <xsl:variable name="tb" select="$ref//box[document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes' and @link!='kontakt']"/> <xsl:variable name="rc" select="$ref/text//register/record[document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes']"/> <xsl:variable name="lk" select="$ref//*[@href and @title!='' and document(concat('ibs:/page_allowed,',translate(@href,'#','')))/result/@value='yes']"/> <xsl:variable name="plink" select="concat('/',@link,'.html')"/> <ul> <xsl:if test="count($lk) > 0"> <li> <a title="{@title}" href="{@link}.html" class="first_link"> <xsl:value-of select="@title"/> </a> <xsl:for-each select="$lk"> <xsl:if test="position() > 1"> <xsl:value-of select="', '"/> </xsl:if> <xsl:if test="position() = 1"> <xsl:value-of select="': '"/> </xsl:if> <a href="{@href}"> <xsl:if test="@onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="@onclick"/> </xsl:attribute> </xsl:if> <xsl:value-of select="@title"/> </a> </xsl:for-each> </li> </xsl:if> <xsl:if test="count($rc) > 0"> <xsl:for-each select="$rc"> <xsl:sort select="@title"/> <xsl:variable name="link"> <xsl:choose> <xsl:when test="$confirm='true'"><xsl:value-of select="$plink"/></xsl:when> <xsl:otherwise><xsl:value-of select="@link"/>.html</xsl:otherwise> </xsl:choose> </xsl:variable> <li> <a title="{@title}" href="{$link}" class="first_link"> <xsl:value-of select="@title"/> </a> <xsl:variable name="ref2" select="document(concat('ibs:/include,',@link))/content"/> <xsl:for-each select="$ref2//register/record[not(@follow='no') and document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes']"> <!--xsl:sort select="@title"/ --> <xsl:variable name="link2"> <xsl:choose> <xsl:when test="$confirm='true'"><xsl:value-of select="$plink"/></xsl:when> <xsl:otherwise><xsl:value-of select="@link"/>.html</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test="position() = 1"> <xsl:value-of select="': '"/> </xsl:if> <xsl:if test="position() > 1"> <xsl:value-of select="', '"/> </xsl:if> <a href="{$link2}"> <xsl:if test="$confirm!='true' and @onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="@onclick"/> </xsl:attribute> </xsl:if> <xsl:value-of select="@title"/> </a> </xsl:for-each> <xsl:for-each select="$ref2//*[not(@follow='no') and @href and @title!='' and document(concat('ibs:/page_allowed,',translate(@href,'#','')))/result/@value='yes']"> <!--xsl:sort select="@title"/ --> <xsl:choose> <xsl:when test="count($ref2//register/record[not(@follow='no') and document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes']) > 0 or position() > 1"> <xsl:value-of select="', '"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="': '"/> </xsl:otherwise> </xsl:choose> <xsl:variable name="link2"> <xsl:choose> <xsl:when test="$confirm='true'"><xsl:value-of select="$plink"/></xsl:when> <xsl:otherwise><xsl:value-of select="@href"/></xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$link2}"> <xsl:value-of select="@title"/> </a> </xsl:for-each> <xsl:for-each select="$ref2//box[@link and @link!='kontakt' and @caption!='' and document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes']"> <!--xsl:sort select="@caption"/ --> <xsl:choose> <xsl:when test="count($ref2//register/record[not(@follow='no') and document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes']) > 0 or count($ref2//*[not(@follow='no') and @href and @title!='' and document(concat('ibs:/page_allowed,',translate(@href,'#','')))/result/@value='yes']) > 0 or position() > 1"> <xsl:value-of select="', '"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="': '"/> </xsl:otherwise> </xsl:choose> <xsl:variable name="link3"> <xsl:choose> <xsl:when test="$confirm='true'"><xsl:value-of select="$plink"/></xsl:when> <xsl:otherwise><xsl:value-of select="@link"/>.html</xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$link3}"> <xsl:if test="$confirm!='true' and @mime='ajax'"> <xsl:attribute name="onclick">requestWebbox('<xsl:value-of select="@link"/>.ajax');return false;</xsl:attribute> </xsl:if> <xsl:value-of select="@caption"/> </a> </xsl:for-each> </li> </xsl:for-each> </xsl:if> <xsl:if test="count($tb) > 0"> <xsl:for-each select="$tb[@caption!='']"> <xsl:variable name="link4"> <xsl:choose> <xsl:when test="$confirm='true'"><xsl:value-of select="$plink"/></xsl:when> <xsl:otherwise><xsl:value-of select="@link"/>.html</xsl:otherwise> </xsl:choose> </xsl:variable> <li> <a title="{@caption}" href="{$link4}" class="first_link"> <xsl:if test="$confirm!='true' and @mime='ajax'"> <xsl:attribute name="onclick">requestWebbox('<xsl:value-of select="@link"/>.ajax');return false;</xsl:attribute> </xsl:if> <xsl:value-of select="@caption"/> </a> <xsl:if test="not(@mime='ajax')"> <xsl:variable name="ref2" select="document(concat('ibs:/include,',@link))/content"/> <xsl:for-each select="$ref2//register/record[not(@follow='no') and document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes']"> <xsl:if test="position() = 1"> <xsl:value-of select="': '"/> </xsl:if> <xsl:if test="position() > 1"> <xsl:value-of select="', '"/> </xsl:if> <xsl:variable name="link5"> <xsl:choose> <xsl:when test="$confirm='true'"><xsl:value-of select="$plink"/></xsl:when> <xsl:otherwise><xsl:value-of select="@link"/>.html</xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$link5}"> <xsl:value-of select="concat('(',@title,')')"/> </a> </xsl:for-each> <xsl:for-each select="$ref2//*[@href!='#' and @title!='' and not(@follow='no') and document(concat('ibs:/page_allowed,',translate(@href,'#','')))/result/@value='yes']"> <xsl:if test="position() = 1"> <xsl:value-of select="': '"/> </xsl:if> <xsl:if test="position() > 1"> <xsl:value-of select="', '"/> </xsl:if> <a href="{@href}"> <xsl:if test="@onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="@onclick"/> </xsl:attribute> </xsl:if> <xsl:value-of select="@title"/> </a> </xsl:for-each> <xsl:for-each select="$ref2//box[@link and document(concat('ibs:/page_allowed,',translate(@link,'#','')))/result/@value='yes']"> <xsl:if test="position() = 1"> <xsl:value-of select="': '"/> </xsl:if> <xsl:if test="position() > 1"> <xsl:value-of select="', '"/> </xsl:if> <xsl:variable name="link6"> <xsl:choose> <xsl:when test="$confirm='true'"><xsl:value-of select="$plink"/></xsl:when> <xsl:otherwise><xsl:value-of select="@link"/>.html</xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$link6}"> <xsl:if test="$confirm!='true' and @mime='ajax'"> <xsl:attribute name="onclick">requestWebbox('<xsl:value-of select="@link"/>.ajax');return false;</xsl:attribute> </xsl:if> <xsl:value-of select="@caption"/> </a> </xsl:for-each> </xsl:if> </li> </xsl:for-each> </xsl:if> </ul> </xsl:if> </xsl:variable> <!-- Box aufbauen --> <xsl:variable name="box"> <box link="{@link}" link_name="none"> <box_text> <!-- Content --> <div class="page_box_content_top"> <!-- Bild --> <xsl:if test="@img!=''"> <a title="{@title}" href="{@link}.html" class="page_box_image"><img src="{@img}" alt="{@title}"><xsl:comment></xsl:comment></img></a> </xsl:if> <!-- Überschrift --> <h3> <a title="{@title}" href="{@link}.html"> <xsl:value-of select="@title"/> </a> </h3> <!-- Kurztext --> <div class="text"><xsl:copy-of select="text"/> <xsl:copy-of select="boxtext"/> </div> </div> <!-- enthaltene Links / Unterseiten --> <xsl:if test="$list != ''"> <div class="page_box_content_links"> <xsl:copy-of select="$list"/> </div> </xsl:if> </box_text> </box> </xsl:variable> <xsl:apply-templates select="exslt:node-set($box)/*"> <xsl:with-param name="link_name" select="none"/> </xsl:apply-templates> </xsl:if> </xsl:for-each> </xsl:template> <xsl:template match="fad:collection"> <xsl:call-template name="fad_collection"/> </xsl:template> <xsl:template match="fad:module"> <xsl:variable name="modules" select="php:function('cms_mod_Interface::getModules')"/> <xsl:variable name="mod" select="@mod"/> <xsl:variable name="fad_module" select="."/> <xsl:for-each select="$modules/Data/Content/DataSet[@nr=$mod]"> <div class="insert_module"> <xsl:copy-of select="$fad_module/@*"/> <xsl:apply-templates select="php:function('cms_mod_Module::getContent',string(@publishtype),string(@nr),string(@holderlogin))/*"/> </div> </xsl:for-each> </xsl:template> <xsl:template match="fad:modgroup"> <xsl:variable name="modgroups" select="php:function('cms_mod_Interface::getModgroups')/Data/Content/DataSet"/> <xsl:variable name="group" select="@group"/> <xsl:variable name="name" select="@name"/> <xsl:variable name="showcaption" select="@showcaption"/> <xsl:variable name="class" select="@class"/> <xsl:variable name="fad_modgroup" select="."/> <xsl:for-each select="$modgroups[@place='insert' and (@name=$name or @nr=$group)]"> <xsl:variable name="modgroup" select="@nr"/> <div class="insert_modgroup"> <xsl:copy-of select="$fad_modgroup/@*[name() != 'group' and name() != 'name' and name() != 'showcaption' and name() != 'class']"/> <xsl:if test="$class != ''"> <xsl:attribute name="class"> <xsl:value-of select="concat('insert_modgroup ', $class)"/> </xsl:attribute> </xsl:if> <xsl:if test="$showcaption = 'yes'"> <h3 class="caption"> <xsl:value-of select="@name"/> </h3> </xsl:if> <div class="container"> <xsl:variable name="modules" select="php:function('cms_mod_Interface::getModules')/Data/Content/DataSet"/> <xsl:for-each select="$modules[places/place[@place='insert' and @groupid=$modgroup]]"> <xsl:sort select="places/place[@place='insert' and @groupid=$modgroup]/@position" data-type="number"/> <xsl:apply-templates select="php:function('cms_mod_Module::getContent',string(@publishtype),string(@nr),string(@holderlogin))/*"/> </xsl:for-each> </div> </div> </xsl:for-each> </xsl:template> <xsl:template match="*[@class='mod_code']"> <xsl:copy-of select="."/> </xsl:template> <xsl:template name="fad_collection"> <!-- achtung: boxlisten auf mobilen geraeten haben nur eine spalte und die boxen sind immer 100% breit --> <div class="textbox_list"> <xsl:variable name="allowed_boxes"> <xsl:copy-of select="fad:box[(not(@link) or @link='' or substring(@link,1,7)='http://' or substring(@link,1,8)='https://' or document(concat('ibs:/page_allowed,',@link))/result/@value='yes')]"/> </xsl:variable> <xsl:variable name="autocols" select="@autocols"/> <xsl:variable name="cols"> <xsl:choose> <xsl:when test="@cols = 'accordeon'">1</xsl:when> <xsl:when test="@cols = 'tabview'">1</xsl:when> <xsl:when test="@cols > 1"> <xsl:value-of select="@cols"/> </xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="width"> <xsl:choose> <xsl:when test="string-length(@boxwidth)>0"> <xsl:value-of select="@boxwidth"/> </xsl:when> <xsl:when test="document('ibs:/mobile_device')/content/@value='yes'"> <xsl:value-of select="'100%'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat((99 - @cols) div @cols,'%')"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="height"> <xsl:value-of select="@boxheight"/> </xsl:variable> <xsl:variable name="margin"> <xsl:choose> <xsl:when test="@margin"> <xsl:value-of select="@margin"/> </xsl:when> <xsl:otherwise>1%</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="@cols='tabview'"> <xsl:variable name="tview"> <tab_view> <xsl:for-each select="exslt:node-set($allowed_boxes)/fad:box"> <xsl:variable name="caption"> <xsl:choose> <xsl:when test='count(./fad:caption) > 0'> <xsl:value-of select="./fad:caption"/> </xsl:when> <xsl:when test="string-length(@caption) > 0"> <xsl:value-of select="@caption"/> </xsl:when> <xsl:otherwise>Tab <xsl:value-of select="position()"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <tab_view_tab caption="{$caption}"> <xsl:call-template name="fad_box"/> </tab_view_tab> </xsl:for-each> </tab_view> </xsl:variable> <xsl:call-template name="tab_view"> <xsl:with-param name="tview" select="exslt:node-set($tview)/tab_view"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:for-each select="exslt:node-set($allowed_boxes)/fad:box"> <xsl:choose> <xsl:when test="($cols > 1) or ($autocols = 'yes')"> <div class="page_box_col"> <xsl:attribute name="style"> <xsl:value-of select="concat('width:',$width)"/> </xsl:attribute> <xsl:call-template name="fad_box"> <xsl:with-param name="height" select="$height"/> <xsl:with-param name="id" select="@id"/> </xsl:call-template> </div> </xsl:when> <xsl:when test="document('ibs:/mobile_device')/content/@value='yes'"> <xsl:call-template name="box"> <xsl:with-param name="width" select="$width"/> <xsl:with-param name="height" select="$height"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="fad_box"> <xsl:with-param name="height" select="$height"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:otherwise> </xsl:choose> </div> </xsl:template> <xsl:template match="fad:box"> <xsl:call-template name="fad_box"/> </xsl:template> <xsl:template name="fad_box"> <!-- Parameter kommen standardmäßig aus dem Attribut, können aber wahlweise beim Aufruf von außen überschrieben werden --> <xsl:param name="id" select="@id"/> <xsl:param name="class" select="@class"/> <xsl:param name="width" select="@width"/> <xsl:param name="height" select="@height"/> <xsl:param name="caption" select="@caption"/> <xsl:param name="teaser" select="@teaser"/> <xsl:param name="link" select="@link"/> <xsl:param name="mime" select="@mime"/> <xsl:param name="link_text" select="@link_text"/> <xsl:param name="link_name" select="@link_name"/> <xsl:param name="link_params" select="@link_params"/> <xsl:param name="link_image" select="@link_image"/> <xsl:param name="img" select="php:function('system_util_URL::proxy',string(@img))"/> <xsl:param name="img_position" select="@img_position"/> <xsl:param name="img_align" select="@img_align"/> <xsl:param name="ibs_mime" select="@ibs_mime"/> <xsl:param name="allowed" select="@allowed"/> <xsl:param name="target" select="@target"/> <xsl:param name="popup_top" select="@popup_top"/> <xsl:param name="popup_left" select="@popup_left"/> <xsl:param name="popup_width" select="@popup_width"/> <xsl:param name="popup_height" select="@popup_height"/> <xsl:param name="anchor_name" select="@anchor_name"/> <xsl:variable name="new_link_text"><xsl:value-of select="php:function('system_Language::translate', string($link_text))"/></xsl:variable> <xsl:variable name="new_teaser"><xsl:value-of select="php:function('system_Language::translate', string($teaser))"/></xsl:variable> <xsl:variable name="new_caption"><xsl:value-of select="php:function('system_Language::translate', string($caption))"/></xsl:variable> <xsl:variable name="confirm" select="not(php:function('web_Session::isSecure')) and document(concat('ibs:/include,',$link))/content/@confirm!=''"/> <!-- Für width, link_text, img_position und img_align gibt es Standardwerte, falls weder Parameter noch Attribut gesetzt sind --> <xsl:variable name="box_width"> <xsl:if test="$width != ''">width:<xsl:value-of select="$width"/>;</xsl:if> </xsl:variable> <xsl:variable name="box_height"> <xsl:if test="$height != ''"><xsl:value-of select="$height"/></xsl:if> </xsl:variable> <xsl:variable name="box_link_text"> <xsl:choose> <xsl:when test="$new_link_text != ''"><xsl:value-of select="$new_link_text"/></xsl:when> <xsl:otherwise>mehr...</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="box_img_position"> <xsl:choose> <xsl:when test="$img_position != ''"><xsl:value-of select="$img_position"/></xsl:when> <xsl:otherwise><xsl:value-of select="'normal'"/></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="box_img_align"> <xsl:choose> <xsl:when test="$img_align != ''"><xsl:value-of select="$img_align"/></xsl:when> <xsl:when test="$img_position = 'top'">top</xsl:when> <xsl:otherwise><xsl:value-of select="'left'"/></xsl:otherwise> </xsl:choose> </xsl:variable> <!-- Ab hier ist wieder alter Quellcode ;) --> <xsl:variable name="boxmime"> <xsl:choose> <xsl:when test="$confirm='true'">html</xsl:when> <xsl:when test="$ibs_mime != ''"><xsl:value-of select="$ibs_mime"/></xsl:when> <xsl:when test="$mime = 'none'"></xsl:when> <xsl:when test="$mime != ''"><xsl:value-of select="$mime"/></xsl:when> <xsl:otherwise>html</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="show"> <xsl:choose> <xsl:when test="$allowed='override'">yes</xsl:when> <xsl:when test="substring($link,1,7)='http://'">yes</xsl:when> <xsl:when test="substring($link,1,8)='https://'">yes</xsl:when> <xsl:when test="not($link) or $link='' or document(concat('ibs:/page_allowed,',$link))/result/@value='yes'">yes</xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="link_href"> <xsl:choose> <xsl:when test="$boxmime='ajax' or $boxmime='popup'">#</xsl:when> <xsl:when test="$boxmime=''"><xsl:value-of select="$link"/></xsl:when> <xsl:otherwise><xsl:value-of select="concat($link,'.',$boxmime)"/></xsl:otherwise> </xsl:choose> <xsl:if test="$link_params"> <xsl:value-of select="concat('?',$link_params)"/> </xsl:if> </xsl:variable> <xsl:variable name="link_onclick"> <xsl:if test="$boxmime='ajax'"> requestWebbox('<xsl:value-of select="$link"/>.ajax');return false; </xsl:if> <xsl:if test="$boxmime='popup'"> open('<xsl:value-of select="$link"/>.html','','location=no,menubar=no,toolbar=no,resizable=yes,scrollbars=yes<xsl:if test="$popup_top!=''">,top=<xsl:value-of select="$popup_top"/></xsl:if><xsl:if test="$popup_left!=''">,left=<xsl:value-of select="$popup_left"/></xsl:if><xsl:if test="$popup_width!=''">,width=<xsl:value-of select="$popup_width"/></xsl:if><xsl:if test="$popup_height!=''">,height=<xsl:value-of select="$popup_height"/></xsl:if>');return false; </xsl:if> </xsl:variable> <xsl:variable name="render_caption_top"> <xsl:if test="caption_top_left!='' or caption_top_right!='' or $box_img_position='caption'">yes</xsl:if> </xsl:variable> <xsl:variable name="img_padding_left_right"> <xsl:choose> <xsl:when test="$box_img_align='right'">padding-left:3px</xsl:when> <xsl:otherwise>padding-right:3px</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="img_padding_top"> <xsl:choose> <xsl:when test="$box_img_position='caption'">padding-top:0px</xsl:when> <xsl:otherwise>padding-top:3px</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="box_img"> <xsl:variable name="box_img_class"> <xsl:choose> <xsl:when test="$box_img_position='top'">page_box_image_top</xsl:when> <xsl:otherwise>page_box_image</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$link!=''"> <div class="{$box_img_class}" style="float:{$box_img_align};{$img_padding_left_right};{$img_padding_top};position:relative;"> <a href="{$link_href}" title="{$new_caption}"> <xsl:if test="$link_onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="$link_onclick"/> </xsl:attribute> </xsl:if> <xsl:if test="$target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$target"/> </xsl:attribute> </xsl:if> <!-- LINN: max-width weil sonst zu große Fotos alles verschieben --> <img src="{$img}" class="{$class}" alt="" style="max-width:600px;"/> </a> </div> </xsl:when> <xsl:otherwise> <div class="page_box_image" style="float:{$box_img_align};"> <img src="{$img}" class="page_box_image" alt=""/> </div> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- stephan: fuer mobile geraete gibt es extra boxen. diese hier zu rendern waere noch unuebersichtlicher, als es jetzt schon ist...--> <xsl:choose> <xsl:when test="document('ibs:/mobile_device')/content/@value='yes'"> <xsl:call-template name="mobile_box"> <xsl:with-param name="caption" select="$caption"/> <xsl:with-param name="link" select="$link"/> <xsl:with-param name="img" select="$img"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:if test="$show='yes'"> <xsl:variable name="box_class"> <xsl:choose> <xsl:when test="@link_style='hover'">page_box page_box_hover<xsl:if test="$class!=''"> <xsl:value-of select="$class"/></xsl:if></xsl:when> <xsl:otherwise>page_box<xsl:if test="$class!=''"><xsl:value-of select="concat(' ',$class)"/></xsl:if></xsl:otherwise> </xsl:choose> </xsl:variable> <div class="{$box_class}"> <xsl:choose> <xsl:when test="@link_style='hover'"> <xsl:if test="$link_text != ''"> <xsl:attribute name="title"><xsl:value-of select="$link_text"/></xsl:attribute> </xsl:if> <xsl:attribute name="style"><xsl:value-of select="$box_width"/>cursor:pointer;</xsl:attribute> <xsl:attribute name="onclick"> <xsl:choose> <xsl:when test="$target='_blank'">window.open('<xsl:value-of select="$link_href"/>');</xsl:when> <xsl:otherwise>window.location.href='<xsl:value-of select="$link_href"/>';</xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:if test="$box_width!=''"> <xsl:attribute name="style"><xsl:value-of select="$box_width"/></xsl:attribute> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:if test="$id!=''"> <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute> </xsl:if> <xsl:if test="$anchor_name != ''"> <a name="{$anchor_name}"/> </xsl:if> <!-- CAPTION --> <!-- caption_top und bild in caption --> <xsl:if test="$img!='' and $box_img_position='caption' and $box_img_align!='right'"> <!-- bild links neben caption --> <xsl:copy-of select="$box_img"/> </xsl:if> <xsl:if test="$render_caption_top='yes' or ($box_img_align='right' and $box_img_position='caption')"> <div class="page_box_caption_top"> <xsl:if test="caption_top_left!='' or caption_top_right!='' or $img!=''"> <xsl:if test="caption_top_left!=''"> <div class="page_box_caption_top_left"><xsl:value-of select="caption_top_left"/></div> </xsl:if> <xsl:if test="$img!='' and $box_img_position='caption' and $box_img_align='right'"> <!-- bild rechts neben caption --> <xsl:copy-of select="$box_img"/> </xsl:if> <xsl:if test="caption_top_right!=''"> <div class="page_box_caption_top_right"> <xsl:value-of select="caption_top_right"/> </div> </xsl:if> </xsl:if> <!-- float der ueberschrift abhaengig von bild --> <!--xsl:choose> <xsl:when test="$img!='' and $box_img_position='caption' and $box_img_align='right'"> <div style="clear:left;height:1px;line-height:1px;font-size:1px"> </div> </xsl:when> <xsl:otherwise> <div style="clear:right;height:1px;line-height:1px;font-size:1px"> </div> </xsl:otherwise> </xsl:choose--> </div> </xsl:if> <xsl:if test="$new_caption!=''"> <xsl:variable name="new_teaser_caption"> <xsl:if test="$new_teaser != ''"> <xsl:value-of select="concat($new_teaser, ': ')"/> </xsl:if> <xsl:value-of select="$new_caption"/> </xsl:variable> <div class="page_box_caption" title="{$new_teaser_caption}"> <xsl:choose> <xsl:when test="$link!=''"> <a href="{$link_href}"> <xsl:if test="$link_onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="$link_onclick"/> </xsl:attribute> </xsl:if> <xsl:if test="$target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$target"/> </xsl:attribute> </xsl:if> <xsl:value-of select="$new_teaser_caption"/> </a> </xsl:when> <xsl:otherwise> <xsl:value-of select="$new_teaser_caption"/> </xsl:otherwise> </xsl:choose> </div> </xsl:if> <xsl:if test="caption_extra!=''"> <div class="page_box_caption_extra"><xsl:copy-of select="caption_extra"/></div> </xsl:if> <!-- CONTENT --> <!-- bild neben content --> <div class="page_box_content"> <xsl:if test="$box_height != '' and $box_height != 'auto'"> <xsl:attribute name="style">height:<xsl:value-of select="$box_height"/>;"</xsl:attribute> </xsl:if> <xsl:if test="$img!='' and $box_img_position!='caption'"> <xsl:copy-of select="$box_img"/> </xsl:if> <!-- die alten boxen haben noch kein box_text knoten --> <xsl:choose> <xsl:when test="box_text"> <div class="page_box_text"> <xsl:apply-templates select="box_text/node()"/> </div> </xsl:when> <xsl:otherwise> <div class="page_box_text"> <xsl:apply-templates/> </div> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$link_name='none' or @link_style='hover'"/> <xsl:otherwise> <xsl:if test="$link!=''"> <xsl:variable name="title"> <xsl:choose> <xsl:when test="caption_top_left != ''"> <xsl:value-of select="concat(caption_top_left,': ',$new_caption)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$new_caption"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$link_href}" title="{$title}" class="page_box_more"> <xsl:if test="$link_onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="$link_onclick"/> </xsl:attribute> </xsl:if> <xsl:if test="$target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$target"/> </xsl:attribute> </xsl:if> <!-- Bild vorhanden? Dann Text nur als tooltip anzeigen --> <xsl:choose> <xsl:when test="$link_image != ''"> <img src="{$link_image}" title="{$box_link_text}" alt=""/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$box_link_text"/> </xsl:otherwise> </xsl:choose> </a> </xsl:if> </xsl:otherwise> </xsl:choose> </div> <!-- FOOTER --> <xsl:if test="footer!=''"> <div class="page_box_footer"> <xsl:copy-of select="footer"/> </div> </xsl:if> </div> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="textbox_list"> <xsl:call-template name="textbox_list"/> </xsl:template> <xsl:template name="textbox_list"> <!-- achtung: boxlisten auf mobilen geraeten haben nur eine spalte und die boxen sind immer 100% breit --> <div class="textbox_list"> <xsl:if test="@width"> <xsl:attribute name="style"> <xsl:value-of select="concat('width:',@width)"/> </xsl:attribute> </xsl:if> <xsl:if test="@class"> <xsl:attribute name="class"> <xsl:value-of select="concat('textbox_list ',@class)"/> </xsl:attribute> </xsl:if> <xsl:variable name="allowed_boxes"> <xsl:copy-of select="box[(not(@link) or @link='' or substring(@link,1,7)='http://' or substring(@link,1,8)='https://' or document(concat('ibs:/page_allowed,',@link))/result/@value='yes')]"/> </xsl:variable> <xsl:variable name="autocols" select="@autocols"/> <xsl:variable name="cols"> <xsl:choose> <xsl:when test="@cols > 1"> <xsl:value-of select="@cols"/> </xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="boxwidth"> <xsl:choose> <xsl:when test="string-length(@boxwidth)>0"> <xsl:value-of select="@boxwidth"/> </xsl:when> <xsl:when test="document('ibs:/mobile_device')/content/@value='yes'"> <xsl:value-of select="'100%'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat(100 div @cols,'%')"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="boxheight"> <xsl:value-of select="@boxheight"/> </xsl:variable> <!--<xsl:variable name="margin">--> <!--<xsl:choose>--> <!--<xsl:when test="@margin">--> <!--<xsl:value-of select="@margin"/>--> <!--</xsl:when>--> <!--<xsl:otherwise>1%</xsl:otherwise>--> <!--</xsl:choose>--> <!--</xsl:variable>--> <xsl:for-each select="exslt:node-set($allowed_boxes)/box"> <xsl:choose> <xsl:when test="($cols > 1) or ($autocols = 'yes')"> <div class="page_box_col"> <xsl:choose> <xsl:when test="position() = 1"> <xsl:attribute name="class">page_box_col first_col</xsl:attribute> </xsl:when> <xsl:when test="position() = last()"> <xsl:attribute name="class">page_box_col last_col</xsl:attribute> </xsl:when> </xsl:choose> <xsl:if test="not($autocols)"> <xsl:attribute name="style"> <xsl:value-of select="concat('width:',$boxwidth)"/> </xsl:attribute> </xsl:if> <xsl:call-template name="box"> <xsl:with-param name="height" select="$boxheight"/> <xsl:with-param name="id" select="@id"/> </xsl:call-template> </div> </xsl:when> <xsl:when test="document('ibs:/mobile_device')/content/@value='yes'"> <xsl:call-template name="box"> <xsl:with-param name="width" select="$boxwidth"/> <xsl:with-param name="height" select="$boxheight"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="box"> <xsl:with-param name="height" select="$boxheight"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </div> </xsl:template> <xsl:template match="icon_panel"> <xsl:call-template name="icon_panel"/> </xsl:template> <xsl:template name="icon_panel"> <div class="icon_panel"> <xsl:apply-templates select="*"/> </div> </xsl:template> <xsl:template match="icon_box"> <xsl:call-template name="icon_box"/> </xsl:template> <xsl:template name="inveda_site_box"> <xsl:param name="caption"/> <xsl:param name="caption_link"/> <xsl:param name="content"/> <xsl:param name="content_style"/> <xsl:param name="header_height" select="'20'"/> <xsl:param name="inner_spacing_h" select="'3'"/> <xsl:param name="width" select="'auto'"/> <xsl:param name="overflow" select="'hidden'"/> <xsl:param name="topbox" select="'false'"/> <!--xsl:variable name="new_caption"><xsl:value-of select="php:function('getTranslation', string($caption))"/></xsl:variable--> <xsl:variable name="new_caption"> <xsl:value-of select="php:function('system_Language::translate', string($caption))"/> </xsl:variable> <xsl:variable name="cstyle"> <xsl:if test="$content_style!=''"> <xsl:value-of select="concat('_',$content_style)"/> </xsl:if> </xsl:variable> <xsl:if test="$new_caption != ''"> <xsl:choose> <xsl:when test="$caption_link != ''"> <a href="{$caption_link}"> <xsl:element name="div"> <xsl:attribute name="style">line-height:<xsl:value-of select="$header_height"/>px;width:auto;overflow:<xsl:value-of select="$overflow"/>; </xsl:attribute> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$topbox = 'true'">site_box_header<xsl:value-of select="$cstyle"/>_round </xsl:when> <xsl:otherwise>site_box_header<xsl:value-of select="$cstyle"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:value-of select="$new_caption"/> </xsl:element> </a> </xsl:when> <xsl:otherwise> <xsl:element name="div"> <xsl:attribute name="style">line-height:<xsl:value-of select="$header_height"/>px;width:auto;overflow:<xsl:value-of select="$overflow"/>; </xsl:attribute> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$topbox = 'true'">site_box_header<xsl:value-of select="$cstyle"/>_round </xsl:when> <xsl:otherwise>site_box_header<xsl:value-of select="$cstyle"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:value-of select="$new_caption"/> </xsl:element> </xsl:otherwise> </xsl:choose> </xsl:if> <!--xsl:if test="$inner_spacing_h > 0"> <div style="line-height:{$inner_spacing_h}px;width:{$width};overflow:{$overflow};"> </div> </xsl:if--> <xsl:if test="$content"> <xsl:if test="$content/text() = ''">   </xsl:if> <div style="width:{$width};overflow:{$overflow};" class="site_box_content{$cstyle}" valign="top"> <xsl:apply-templates select="exslt:node-set($content)"/> </div> </xsl:if> <!--xsl:if test="$inner_spacing_h > 0"> <div style="line-height:{$inner_spacing_h}px;width:{$width};overflow:{$overflow}"> </div> </xsl:if--> </xsl:template> <!-- default parameter fuer die box. dieses template kann in die transformation des jeweiligen webskins kopiert werden, um die default parameter fuer den skin zu individualisieren. --> <!--xsl:template match="box"> <xsl:variable name="width"> <xsl:choose> <xsl:when test="@width!=''"><xsl:value-of select="@width"/></xsl:when> <xsl:otherwise>100%</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="link_text"> <xsl:choose> <xsl:when test="@link_text!=''"><xsl:value-of select="@link_text"/></xsl:when> <xsl:otherwise>mehr...</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="img_position"> <xsl:choose> <xsl:when test="@img_position!=''"><xsl:value-of select="@img_position"/></xsl:when> <xsl:otherwise>normal</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="img_align"> <xsl:choose> <xsl:when test="@img_align!=''"><xsl:value-of select="@img_align"/></xsl:when> <xsl:otherwise>left</xsl:otherwise> </xsl:choose> </xsl:variable> </xsl:template--> <xsl:template name="box"> <!-- Parameter kommen standardmäßig aus dem Attribut, können aber wahlweise beim Aufruf von außen überschrieben werden --> <xsl:param name="id" select="@id"/> <xsl:param name="class" select="@class"/> <xsl:param name="width" select="@width"/> <xsl:param name="height" select="@height"/> <xsl:param name="teaser" select="@teaser"/> <xsl:param name="caption" select="@caption"/> <xsl:param name="link" select="@link"/> <xsl:param name="mime" select="@mime"/> <xsl:param name="link_text" select="@link_text"/> <xsl:param name="link_name" select="@link_name"/> <xsl:param name="link_params" select="@link_params"/> <xsl:param name="link_image" select="@link_image"/> <xsl:param name="img" select="php:function('system_util_URL::proxy',string(@img))"/> <xsl:param name="img_position" select="@img_position"/> <xsl:param name="img_align" select="@img_align"/> <xsl:param name="ibs_mime" select="@ibs_mime"/> <xsl:param name="allowed" select="@allowed"/> <xsl:param name="target" select="@target"/> <xsl:param name="popup_top" select="@popup_top"/> <xsl:param name="popup_left" select="@popup_left"/> <xsl:param name="popup_width" select="@popup_width"/> <xsl:param name="popup_height" select="@popup_height"/> <xsl:param name="anchor_name" select="@anchor_name"/> <xsl:param name="visible" select="@visible"/> <xsl:variable name="new_link_text"><xsl:value-of select="php:function('system_Language::translate', string($link_text))"/></xsl:variable> <xsl:variable name="new_teaser"><xsl:value-of select="php:function('system_Language::translate', string($teaser))"/></xsl:variable> <xsl:variable name="new_caption"><xsl:value-of select="php:function('system_Language::translate', string($caption))"/></xsl:variable> <xsl:variable name="confirm" select="not(php:function('web_Session::isSecure')) and document(concat('ibs:/include,',$link))/content/@confirm!=''"/> <!-- Für width, link_text, img_position und img_align gibt es Standardwerte, falls weder Parameter noch Attribut gesetzt sind --> <xsl:variable name="box_width"> <xsl:if test="$width != ''">width:<xsl:value-of select="$width"/>;</xsl:if> </xsl:variable> <xsl:variable name="box_height"> <xsl:if test="$height != ''"><xsl:value-of select="$height"/></xsl:if> </xsl:variable> <xsl:variable name="box_link_text"> <xsl:choose> <xsl:when test="$new_link_text != ''"><xsl:value-of select="$new_link_text"/></xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="$caption = 'Zugriffszähler'">Hier finden Sie weitere Statistiken.</xsl:when> <xsl:when test="$caption = 'Produktabos'">Erfahren Sie mehr über weitere Abos.</xsl:when> <xsl:otherwise> mehr...</xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="box_img_position"> <xsl:choose> <xsl:when test="$img_position != ''"><xsl:value-of select="$img_position"/></xsl:when> <xsl:otherwise><xsl:value-of select="'normal'"/></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="box_img_align"> <xsl:choose> <xsl:when test="$img_align != ''"><xsl:value-of select="$img_align"/></xsl:when> <xsl:when test="$img_position = 'top'">top</xsl:when> <xsl:otherwise><xsl:value-of select="'left'"/></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="box_visible"> <xsl:if test="$visible = 'false'">visibility: hidden;</xsl:if> </xsl:variable> <!-- Ab hier ist wieder alter Quellcode ;) --> <xsl:variable name="boxmime"> <xsl:choose> <xsl:when test="$confirm='yes'">html</xsl:when> <xsl:when test="$ibs_mime != ''"><xsl:value-of select="$ibs_mime"/></xsl:when> <xsl:when test="$mime = 'none'"></xsl:when> <xsl:when test="$mime != ''"><xsl:value-of select="$mime"/></xsl:when> <xsl:otherwise>html</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="show"> <xsl:choose> <xsl:when test="$allowed='override'">yes</xsl:when> <xsl:when test="substring($link,1,7)='http://'">yes</xsl:when> <xsl:when test="substring($link,1,8)='https://'">yes</xsl:when> <xsl:when test="not($link) or $link='' or document(concat('ibs:/page_allowed,',$link))/result/@value='yes'">yes</xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="link_href"> <xsl:choose> <xsl:when test="$boxmime='ajax' or $boxmime='popup'">#</xsl:when> <xsl:when test="$boxmime=''"><xsl:value-of select="$link"/></xsl:when> <xsl:otherwise><xsl:value-of select="concat($link,'.',$boxmime)"/></xsl:otherwise> </xsl:choose> <xsl:if test="$link_params"> <xsl:value-of select="concat('?',$link_params)"/> </xsl:if> </xsl:variable> <xsl:variable name="link_onclick"> <xsl:if test="$boxmime='ajax'"> requestWebbox('<xsl:value-of select="$link"/>.ajax');return false; </xsl:if> <xsl:if test="$boxmime='popup'"> open('<xsl:value-of select="$link"/>.html','','location=no,menubar=no,toolbar=no,resizable=yes,scrollbars=yes<xsl:if test="$popup_top!=''">,top=<xsl:value-of select="$popup_top"/></xsl:if><xsl:if test="$popup_left!=''">,left=<xsl:value-of select="$popup_left"/></xsl:if><xsl:if test="$popup_width!=''">,width=<xsl:value-of select="$popup_width"/></xsl:if><xsl:if test="$popup_height!=''">,height=<xsl:value-of select="$popup_height"/></xsl:if>');return false; </xsl:if> </xsl:variable> <xsl:variable name="render_caption_top"> <xsl:if test="caption_top_left!='' or caption_top_right!='' or $box_img_position='caption'">yes</xsl:if> </xsl:variable> <xsl:variable name="img_padding_left_right"> <xsl:choose> <xsl:when test="$box_img_align='right'">padding-left:3px</xsl:when> <xsl:otherwise>padding-right:3px</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="img_padding_top"> <xsl:choose> <xsl:when test="$box_img_position='caption'">padding-top:0px</xsl:when> <xsl:otherwise>padding-top:3px</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="box_img"> <xsl:variable name="box_img_class"> <xsl:choose> <xsl:when test="$box_img_position='top'">page_box_image_top</xsl:when> <xsl:otherwise>page_box_image</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$link!=''"> <div class="{$box_img_class}" style="float:{$box_img_align};{$img_padding_left_right};{$img_padding_top};position:relative;"> <a href="{$link_href}" title="{$new_caption}"> <xsl:if test="$link_onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="$link_onclick"/> </xsl:attribute> </xsl:if> <xsl:if test="$target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$target"/> </xsl:attribute> </xsl:if> <!-- LINN: max-width weil sonst zu große Fotos alles verschieben --> <img src="{$img}" class="{$class}" alt="" style="max-width:600px;"/> </a> </div> </xsl:when> <xsl:otherwise> <div class="page_box_image" style="float:{$box_img_align};"> <img src="{$img}" class="page_box_image" alt=""/> </div> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- stephan: fuer mobile geraete gibt es extra boxen. diese hier zu rendern waere noch unuebersichtlicher, als es jetzt schon ist...--> <xsl:choose> <xsl:when test="document('ibs:/mobile_device')/content/@value='yes'"> <xsl:call-template name="mobile_box"> <xsl:with-param name="caption" select="$caption"/> <xsl:with-param name="link" select="$link"/> <xsl:with-param name="img" select="$img"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:if test="$show='yes'"> <xsl:variable name="box_class"> <xsl:choose> <xsl:when test="@link_style='hover'">page_box page_box_hover<xsl:if test="$class!=''"> <xsl:value-of select="$class"/></xsl:if></xsl:when> <xsl:otherwise>page_box<xsl:if test="$class!=''"><xsl:value-of select="concat(' ',$class)"/></xsl:if></xsl:otherwise> </xsl:choose> </xsl:variable> <div class="{$box_class}"> <xsl:choose> <xsl:when test="@link_style='hover'"> <xsl:if test="$link_text != ''"> <xsl:attribute name="title"><xsl:value-of select="$link_text"/></xsl:attribute> </xsl:if> <xsl:attribute name="style"><xsl:value-of select="$box_width"/>cursor:pointer;<xsl:value-of select="$box_visible"/></xsl:attribute> <xsl:attribute name="onclick"> <xsl:choose> <xsl:when test="$target='_blank'">window.open('<xsl:value-of select="$link_href"/>');</xsl:when> <xsl:otherwise>window.location.href='<xsl:value-of select="$link_href"/>';</xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:if test="$box_width != '' or $box_visible!= '' "> <xsl:attribute name="style"><xsl:value-of select="$box_width"/><xsl:value-of select="$box_visible"/></xsl:attribute> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:if test="$id!=''"> <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute> </xsl:if> <xsl:if test="$anchor_name != ''"> <a name="{$anchor_name}"/> </xsl:if> <!-- CAPTION --> <!-- caption_top und bild in caption --> <xsl:if test="$img!='' and $box_img_position='caption' and $box_img_align!='right'"> <!-- bild links neben caption --> <xsl:copy-of select="$box_img"/> </xsl:if> <xsl:if test="$render_caption_top='yes' or ($box_img_align='right' and $box_img_position='caption')"> <div class="page_box_caption_top"> <xsl:if test="caption_top_left!='' or caption_top_right!='' or $img!=''"> <xsl:if test="caption_top_left!=''"> <div class="page_box_caption_top_left"><xsl:value-of select="caption_top_left"/></div> </xsl:if> <xsl:if test="$img!='' and $box_img_position='caption' and $box_img_align='right'"> <!-- bild rechts neben caption --> <xsl:copy-of select="$box_img"/> </xsl:if> <xsl:if test="caption_top_right!=''"> <div class="page_box_caption_top_right"> <xsl:value-of select="caption_top_right"/> </div> </xsl:if> </xsl:if> <!-- float der ueberschrift abhaengig von bild --> <!--xsl:choose> <xsl:when test="$img!='' and $box_img_position='caption' and $box_img_align='right'"> <div style="clear:left;height:1px;line-height:1px;font-size:1px"> </div> </xsl:when> <xsl:otherwise> <div style="clear:right;height:1px;line-height:1px;font-size:1px"> </div> </xsl:otherwise> </xsl:choose--> </div> </xsl:if> <xsl:if test="$new_caption!=''"> <xsl:variable name="new_teaser_caption"> <xsl:if test="$new_teaser != ''"> <xsl:value-of select="concat($new_teaser, ': ')"/> </xsl:if> <xsl:value-of select="$new_caption"/> </xsl:variable> <div class="page_box_caption" title="{$new_teaser_caption}"> <xsl:choose> <xsl:when test="$link!=''"> <a href="{$link_href}"> <xsl:if test="$link_onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="$link_onclick"/> </xsl:attribute> </xsl:if> <xsl:if test="$target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$target"/> </xsl:attribute> </xsl:if> <xsl:value-of select="$new_teaser_caption"/> </a> </xsl:when> <xsl:otherwise> <xsl:value-of select="$new_teaser_caption"/> </xsl:otherwise> </xsl:choose> </div> </xsl:if> <xsl:if test="caption_extra!=''"> <div class="page_box_caption_extra"><xsl:copy-of select="caption_extra"/></div> </xsl:if> <!-- CONTENT --> <!-- bild neben content --> <div class="page_box_content"> <xsl:if test="$box_height != '' and $box_height != 'auto'"> <xsl:attribute name="style">height:<xsl:value-of select="$box_height"/>;"</xsl:attribute> </xsl:if> <xsl:if test="$img!='' and $box_img_position!='caption'"> <xsl:copy-of select="$box_img"/> </xsl:if> <!-- die alten boxen haben noch kein box_text knoten --> <xsl:choose> <xsl:when test="box_text"> <div class="page_box_text"> <xsl:apply-templates select="box_text/node()"/> </div> </xsl:when> <xsl:otherwise> <div class="page_box_text"> <xsl:apply-templates/> </div> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$link_name='none' or @link_style='hover'"/> <xsl:otherwise> <xsl:if test="$link!=''"> <xsl:variable name="title"> <xsl:choose> <xsl:when test="caption_top_left != ''"> <xsl:value-of select="concat(caption_top_left,': ',$new_caption)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$new_caption"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{$link_href}" title="{$title}" class="page_box_more"> <xsl:if test="$link_onclick != ''"> <xsl:attribute name="onclick"> <xsl:value-of select="$link_onclick"/> </xsl:attribute> </xsl:if> <xsl:if test="$target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$target"/> </xsl:attribute> </xsl:if> <!-- Bild vorhanden? Dann Text nur als tooltip anzeigen --> <xsl:choose> <xsl:when test="$link_image != ''"> <img src="{$link_image}" title="{$box_link_text}" alt=""/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$box_link_text"/> </xsl:otherwise> </xsl:choose> </a> </xsl:if> </xsl:otherwise> </xsl:choose> </div> <!-- FOOTER --> <xsl:if test="footer!=''"> <div class="page_box_footer"> <xsl:copy-of select="footer"/> </div> </xsl:if> </div> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="mobile_box"> <xsl:param name="caption"/> <xsl:param name="link"/> <xsl:param name="img"/> <div style="clear:both"> <xsl:if test="$link!=''"> <xsl:attribute name="onclick">window.iui.showPageByHref('<xsl:value-of select="$link"/>.html', null, null, null, null, '<xsl:value-of select="$caption"/>'); </xsl:attribute> </xsl:if> <div class="page_box_caption" title="{$caption}"> <a><xsl:value-of select="$caption"/>  </a> </div> <div class="page_box_content" style="height:auto;overflow:auto;"> <xsl:choose> <xsl:when test="$img='t'"> <img align="left" border="0" src="textbox.{$nr}.jpg" alt=""/> </xsl:when> <xsl:when test="$img!='' and $img!='f'"> <img align="left" border="0" src="{$img}" alt=""/> </xsl:when> </xsl:choose> <xsl:choose> <xsl:when test="box_text!=''"> <xsl:apply-templates select="box_text/node()"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> </div> </div> </xsl:template> <xsl:template name="icon_box"> <!-- Parameter kommen standardmäßig aus dem Attribut, können aber wahlweise beim Aufruf von außen überschrieben werden --> <xsl:param name="caption" select="@caption"/> <xsl:param name="link" select="@link"/> <xsl:param name="mime" select="@mime"/> <xsl:param name="link_params" select="@link_params"/> <xsl:param name="img" select="php:function('system_util_URL::proxy',string(@img))"/> <xsl:param name="ibs_mime" select="@ibs_mime"/> <xsl:param name="target" select="@target"/> <xsl:variable name="new_caption"> <xsl:value-of select="php:function('system_Language::translate', string($caption))"/> </xsl:variable> <xsl:variable name="boxmime"> <xsl:choose> <xsl:when test="$ibs_mime != ''"> <xsl:value-of select="$ibs_mime"/> </xsl:when> <xsl:when test="$mime = 'none'"></xsl:when> <xsl:when test="$mime != ''"> <xsl:value-of select="$mime"/> </xsl:when> <xsl:otherwise>html</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="link_href"> <xsl:choose> <xsl:when test="$boxmime='ajax' or $boxmime='popup'">#</xsl:when> <xsl:when test="$boxmime=''"> <xsl:value-of select="$link"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat($link,'.',$boxmime)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="$link_params"> <xsl:value-of select="concat('?',$link_params)"/> </xsl:if> </xsl:variable> <div class="icon-wrapper"> <xsl:if test="@layout"> <xsl:attribute name="class"> <xsl:value-of select="'icon-wrapper wide'"/> </xsl:attribute> </xsl:if> <div class="icon-box"> <xsl:if test="@background"> <xsl:attribute name="style"> <xsl:value-of select="concat('background:',@background)"/> </xsl:attribute> </xsl:if> <a href="{$link_href}"> <xsl:if test="$target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$target"/> </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="$img"> <div class="icon"> <img src="/skins/{document('arg:/inveda_cm' )/inveda_cm/skin}/{document('arg:/inveda_cm' )/inveda_cm/skin_scheme_default}/images/{$img}" alt="{$new_caption}"/> </div> </xsl:when> <xsl:otherwise> <div class="icon-letter"> <xsl:value-of select="@letter"/> </div> </xsl:otherwise> </xsl:choose> <xsl:if test="$new_caption!=''"> <span class="caption"> <xsl:value-of select="$new_caption"/> </span> </xsl:if> </a> </div> </div> </xsl:template> <xsl:template match="checklink"> <xsl:if test="(document(concat('ibs:/page_allowed,',@link))/result/@value='yes' and (@inverted!='yes' or not(@inverted))) or (document(concat('ibs:/page_allowed,',@link))/result/@value!='yes' and @inverted='yes')"> <xsl:variable name="mime"> <xsl:choose> <xsl:when test="@ibs_mime != ''"> <xsl:value-of select="@ibs_mime"/> </xsl:when> <xsl:when test="@mime != ''"> <xsl:value-of select="@mime"/> </xsl:when> <xsl:otherwise>html</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="@copy='yes'"> <xsl:apply-templates select="*"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="RenderActionElement"> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="title" select="."/> <xsl:with-param name="caption" select="."/> <xsl:with-param name="link" select="concat(@link,'.',$mime)"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> <!-- allgemeines Inhaltsverzeichnis-Template --> <xsl:template name="inveda_chapter_menu"> <xsl:param name="type"/> <xsl:param name="css_family"/> <xsl:param name="bullet_family"/> <xsl:param name="bullet_mime" select="'gif'"/> <xsl:if test="count(chapter) > 0"> <xsl:choose> <xsl:when test="$type = 'horizontal_table'"> <table class="{concat($css_family,'_table')}"> <tr class="{concat($css_family,'_row')}"> <xsl:for-each select="chapter"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> <xsl:with-param name="link" select="concat('#',generate-id(@caption))"/> <xsl:with-param name="text" select="@caption"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </xsl:for-each> </tr> </table> </xsl:when> <xsl:when test="$type = 'vertical_table'"> <table class="{concat($css_family,'_table')}" border="0"> <xsl:for-each select="chapter"> <tr class="{concat($css_family,'_row')}"> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="bullet_family" select="$bullet_family"/> <xsl:with-param name="bullet_mime" select="$bullet_mime"/> </xsl:call-template> <xsl:call-template name="RenderCell"> <xsl:with-param name="css_family" select="$css_family"/> <xsl:with-param name="link" select="concat('#',generate-id(@caption))"/> <xsl:with-param name="text" select="@caption"/> <xsl:with-param name="selected" select="@selected"/> </xsl:call-template> </tr> </xsl:for-each> </table> </xsl:when> </xsl:choose> </xsl:if> </xsl:template> <!-- allgemeines Template für Tabellen-Zellen --> <xsl:template name="RenderCell"> <xsl:param name="name" select="''"/> <xsl:param name="css_family"/> <xsl:param name="bullet_family" select="''"/> <xsl:param name="bullet_mime" select="'gif'"/> <xsl:param name="selected"/> <xsl:param name="nowrap" select="''"/> <xsl:param name="secure" select="''"/> <xsl:param name="valign" select="''"/> <xsl:param name="text" select="''"/> <xsl:param name="link"/> <xsl:param name="ajax" select="@ajax"/> <xsl:param name="action" select="''"/> <xsl:param name="link_target" select="''"/> <xsl:param name="anchor_id" select="''"/> <xsl:param name="tag" select="'td'"/> <xsl:param name="colspan" select="1"/> <xsl:param name="width" select="''"/> <xsl:variable name="skin"> <xsl:value-of select="document('arg:/inveda_cm')/inveda_cm/skin"/> </xsl:variable> <xsl:variable name="skin_scheme_default"> <xsl:value-of select="document('arg:/inveda_cm')/inveda_cm/skin_scheme_default"/> </xsl:variable> <xsl:variable name="skin_scheme"> <xsl:value-of select="document('arg:/inveda_cm')/inveda_cm/skin_scheme"/> </xsl:variable> <xsl:variable name="append_selected"> <xsl:choose> <xsl:when test="$selected='true'">selected</xsl:when> <xsl:otherwise> <xsl:value-of select="$selected"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:element name="{$tag}"> <xsl:if test="$width!=''"> <xsl:attribute name="style"> <xsl:value-of select="concat('width:',$width)"/> </xsl:attribute> </xsl:if> <xsl:if test="$colspan > 1"> <xsl:attribute name="colspan"> <xsl:value-of select="$colspan"/> </xsl:attribute> </xsl:if> <xsl:if test="$valign!=''"> <xsl:attribute name="valign"> <xsl:value-of select="$valign"/> </xsl:attribute> </xsl:if> <!-- li-tag uterstützt kein nowrap Attribut! --> <xsl:if test="$nowrap != '' and $tag != 'li' and not(@nowrap='false')"> <xsl:attribute name="nowrap">nowrap</xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="$css_family='sysmenu' or $secure=1"> <xsl:variable name="name2"> <xsl:choose> <!--stephan: die link zum bearbeitungsmodus und lexikon bekommen eine senderbehandlung--> <xsl:when test="$text = '[Direktbearbeitungsmodus]' or $text = '[Änderungen übernehmen]'">_edit</xsl:when> <xsl:when test="position()=last() and position()=1">_cell_alone</xsl:when> <xsl:when test="position()=1">_cell_first</xsl:when> <xsl:when test="position()=last()">_cell_last</xsl:when> <xsl:otherwise>_cell</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$selected!=''"> <xsl:value-of select="concat($css_family,$name2,'_',$append_selected)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat($css_family,$name2)"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:if test="$name='customer_menu'"> <xsl:attribute name="style">padding-right:5px;</xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="$selected!=''"> <xsl:attribute name="class"> <xsl:value-of select="concat($css_family, '_cell_',$append_selected)"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> <xsl:value-of select="concat($css_family, '_cell')"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> <xsl:if test="$bullet_family != ''"> <img border="0" alt=""> <xsl:choose> <xsl:when test="$selected!=''"> <xsl:choose> <xsl:when test="$skin_scheme_default!=''"> <xsl:attribute name="src"> <xsl:value-of select="concat('/skins/images/',$skin,'/',$skin_scheme_default,'/',$bullet_family,'_selected.',$bullet_mime)"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="src"> <xsl:value-of select="concat('/skins/images/',$skin,'/',$skin_scheme,'/',$bullet_family,'_selected.',$bullet_mime)"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="$skin_scheme_default!=''"> <xsl:attribute name="src"> <xsl:value-of select="concat('/skins/images/',$skin,'/',$skin_scheme_default,'/',$bullet_family,'.',$bullet_mime)"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="src"> <xsl:value-of select="concat('/skins/images/',$skin,'/',$skin_scheme,'/',$bullet_family,'.',$bullet_mime)"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </img> <img src="/web.images.1pix_trans.gif" width="3" height="10" alt=""/> </xsl:if> <xsl:variable name="onclick"> <xsl:choose> <xsl:when test="$ajax != '' and $action != ''"> <xsl:value-of select="concat('javascript:requestWebbox("',$ajax,$page,'.ajax?action=',$action,'");return false;')"/> </xsl:when> <xsl:when test="$ajax != ''"> <xsl:value-of select="concat('javascript:requestWebbox("',$ajax,'");return false;')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="''"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$link != ''"> <a href="{$link}" onclick="{$onclick}" title="{$text}"> <xsl:choose> <xsl:when test="$selected"> <xsl:attribute name="class"> <xsl:value-of select="concat($css_family, '_link_selected')"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> <xsl:value-of select="concat($css_family, '_link')"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:if test="$link_target!=''"> <xsl:attribute name="target"> <xsl:value-of select="$link_target"/> </xsl:attribute> </xsl:if> <xsl:if test="$anchor_id!=''"> <xsl:attribute name="id"> <xsl:value-of select="$anchor_id"/> </xsl:attribute> </xsl:if> <xsl:value-of select="$text"/> </a> </xsl:when> <xsl:otherwise> <xsl:value-of select="$text"/> </xsl:otherwise> </xsl:choose> </xsl:element> </xsl:template> <xsl:template name="spacer"> <xsl:param name="n"/> <xsl:if test="$n > 0"> <img src="/web.images.1pix_trans.gif" border="0" heigth="15" width="15" alt=""/> <xsl:call-template name="spacer"> <xsl:with-param name="n"> <xsl:value-of select="$n - 1"/> </xsl:with-param> </xsl:call-template> </xsl:if> </xsl:template> <!--Datenmasken--> <xsl:template name="RenderMailDataElement"> <xsl:param name="value" /> <xsl:param name="row_type" select="data_row_1"/> <xsl:param name="nowrap" select="true"/> <xsl:choose> <xsl:when test="$row_type"> <td class="{$row_type}" nowrap="{$nowrap}"> <xsl:choose> <xsl:when test="$value!=''"> <a href="mailto:{$value}"><xsl:value-of select="$value"/></a> </xsl:when> <xsl:otherwise>-</xsl:otherwise> </xsl:choose> </td> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="$value!=''"> <a href="mailto:{$value}"><xsl:value-of select="$value"/></a> </xsl:when> <xsl:otherwise>-</xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- template entfernt alle zeilenumbrueche und verwendet dafür br tags --> <xsl:template name="ReplaceNewLineWithBreaks"> <xsl:param name="text" select="."/> <xsl:choose> <xsl:when test="contains($text, ' ')"> <xsl:if test="string-length(substring-before($text, ' ')) > 0"> <xsl:value-of select="substring-before($text, ' ')"/> </xsl:if> <br/> <xsl:call-template name="ReplaceNewLineWithBreaks"> <xsl:with-param name="text" select="substring-after($text,' ')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:if test="string-length($text) > 0"> <xsl:value-of select="$text"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- allgemeines Listen-Template --> <xsl:template name="inveda_list"> <xsl:param name="type"/> <xsl:param name="css_family"/> <table class="{concat($css_family,'_table')}" cellpadding="0" cellspacing="0" width="100%"> <xsl:if test="@caption"> <tr> <td colspan="2" class="{concat($css_family,'_header_last')}"> <xsl:value-of select="@caption"/> </td> </tr> </xsl:if> <xsl:for-each select="item"> <xsl:variable name="row_type"> <xsl:choose> <xsl:when test="position() mod 2 = 0"> <xsl:value-of select="concat($css_family,'_row_1')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat($css_family,'_row_2')"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <tr class="{concat($css_family,'_row')}"> <xsl:if test="@caption"> <td class="{concat($css_family,'_label')}" valign="top"> <xsl:value-of select="@caption"/> </td> </xsl:if> <xsl:choose> <xsl:when test="@type='iterate'"> <td class="{$row_type}" valign="top"> <xsl:apply-templates select="*|node()"/> </td> </xsl:when> <xsl:when test="$type='money'"> <xsl:call-template name="RenderMoneyElement"> <xsl:with-param name="row_type" select="concat($row_type,'_last')"/> <xsl:with-param name="value" select="."/> <xsl:with-param name="string_if_NaN" select="."/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="RenderDataElement"> <xsl:with-param name="row_type" select="$row_type"/> <xsl:with-param name="value" select="."/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </tr> </xsl:for-each> </table> </xsl:template> <xsl:template name="RenderVTR"> <xsl:variable name="alternation"> <xsl:choose> <xsl:when test="position() mod 2 = 0">_row_1</xsl:when> <xsl:otherwise>_row_2</xsl:otherwise> </xsl:choose> </xsl:variable> <tr> <xsl:for-each select="td|th"> <xsl:variable name="prefix"> <xsl:choose> <xsl:when test="name()='th'">data_header</xsl:when> <xsl:otherwise>data</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="apply_alternation"> <xsl:choose> <xsl:when test="name()='th'">_disabled</xsl:when> <xsl:otherwise> <xsl:value-of select="$alternation"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <td nowrap="nowrap"> <xsl:attribute name="class"> <xsl:value-of select="concat($prefix,$apply_alternation)"/> </xsl:attribute> <xsl:if test="@colspan"> <b>ACHTUNG!</b> <xsl:value-of select="'colspan wird nicht unterstützt!'"/> </xsl:if> <xsl:if test="@rowspan"> <b>ACHTUNG!</b> <xsl:value-of select="'rowspan wird nicht unterstützt!'"/> </xsl:if> <xsl:apply-templates/> </td> </xsl:for-each> </tr> </xsl:template> <!-- STRING Funktionen /--> <xsl:template name="STR_uppercase"> <xsl:param name="string"/> <xsl:value-of select="translate($string,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/> </xsl:template> <xsl:template name="STR_abbreviate"> <xsl:param name="string"/> <xsl:param name="length"/> <xsl:param name="pre_length" select="0"/> <xsl:value-of select="substring($string,0,$length)"/> <xsl:if test="string-length($string) > ($length - $pre_length)">...</xsl:if> </xsl:template> <xsl:template name="popup-link"> <xsl:param name="site"/> <xsl:param name="para"/> <xsl:param name="target"/> <xsl:param name="caption"/> <xsl:param name="image"/> <xsl:param name="title"/> <xsl:param name="ajax"/> <xsl:if test="$target != ''"> <a href="/{$target}/{$site}.html?{$para}" title="{$title}"> <xsl:if test="$ajax='yes'"> <xsl:attribute name="onclick"> requestWebbox('/<xsl:value-of select="$target"/>/<xsl:value-of select="$site"/>.ajax?<xsl:value-of select="para"/>'); return false; </xsl:attribute> </xsl:if> <xsl:copy-of select="$caption"/> <xsl:if test="$image"> <img src="{$image}" alt="{$caption}"/> </xsl:if> </a> </xsl:if> <xsl:if test="$target = ''"> <xsl:copy-of select="$caption"/> </xsl:if> </xsl:template> <xsl:template name="basket-add"> <xsl:param name="item"/> <xsl:variable name="total" select="document('ibs:/basket')/content/artikel/@anzahl"/> <a href="?basket_add={$item}_{$total}"> <i class="ii ii-basket" title="In den Warenkorb legen">In den Warenkorb legen</i> </a> </xsl:template> <xsl:template match="thumbshot"> <xsl:call-template name="render_thumbshot"> <xsl:with-param name="link" select="@link"/> <xsl:with-param name="align" select="@align"/> </xsl:call-template> </xsl:template> <xsl:template name="render_thumbshot"> <xsl:param name="link"/> <xsl:param name="align"/> <xsl:variable name="encode"> return '<img>'.urlencode('<xsl:call-template name="replace_string"> <xsl:with-param name="string" select="$link" /> <xsl:with-param name="from">'</xsl:with-param> <xsl:with-param name="to">\'</xsl:with-param> </xsl:call-template>').'</img>'; </xsl:variable> <xsl:variable name="url"> <xsl:value-of select="php:function('system_Transformer::Evaluate',$encode)"/> </xsl:variable> <a class="thumbshot" target="_blank" href="{$link}"> <img style="position:relative;width:150px;height:113px;" align="{$align}" src="{concat('tools.thumbshot.thumb.script?url=',$url)}" height="113px" width="150px" alt=""/> </a> </xsl:template> <xsl:template match="LinkBox"> <!-- Martin: wird ein ActionElement ohne Link gerendert, kommt nur ein img-tag heraus, welches hier bisher heraus gerendert wurde --> <xsl:for-each select="*"> <xsl:choose> <xsl:when test="name() = 'a'"> <a target="{@target}" href="{@href}" onclick="{@onclick}" title="{@title}"> <i> <xsl:if test=".//i/@class != ''"> <xsl:attribute name="class"> <xsl:value-of select=".//i/@class"/> </xsl:attribute> </xsl:if> <xsl:if test=".//i/@title"> <xsl:attribute name="title"> <xsl:value-of select=".//i/@title"/> </xsl:attribute> </xsl:if> <xsl:if test="@title"> <xsl:attribute name="alt"> <xsl:value-of select="@title"/> </xsl:attribute> </xsl:if> <xsl:value-of select="@title"/> </i> </a> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="."/> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:template> <xsl:template match="php"> <xsl:variable name="param"> <xsl:call-template name="xmltotxt"> <xsl:with-param name="xml" select="."/> </xsl:call-template> </xsl:variable> <xsl:variable name="code" select="string($param)"/> <xsl:apply-templates select="php:function('system_Transformer::Evaluate',$code)"/> </xsl:template> <xsl:template name="google_analytics"> <xsl:variable name="google_analytics" select="php:function('web_Session::getCurrentHolderParam','google_analytics')"/> <xsl:variable name="google_analytics2" select="php:function('web_Session::getCurrentHolderParam','google_analytics2')"/> <xsl:variable name="google_ads" select="php:function('web_Session::getCurrentHolderParam','google_ads')"/> <xsl:variable name="google_analytics_cookie_consent" select="php:function('web_Session::getCurrentHolderParam','google_analytics_cookie_consent')"/> <xsl:variable name="google_analytics_mess_id" select="php:function('web_Session::getCurrentHolderParam','google_analytics_mess_id')"/> <xsl:variable name="consent"> <xsl:choose> <xsl:when test="$google_analytics_cookie_consent!=''"> <xsl:value-of select="$google_analytics_cookie_consent"/> </xsl:when> <xsl:otherwise>tracking</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="gtags"> <xsl:if test="$google_analytics != ''"> <gtag> <xsl:value-of select="concat('UA-', $google_analytics)"/> </gtag> </xsl:if> <xsl:if test="$google_analytics2 != ''"> <gtag> <xsl:value-of select="concat('UA-', $google_analytics2)"/> </gtag> </xsl:if> <xsl:if test="$google_ads != ''"> <gtag> <xsl:value-of select="concat('AW-', $google_ads)"/> </gtag> </xsl:if> <xsl:if test="$google_analytics_mess_id != ''"> <gtag> <xsl:value-of select="concat('G-', $google_analytics_mess_id)"/> </gtag> </xsl:if> </xsl:variable> <xsl:for-each select="exslt:node-set($gtags)/*"> <xsl:if test="position() = 1"> <xsl:variable name="addScript" select="php:function('web_Content::addScript',concat('https://www.googletagmanager.com/gtag/js?id=',.),'text/javascript', 0, true(), true(), '', $consent)"/> </xsl:if> <xsl:variable name="js"> window.dataLayer = window.dataLayer || []; function gtag(){window.dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '<xsl:value-of select="."/>', {'anonymize_ip': true}); </xsl:variable> <xsl:variable name="addScriptCode" select="php:function('web_Content::addScriptCode',$js,'text/javascript', 1, $consent)"/> </xsl:for-each> </xsl:template> <xsl:template name="cookieconsent_extern"> <xsl:if test="$cookieconsent_display='' and not(php:function('web_Session::isSecure')) and ($request_type = 'html')"> <xsl:variable name="mod" select="php:function('mandant_Holder::getCurrentParam', 'cookieconsent_module')"/> <xsl:if test="$mod!=''"> <xsl:variable name="content" select="php:function('cms_CMS::getContent', string($mod),'content')/*"/> <xsl:copy-of select="$content//script"/> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="cookieconsent"> <xsl:if test="$cookieconsent_display != '' and not(php:function('web_Session::isSecure')) and ($request_type = 'html')"> <!-- modul should be removed, extern loaded by cookieconsent_extern --> <xsl:variable name="language" select="php:function('web_Session::getLanguage')"/> <xsl:variable name="page" select="php:function('web_Session::getCurrentPage')"/> <xsl:variable name="mod"> <xsl:choose> <xsl:when test="$languages/language[@id = $language]"> <xsl:value-of select="php:function('mandant_Holder::getCurrentParam', concat('cookieconsent_module_', $language))"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="php:function('mandant_Holder::getCurrentParam', 'cookieconsent_module')"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="module" select="php:function('cms_mod_Interface::getModule', string($mod))/*"/> <xsl:variable name="meta" select="php:function('cms_mod_Interface::getMeta', string($mod), string($module/@holderlogin))/metadata"/> <script type="text/javascript" src="/public/fad-server/class/cms/mod/cookieconsent/cookieconsent.js">/*cookieconsent*/</script> <script type="text/javascript"> document.addEventListener( 'DOMContentLoaded' , function () { if (fad_cookieconsent) { fad_cookieconsent.init( { display : '<xsl:value-of select="$cookieconsent_display"/>', module : '<xsl:value-of select="$mod"/>', maxage : '<xsl:value-of select="$meta/maxage"/>' } ); <xsl:if test="($cookieconsent_display = '') or ($module and not($module//a[@class='fad_contentlink'][@href = concat('/', $page, '.html')]))"> fad_cookieconsent.run(); </xsl:if> } } ); </script> </xsl:if> </xsl:template> <xsl:template match="tag_cloud"> <xsl:variable name="tag_count"> <xsl:value-of select="count(tags/tag)"/> </xsl:variable> <xsl:for-each select="tags/tag"> <xsl:sort select="@tags"/> <xsl:choose> <xsl:when test="$tag_count > 5 and @maxtag > 1"> <a style="font-size:{10 div (@maxtag - @mintag) * (@katag - @mintag) + 11}px" href="/tags={@tags}/link.index.{$request_type}"> <xsl:value-of select="tagname"/> </a>   </xsl:when> <xsl:otherwise> <a class="kategorie" href="/tags={@tags}/link.index.{$request_type}"> <xsl:value-of select="tagname"/> </a>   </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:template> <xsl:template match="box"> <xsl:call-template name="box"/> </xsl:template> <xsl:template match="references"> <xsl:variable name="links"> <xsl:for-each select="//*[self::a][not(@href=following::a/@href)]"> <xsl:variable name="title"> <xsl:choose> <xsl:when test="@title!=''"> <xsl:value-of select="@title"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="."/> </xsl:otherwise> </xsl:choose> </xsl:variable> <a href="{@href}" title="{$title}" target="_blank"> <xsl:value-of select="$title"/> </a> </xsl:for-each> </xsl:variable> <xsl:if test="$links!=''"> <xsl:variable name="lb"> <h3>Referenzen</h3> <ul> <xsl:for-each select="exslt:node-set($links)/*"> <li> <xsl:copy-of select="."/> </li> </xsl:for-each> </ul> </xsl:variable> <xsl:apply-templates select="exslt:node-set($lb)/*"/> </xsl:if> </xsl:template> <xsl:template match="footbar"> <div class="FootbarWidth"> <div class="FootBarTopRow"> <xsl:call-template name="RenderFootBarTopRow"/> </div> <xsl:if test="(count(item[@level = 1 and @link != 'kontakt.html']/item) > 0)"> <div class="FootBarMinorRow"> | <xsl:call-template name="RenderFootBarMinorRow"/> </div> </xsl:if> <div class="FootBarContactRow"> | <xsl:call-template name="RenderFootBarContactRow"/> </div> <xsl:if test="footbaraddress != ''"> <div class="FootBarAddress"> <p class="FootBarAddressPassage"> <xsl:call-template name="RenderFootBarAddress"/> </p> </div> </xsl:if> </div> </xsl:template> <xsl:template name="RenderFootBarAddress"> <xsl:if test="footbaraddress/company != ''"> | <xsl:value-of select="footbaraddress/company"/> </xsl:if> <xsl:if test="footbaraddress/name != ''"> | <xsl:value-of select="footbaraddress/name"/> </xsl:if> <xsl:if test="footbaraddress/street != ''"> | <xsl:value-of select="footbaraddress/street"/> </xsl:if> <xsl:if test="footbaraddress/zip != '' and footbaraddress/city != ''"> | <xsl:value-of select="footbaraddress/zip"/> <xsl:value-of select="footbaraddress/city"/> </xsl:if> <!--xsl:if test="footbaraddress/mail != ''"> | <xsl:value-of select="php:function('getTranslation', 'E-Mail')"/>: <xsl:value-of select="footbaraddress/mail"/> </xsl:if--> <xsl:if test="footbaraddress/mail != ''"> | <xsl:value-of select="php:function('system_Language::translate', 'E-Mail')"/>: <xsl:value-of select="footbaraddress/mail"/> </xsl:if> <!--xsl:if test="document(concat('ibs:/page_allowed,','kontakt'))/result/@value='yes'"> | <a href="/kontakt.html"> -> <xsl:value-of select="php:function('getTranslation', 'zum Kontaktformular')"/></a> | </xsl:if--> <xsl:if test="document(concat('ibs:/page_allowed,','kontakt'))/result/@value='yes'"> | <a href="/kontakt.html"> -> <xsl:value-of select="php:function('system_Language::translate', 'zum Kontaktformular')"/></a> | </xsl:if> <!--| Telefon: <xsl:value-of select="footbaraddress/telefon"/> | Fax: <xsl:value-of select="footbaraddress/fax"/--> </xsl:template> <xsl:template name="RenderFootBarTopRow"> <xsl:variable name="children"> <xsl:value-of select="count(item[not(@visible)])"/> </xsl:variable> <xsl:for-each select="item"> <xsl:call-template name="RenderFootBarTopItem"> <xsl:with-param name="level" select="@level"/> <xsl:with-param name="children" select="$children"/> </xsl:call-template> </xsl:for-each> </xsl:template> <xsl:template name="RenderFootBarTopItem"> <xsl:param name="level"/> <xsl:param name="children"/> <xsl:if test="not(@visible)"> <xsl:if test="($level = 1)"> <a href="{@link}" title="{$children}" class="FootBarTopItem"> <xsl:value-of select="@title"/> </a>   </xsl:if> </xsl:if> </xsl:template> <xsl:template name="RenderFootBarMinorRow"> <xsl:variable name="children"> <xsl:value-of select="count(item[not(@visible)])"/> </xsl:variable> <xsl:for-each select="item[not(@visible) and (@link != 'kontakt.html') or (@link = 'kontakt.html' and @level = 2)]"> <xsl:call-template name="RenderFootBarMinorItem"> <xsl:with-param name="level" select="@level"/> <xsl:with-param name="children" select="$children"/> <xsl:with-param name="position" select="position()"/> </xsl:call-template> </xsl:for-each> </xsl:template> <xsl:template name="RenderFootBarContactRow"> <xsl:variable name="children"> <xsl:value-of select="count(item[not(@visible) and @link = 'kontakt.html'])"/> </xsl:variable> <xsl:for-each select="item[not(@visible) and @link = 'kontakt.html']"> <xsl:call-template name="RenderFootBarMinorItem"> <xsl:with-param name="level" select="@level"/> <xsl:with-param name="children" select="$children"/> <xsl:with-param name="position" select="position()"/> </xsl:call-template> </xsl:for-each> </xsl:template> <xsl:template name="RenderFootBarMinorItem"> <xsl:param name="level"/> <xsl:param name="children"/> <xsl:param name="position"/> <xsl:if test="($level = 2)"> <a href="{@link}" title="{$children}" class="FootBarMinorItem"> <xsl:value-of select="@title"/> </a> </xsl:if> <xsl:if test="(count(item[not(@visible)]) > 0) and ($level = 1)"> <xsl:call-template name="RenderFootBarMinorRow"/> </xsl:if> <xsl:choose> <xsl:when test="(count(item[not(@visible)]) > 0) and ($level = 1)">|</xsl:when> <xsl:when test="($level = 2) and ($position != $children)">|</xsl:when> </xsl:choose> </xsl:template> <xsl:template match="colfootbar"> <div class="FootbarThemes"> <table width="100%" class="FootbarColTable"> <tr valign="top"> <xsl:for-each select="col"> <td> <xsl:for-each select="item"> <a href="{@link}"> <xsl:attribute name="class"> <xsl:value-of select="concat('FootbarMenuLevel',@level)"/> </xsl:attribute> <xsl:value-of select="@title"/> </a> <br/> </xsl:for-each> </td> </xsl:for-each> </tr> </table> </div> <xsl:if test="footbaraddress != ''"> <div class="FootbarColAddress"> <p class="FootBarAddressPassage"> <xsl:call-template name="RenderFootBarAddress"/> </p> </div> </xsl:if> </xsl:template> <xsl:template match="keyword"> <a href="lexikon.public.index.html?{$session}&schlagwort={text()}"> <xsl:apply-templates select="text()"/> </a> </xsl:template> <xsl:template name="IbsDo"/> <xsl:template match="ibs-lexikon"> <xsl:variable name="ibs">ibs:/lexikon,<xsl:value-of select="@schlagwort"/></xsl:variable> <xsl:apply-templates select="document($ibs)/Data/Content/DataSet[1]/erklaerung/*"/> </xsl:template> <xsl:template match="ibs-original"> <div class="ibs-original" style="clear:both;"> <xsl:apply-templates select="document('ibs:/original')/content"/> </div> </xsl:template> <!--den Inhalt einer fremden Webseite einbinden--> <xsl:template match="ibs-include"> <div class="ibs-include"> <xsl:variable name="doc">ibs:/include,<xsl:value-of select="concat(@link,',',@project)"/><xsl:for-each select="param">,<xsl:value-of select="concat(@key,'~',php:function('rawurlencode',string(@value)))"/></xsl:for-each></xsl:variable> <xsl:apply-templates select="document(translate($doc,' ','*'))/content" mode="include"/> </div> </xsl:template> <xsl:template match="ibs-get"> <xsl:variable name="doc">ibs:/get,<xsl:value-of select="@name"/></xsl:variable> <xsl:apply-templates select="document($doc)/get"/> </xsl:template> <!-- facebook Integration --> <xsl:template match="facebook"> <xsl:for-each select="./*"> <xsl:choose> <xsl:when test="name() = 'like-box'"> <div id="fb-root"></div> <script type="text/plain" data-type="text/javascript" data-cookieconsent="targeting">(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-send="false" data-layout="button_count" data-width="150" data-show-faces="true"></div> </xsl:when> <xsl:otherwise> <div id="fb-root"></div> <script type="text/plain" data-type="text/javascript" data-cookieconsent="targeting" language="JavaScript1.2"> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1&appId=<xsl:value-of select="document('ibs:/holder_param,facebook.application_id')/content/@value"/>"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div data-width="292" data-show-faces="true" data-stream="true" data-header="true"> <xsl:attribute name="class"><xsl:value-of select="concat('fb-',name())"/></xsl:attribute> </div> <!--xsl:element name="{concat('fb-',name())}"> <xsl:for-each select="./@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:value-of select="."/> </xsl:element--> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:template> <xsl:template match="content"> <xsl:call-template name="inveda_content"/> </xsl:template> <xsl:template match="content" mode="include"> <xsl:call-template name="inveda_content"/> </xsl:template> <!--Intro Seite anzeigen--> <xsl:template match="ibs-popup"> <div> <xsl:if test="@once!='yes' or document('ibs:/page_calls')/result/@value='1'"> <script type="text/javascript"> window.open("<xsl:value-of select="@link"/>","ABC","width=800,height=500,left=0,top=0,resizable=yes,scrollbars=yes,titlebar=no"); </script> </xsl:if> </div> </xsl:template> <!-- auf Framework-Parameter zugreifen /--> <xsl:template match="ibs-param"> <xsl:apply-templates select="php:function('data_Placeholder::getParam',string(@name),'as_doc')/param" mode="ibs"/> </xsl:template> <xsl:template match="fad:placeholder"> <xsl:variable name="output"> <xsl:apply-templates select="php:function('data_Placeholder::getParam',string(@class),'as_doc')/param" mode="ibs"/> </xsl:variable> <xsl:if test="not($output='')"> <xsl:copy-of select="$output"/> </xsl:if> <xsl:if test="not(not($output='')) and (php:function('web_Session::isSecure'))"> <span class="fad_placeholder {@class}" title="{@title}"> <xsl:comment></xsl:comment> </span> </xsl:if> </xsl:template> <xsl:template match="param" mode="ibs"> <xsl:apply-templates/> </xsl:template> <xsl:template match="iframe"> <iframe src="{php:function('system_util_URL::randomize',string(concat(@src,@link)))}"> <xsl:if test="@width"><xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute></xsl:if> <xsl:if test="@height"><xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute></xsl:if> <xsl:if test="@name"><xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute></xsl:if> <xsl:if test="@align"><xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute></xsl:if> <xsl:if test="@scrolling"><xsl:attribute name="scrolling"><xsl:value-of select="@scrolling"/></xsl:attribute></xsl:if> <xsl:if test="@frameborder"><xsl:attribute name="frameborder"><xsl:value-of select="@frameborder"/></xsl:attribute></xsl:if> <xsl:if test="@id"><xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute></xsl:if> <xsl:if test="@class"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if> <xsl:if test="@style"><xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute></xsl:if> <p>Ihr Browser kann leider keine eingebetteten Frames anzeigen: Sie können die eingebettete Seite über den folgenden Verweis aufrufen: <a href="{php:function('system_util_URL::randomize',string(concat(@src,@link)))}"><xsl:value-of select="@name"/></a></p> </iframe> </xsl:template> <xsl:template match="fad:iframe"> <iframe src="{php:function('system_util_URL::randomize',string(concat(@src,@link)))}"> <xsl:if test="@width"><xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute></xsl:if> <xsl:if test="@height"><xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute></xsl:if> <xsl:if test="@name"><xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute></xsl:if> <xsl:if test="@align"><xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute></xsl:if> <xsl:if test="@scrolling"><xsl:attribute name="scrolling"><xsl:value-of select="@scrolling"/></xsl:attribute></xsl:if> <xsl:if test="@frameborder"><xsl:attribute name="frameborder"><xsl:value-of select="@frameborder"/></xsl:attribute></xsl:if> <xsl:if test="@id"><xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute></xsl:if> <xsl:if test="@class"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if> <xsl:if test="@style"><xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute></xsl:if> <p>Ihr Browser kann leider keine eingebetteten Frames anzeigen: Sie können die eingebettete Seite über den folgenden Verweis aufrufen: <a href="{php:function('system_util_URL::randomize',string(concat(@src,@link)))}"><xsl:value-of select="@name"/></a></p> </iframe> </xsl:template> <xsl:template match="editmenu"/> <xsl:template match="input[@ibs_js='RTEDITOR']"> <xsl:choose> <xsl:when test="@readonly = 'readonly'"> <xsl:value-of select="@value"/> </xsl:when> <xsl:otherwise> <input onclick="IBSShowDialog('editor.rteditor.html?rt_type={@rt_type}&name={@name}&archive={@archive}','123',600,650);"> <xsl:attribute name="id"> <xsl:value-of select="../@name"/> </xsl:attribute> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:value-of select="."/> </input> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="link[@rel='stylesheet']|a[@href='#']"> <xsl:copy-of select="."/> </xsl:template> <xsl:template match="a|link"> <xsl:variable name="href"> <xsl:choose> <xsl:when test="starts-with(@href,'ibs-param')"> <xsl:value-of select="php:function('data_Placeholder::getParam',substring-after(@href,'ibs-param:'))"/> </xsl:when> <xsl:when test="href"> <xsl:apply-templates select="href"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@href"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test="text()!='' or node()"> <a> <xsl:for-each select="@*"> <xsl:if test="not(name() = 'onclick' and document('ibs:/mobile_device')/content/@value = 'yes' and substring(., 1, 13) = 'requestWebbox')"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:if> </xsl:for-each> <xsl:if test="$href != ''"> <xsl:attribute name="href"><xsl:value-of select="php:function('system_util_URL::randomize',string($href))"/></xsl:attribute> </xsl:if> <xsl:if test="not(@rel!='') and ((starts-with($href,'http://') or starts-with($href,'https://')) and not(starts-with($href, concat('http://',document('ibs:/holder_value,domain')/content/@value,'/'))))"> <xsl:attribute name="rel"> <xsl:value-of select="'nofollow'"/> </xsl:attribute> </xsl:if> <xsl:if test="@target"> <xsl:attribute name="target"> <xsl:value-of select="@target"/> </xsl:attribute> </xsl:if> <xsl:apply-templates/> </a> </xsl:if> </xsl:template> <xsl:template match="para"> <p> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </p> </xsl:template> <xsl:template match="*[@randomize]"> <xsl:element name="{name()}"> <xsl:for-each select="@*[not(name() = 'randomize')]"> <xsl:attribute name="{name()}"> <xsl:value-of select="php:function('system_util_URL::randomize',string(.))"/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </xsl:element> </xsl:template> <xsl:template match="*"> <xsl:element name="{name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates/> <xsl:if test="name() != 'br'"> <xsl:comment/> </xsl:if> </xsl:element> </xsl:template> <xsl:template match="img[@class='attachment']"> <img style="cursor: pointer;" src="{@src}" onclick="window.open('{@title}','popup','toolbar=no,resizable=yes,top=40,scrollbars=yes');"/> </xsl:template> <xsl:template match="img"> <xsl:choose> <xsl:when test="substring(@alt,1,4)='cms.'"> <xsl:call-template name="render_cms_image"/> </xsl:when> <xsl:when test="not($is_secure) and substring(@src,1,9)='/content.'"> <xsl:call-template name="render_cms_image"/> </xsl:when> <xsl:otherwise> <xsl:element name="img"> <xsl:copy-of select="@*[name()!='src' and name()!='proxy']"/> <xsl:attribute name="src"> <xsl:variable name="random" select="php:function('system_util_URL::randomize',string(@src))"/> <xsl:value-of select="php:function('system_util_URL::proxy',string($random),(@proxy!=''))"/> </xsl:attribute> <xsl:apply-templates select="*|node()|comment()|processing-instruction()"/> </xsl:element> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="render_cms_image"> <xsl:param name="absolute_path" select="'false'"/> <xsl:param name="absolute_path_value" select="''"/> <xsl:param name="lazyload" select="$skin_lazyload"/> <xsl:param name="link_class" select="@linkclass"/> <xsl:param name="link_title" select="@linktitle"/> <xsl:param name="link_target" select="@linktarget"/> <xsl:param name="link_rel" select="@linkrel"/> <xsl:param name="link" select="@link"/> <xsl:param name="size" select="''"/> <xsl:param name="srcset" select="@srcset"/> <xsl:param name="sizes" select="@sizes"/> <xsl:param name="class" select="@class"/> <xsl:param name="style" select="@style"/> <xsl:param name="preview" select="false()"/> <xsl:param name="src" select="string(@src)"/> <xsl:variable name="param" select="str:tokenize(@alt,'.')"/> <xsl:variable name="srcparam" select="str:tokenize($src,'.')"/> <xsl:variable name="src_id"> <xsl:choose> <xsl:when test="$srcparam[1]='/content'"> <xsl:value-of select="$srcparam[2]"/> </xsl:when> <xsl:otherwise/> </xsl:choose> </xsl:variable> <xsl:variable name="holderlogin"> <xsl:choose> <xsl:when test="/content/@post and /content/@post!=''"> <!-- blogpost --> <xsl:value-of select="$c_holderlogin"/> </xsl:when> <xsl:when test="@holderlogin!=''"> <xsl:value-of select="@holderlogin"/> </xsl:when> <xsl:when test="$c_holderlogin != /content/@holderlogin and /content/@holderlogin !='' "> <!-- abonnierte Seiten / Inhalt nicht überschrieben /Publisherseite übersetzt oder kopiert --> <xsl:value-of select="/content/@holderlogin"/> </xsl:when> <xsl:when test="$c_holderlogin=/content/@holderlogin and $src_id=/content/@nr"> <!-- Bild gehört zum Content (eigene Seite oder nicht überschriebene Aboseite) --> <xsl:value-of select="/content/@holderlogin"/> </xsl:when> <xsl:when test="/content/@holderlogin=$cmetadata/publisher_login and $cmetadata/publisher_login!='' and $src_id=$cmetadata/publisher_content_id"> <!-- überschriebene Publisherseite / Bild im Publishercontent --> <xsl:value-of select="$cmetadata/publisher_login"/> </xsl:when> <!-- xsl:when test="$param[4]!=''"> Bei Hauptbildern schreiben die render.xsl das holderlogin dran <xsl:value-of select="$param[4]"/> </xsl:when--> <xsl:when test="$c_holderlogin != /*/@holderlogin and /*/@holderlogin !='' "> <!-- interne Seiten / internes Modul --> <xsl:value-of select="/*/@holderlogin"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$c_holderlogin"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="content_nr"> <xsl:choose> <xsl:when test="$src_id!=''"> <xsl:value-of select="$src_id"/> </xsl:when> <xsl:when test="/content/@post and /content/@post!=''"> <!-- blogpost --> <xsl:value-of select="/content/@post"/> </xsl:when> <xsl:when test="@meta_nr and @meta_nr!=''"> <xsl:value-of select="@meta_nr"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="/content/@nr"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="meta_nr"> <xsl:choose> <xsl:when test="@meta_nr and @meta_nr!=''"> <!-- @meta_nr gesetzt(Hauptbild) --> <xsl:value-of select="@meta_nr"/> </xsl:when> <xsl:when test="/content/@post and /content/@post!=''"> <!-- blogpost --> <xsl:value-of select="/content/@post"/> </xsl:when> <xsl:when test="/content/@nr and /content/@nr!=''"> <!-- backend --> <xsl:value-of select="/content/@nr"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat($cmetadata/nr,',',$cmetadata/publisher_content_id)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="image_nr"> <xsl:choose> <xsl:when test="$param[1]='cms' and $param[2]!=''"> <xsl:value-of select="$param[2]"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$srcparam[4]"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="image_size"> <xsl:choose> <xsl:when test="$size!=''"> <xsl:value-of select="$size"/> </xsl:when> <xsl:when test="$param[1]='cms' and $param[3]!=''"> <xsl:value-of select="$param[3]"/> </xsl:when> <xsl:when test="count($srcparam)=7"> <xsl:value-of select="$srcparam[6]"/> </xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="image_sizes" select="str:tokenize($image_size,'x')"/> <xsl:variable name="images" select="php:function('cms_CMS::getImages',$content_nr,$holderlogin)/images"/> <xsl:variable name="images_img" select="$images/image[@id=$image_nr]"/> <xsl:variable name="image_meta" select="php:function('cms_CMS::getImageMeta',string($src_id),string($image_nr),string($holderlogin),string($meta_nr))/media"/> <xsl:variable name="image_source" select="$image_meta/src"/> <xsl:variable name="image_description" select="$image_meta/description"/> <xsl:variable name="image_title" select="$image_meta/title"/> <xsl:variable name="image_gallery" select="$image_meta/gallery"/> <xsl:variable name="image_name" select="$images/image[@id=$image_nr]/@name"/> <xsl:variable name="image_names" select="str:tokenize($image_name,'.')"/> <xsl:variable name="is_svg" select="$images_img/@imgtype='svg'"/> <xsl:if test="php:function('cms_CMS::setSessionHolder', string($holderlogin), string($content_nr))"/> <xsl:variable name="content_meta" select="php:function('cms_CMS::getMetaById',string($content_nr),string($holderlogin))/metadata"/> <xsl:variable name="domain" select="php:function('mandant_Holder::getCurrentHolderURL')"/> <xsl:variable name="src_domain"> <xsl:choose> <xsl:when test="$absolute_path_value!=''"><xsl:value-of select="$absolute_path_value"/></xsl:when> <xsl:when test="/content/@domain!=''"><xsl:value-of select="/content/@domain"/></xsl:when> <xsl:when test="$domain!=''"><xsl:value-of select="substring($domain,1,string-length($domain)-1)"/></xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="src_prefix"> <xsl:if test="$absolute_path = 'true'"> <xsl:value-of select="$src_domain"/> </xsl:if> </xsl:variable> <xsl:choose> <xsl:when test="not($preview) and $image_meta/type='youtube'"> <xsl:call-template name="load_jquery"> <xsl:with-param name="load-jquery-ui" select="false()"/> </xsl:call-template> <xsl:if test="php:function('web_Content::addScript','/scripts/jquery.fitvids.js','text/javascript',100)"/> <xsl:if test="php:function('web_Content::addScript','/scripts/init_fitvids.js','text/javascript',101)"/> <span class="fad_cms_youtube" style="width:{$image_sizes[1]}px;height:{$image_sizes[2]}px;" itemprop="video" itemscope="" itemtype="http://schema.org/VideoObject"> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$class!='' and ($image_description!='' or $image_source!='')"> <xsl:value-of select="concat($class, ' image-meta', ' fad-image-wrapper fad_cms_youtube')"/> </xsl:when> <xsl:when test="$image_description!='' or $image_source!='' or $image_title!=''"> <xsl:value-of select="'image-meta fad-image-wrapper fad_cms_youtube'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat ($class, ' fad-image-wrapper fad_cms_youtube')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <meta itemprop="thumbnailUrl" content="{$src_domain}{@src}"/> <meta itemprop="contentURL" content="https://www.youtube.com/watch?v={$image_meta/media/id}"/> <meta itemprop="height" content="{$image_meta/height}"/> <meta itemprop="width" content="{$image_meta/width}"/> <meta itemprop="uploadDate" content="{$image_meta/upload}"/> <meta itemprop="name" content="{$image_meta/title}"/> <meta itemprop="description" content="{$image_meta/description}"/> <iframe width="{$image_sizes[1]}" height="{$image_sizes[2]}" src="https://www.youtube-nocookie.com/embed/{$image_meta/id}?rel=0" frameborder="0" allowfullscreen="allowfullscreen"> <xsl:comment>Kommentar damit der Editor funktioniert</xsl:comment> </iframe> </span> </xsl:when> <xsl:when test="not($preview) and $image_meta/type='vimeo'"> <xsl:call-template name="load_jquery"> <xsl:with-param name="load-jquery-ui" select="false()"/> </xsl:call-template> <xsl:if test="php:function('web_Content::addScript','/scripts/jquery.fitvids.js','text/javascript',100)"/> <xsl:if test="php:function('web_Content::addScript','/scripts/init_fitvids.js','text/javascript',101)"/> <span class="fad_cms_youtube" style="width:{$image_sizes[1]}px;height:{$image_sizes[2]}px;" itemprop="video" itemscope="" itemtype="http://schema.org/VideoObject"> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$class!='' and ($image_description!='' or $image_source!='')"> <xsl:value-of select="concat($class, ' image-meta', ' fad-image-wrapper fad_cms_youtube')"/> </xsl:when> <xsl:when test="$image_description!='' or $image_source!='' or $image_title!=''"> <xsl:value-of select="'image-meta fad-image-wrapper fad_cms_youtube'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat ($class, ' fad-image-wrapper fad_cms_youtube')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <meta itemprop="thumbnailUrl" content="{$src_domain}/{@src}"/> <meta itemprop="contentURL" content="https://player.vimeo.com?v={$image_meta/id}"/> <meta itemprop="height" content="{$image_meta/height}"/> <meta itemprop="width" content="{$image_meta/width}"/> <meta itemprop="uploadDate" content="{$image_meta/upload}"/> <meta itemprop="name" content="{$image_meta/title}"/> <meta itemprop="description" content="{$image_meta/description}"/> <iframe width="{$image_sizes[1]}" height="{$image_sizes[2]}" src="https://player.vimeo.com/video/{$image_meta/id}" frameborder="0" webkitallowfullscreen="webkitallowfullscreen" mozallowfullscreen="mozallowfullscreen" allowfullscreen="allowfullscreen"> <xsl:comment>Kommentar damit der Editor funktioniert</xsl:comment> </iframe> </span> </xsl:when> <xsl:when test="not($preview) and $image_meta/type='video/mp4'"> <xsl:variable name="mp4_file" select="str:tokenize($image_meta/mp4,'.')"/> <video poster="{@src}" controls="controls" itemprop="video" itemscope="" itemtype="http://schema.org/VideoObject"> <xsl:copy-of select="@autoplay|@loop|@height|@width|@playsinline|@controls|@preload"/> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$class!='' and ($image_description!='' or $image_source!='' or $image_title!='')"> <xsl:value-of select="concat($class, ' image-meta', ' fad-image-wrapper fad_cms_mp4')"/> </xsl:when> <xsl:when test="$image_description!='' or $image_source!='' or $image_title!=''"> <xsl:value-of select="'image-meta fad-image-wrapper fad_cms_mp4'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat ($class, ' fad-image-wrapper fad_cms_mp4')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="not(contains($class, 'fad_image_width_')) or contains($class, 'fad_image_width_auto')"> <xsl:attribute name="style"> <xsl:choose> <xsl:when test="$image_size!=''"> <xsl:value-of select="concat('width:', $image_sizes[1], 'px')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('width:', $image_meta/width, 'px')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:if> <meta itemprop="thumbnailUrl" content="{$src_domain}{@src}"/> <meta itemprop="contentURL" content="{$src_domain}/{$images_img/@url}.{$mp4_file[2]}"/> <meta itemprop="height" content="{$image_meta/height}"/> <meta itemprop="width" content="{$image_meta/width}"/> <meta itemprop="uploadDate" content="{$image_meta/upload}"/> <meta itemprop="name" content="{$image_meta/title}"/> <meta itemprop="description" content="{$image_meta/description}"/> <source src="/{$images_img/@url}.{$mp4_file[2]}" type="video/mp4"/> Your browser does not support the video tag. </video> </xsl:when> <xsl:otherwise> <span itemprop="image" itemscope="itemscope" itemtype="https://schema.org/ImageObject"> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$class!='' and ($image_description!='' or $image_source!='' or $image_title!='')"> <xsl:value-of select="concat($class, ' image-meta', ' fad-image-wrapper')"/> </xsl:when> <xsl:when test="$image_description!='' or $image_source!='' or $image_title!=''"> <xsl:value-of select="'image-meta fad-image-wrapper'"/> </xsl:when> <xsl:when test="$class!=''"> <xsl:value-of select="concat($class, ' fad-image-wrapper')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'fad-image-wrapper'"/> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$image_sizes!='' and $image_sizes[1] < $image_sizes[2]"> <xsl:value-of select="' fad-image-portrait'"/> </xsl:when> <xsl:when test="$image_meta/width < $image_meta/media/height"> <xsl:value-of select="' fad-image-portrait'"/> </xsl:when> </xsl:choose> </xsl:attribute> <xsl:if test="not(contains($class, 'fad_image_width_')) or contains($class, 'fad_image_width_auto')"> <xsl:attribute name="style"> <xsl:choose> <xsl:when test="$image_size!=''"> <xsl:value-of select="concat('width:', $image_sizes[1], 'px')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('width:', $image_meta/width, 'px')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:if> <xsl:variable name="img"> <xsl:choose> <xsl:when test="$is_svg"> <xsl:choose> <xsl:when test="$svg_embedded"> <xsl:variable name="svg" select="php:function('cms_CMS::getSVG',concat('/',$images_img/@url),$holderlogin)"/> <xsl:choose> <xsl:when test="$svg"><xsl:copy-of select="$svg"/></xsl:when> <xsl:otherwise> <img src="/{$images_img/@url}.{$images_img/@imgtype}"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:copy-of select="."/> </xsl:otherwise> </xsl:choose> <meta itemprop="url" content="{$src_domain}/{$images_img/@url}.{$image_names[2]}"/> <meta itemprop="width" content="{$image_meta/width}"/> <meta itemprop="height" content="{$image_meta/height}"/> </xsl:when> <xsl:when test="$image_size!=''"> <xsl:if test="php:function('web_Session::registerImageSize',$image_size)"/> <img itemprop="image" width="{$image_sizes[1]}" height="{$image_sizes[2]}"> <xsl:choose> <xsl:when test="not($is_secure) and $lazyload"> <xsl:if test="not($srcset)"> <xsl:attribute name="data-src"><xsl:value-of select="concat($src_prefix,'/',$images_img/@url,'.',$image_size,'.',$image_names[2])"/></xsl:attribute> </xsl:if> <xsl:if test="$srcset"> <xsl:attribute name="data-srcset"> <xsl:value-of select="$srcset"/> </xsl:attribute> </xsl:if> <xsl:attribute name="class">lazy <xsl:value-of select="$class"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"><xsl:value-of select="$class"/></xsl:attribute> <xsl:attribute name="src"><xsl:value-of select="concat($src_prefix,'/',$images_img/@url,'.',$image_size,'.',$image_names[2])"/></xsl:attribute> <xsl:if test="$srcset"> <xsl:attribute name="srcset"> <xsl:value-of select="$srcset"/> </xsl:attribute> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:if test="$image_title != ''"> <xsl:attribute name="alt"> <xsl:value-of select="$image_title"/> </xsl:attribute> </xsl:if> <xsl:if test="$sizes"> <xsl:attribute name="sizes"> <xsl:value-of select="$sizes"/> </xsl:attribute> </xsl:if> <xsl:if test="$style != ''"> <xsl:attribute name="style"> <xsl:value-of select="$style"/> </xsl:attribute> </xsl:if> </img> <meta itemprop="url" content="{$src_domain}/{$images_img/@url}.{$image_size}.{$image_names[2]}"/> <meta itemprop="width" content="{$image_sizes[1]}"/> <meta itemprop="height" content="{$image_sizes[2]}"/> </xsl:when> <xsl:otherwise> <img itemprop="image"> <xsl:choose> <xsl:when test="not($is_secure) and $lazyload"> <xsl:if test="not($srcset) and not($is_svg)"> <xsl:attribute name="data-src"><xsl:value-of select="concat($src_prefix,'/',$images_img/@url,'.',$image_names[2])"/></xsl:attribute> </xsl:if> <xsl:if test="not($is_svg)"> <xsl:if test="$srcset"> <xsl:attribute name="data-srcset"> <xsl:value-of select="$srcset"/> </xsl:attribute> </xsl:if> <xsl:if test="$sizes"> <xsl:attribute name="sizes"> <xsl:value-of select="$sizes"/> </xsl:attribute> </xsl:if> </xsl:if> <xsl:attribute name="class">lazy <xsl:value-of select="$class"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="src"><xsl:value-of select="concat($src_prefix,'/',$images_img/@url,'.',$image_names[2])"/></xsl:attribute> <xsl:attribute name="class"><xsl:value-of select="$class"/></xsl:attribute> <xsl:if test="not($is_svg)"> <xsl:if test="$srcset"> <xsl:attribute name="srcset"> <xsl:value-of select="$srcset"/> </xsl:attribute> </xsl:if> <xsl:if test="$sizes"> <xsl:attribute name="sizes"> <xsl:value-of select="$sizes"/> </xsl:attribute> </xsl:if> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:if test="$image_title != ''"> <xsl:attribute name="alt"> <xsl:value-of select="$image_title"/> </xsl:attribute> </xsl:if> <xsl:attribute name="width"> <xsl:value-of select="$image_meta/width"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="$image_meta/height"/> </xsl:attribute> <xsl:if test="$style != ''"> <xsl:attribute name="style"> <xsl:value-of select="$style"/> </xsl:attribute> </xsl:if> </img> <meta itemprop="url" content="{$src_domain}/{$images_img/@url}.{$image_names[2]}"/> <meta itemprop="width" content="{$image_meta/width}"/> <meta itemprop="height" content="{$image_meta/height}"/> </xsl:otherwise> </xsl:choose> <xsl:if test="not($is_secure) and $lazyload"> <xsl:variable name="lcode"> window.onload = function() { if (window.jQuery) { $('.lazy').Lazy(); } else { console.log("JQuery missing"); } }; </xsl:variable> <xsl:if test="not(php:function('web_Session::getGlobal','GET','ajax')='ajax')"> <xsl:if test="php:function('web_Content::addScript','/scripts/jquery/lazyload/jquery.lazy.min.js','text/javascript',7)"/> <xsl:if test="php:function('web_Content::addScript','/scripts/jquery/lazyload/jquery.lazy.plugins.min.js','text/javascript',8)"/> </xsl:if> <xsl:if test="php:function('web_Content::addScriptCode',string($lcode) , 'text/javascript', 110)"/> </xsl:if> </xsl:variable> <xsl:choose> <xsl:when test="$image_meta/media/type='application/epub+zip'"> <img onclick="window.open('{$src_prefix}/id/{$content_nr}/epub/{$image_nr}/cms.epub.public.reader.html')"> <xsl:copy-of select="@*|*"/> </img> </xsl:when> <xsl:when test="$image_meta/media/type='application/pdf'"> <img onclick="requestWebbox('{$src_prefix}/id/{$content_nr}/pdf/{$image_nr}/cms.pdf.public.reader.ajax','','GET');return false"> <xsl:copy-of select="@*|*"/> </img> </xsl:when> <xsl:when test="$link != '' and $link != 'undefined' "> <a> <xsl:attribute name="href"> <xsl:if test="starts-with($link, '/')"> <xsl:value-of select="$src_prefix"/> </xsl:if> <xsl:value-of select="$link"/> </xsl:attribute> <xsl:if test="$link_class != ''"> <xsl:attribute name="class"> <xsl:value-of select="$link_class"/> </xsl:attribute> </xsl:if> <xsl:if test="$link_title != ''"> <xsl:attribute name="title"> <xsl:value-of select="$link_title"/> </xsl:attribute> </xsl:if> <xsl:if test="$link_target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$link_target"/> </xsl:attribute> </xsl:if> <xsl:if test="$link_rel != ''"> <xsl:attribute name="rel"> <xsl:value-of select="$link_rel"/> </xsl:attribute> </xsl:if> <xsl:copy-of select="$img"/> </a> </xsl:when> <xsl:when test="not($is_secure) and $image_gallery = 't'"> <!-- TODO: gallery link as ajax --> <img onclick="window.open('?gallery={$image_nr}')" title="zur Galerie"> <xsl:copy-of select="@*|*"/> </img> </xsl:when> <xsl:when test="$is_secure and $content_meta/publishtype='wiki'"> <img onclick="window.open('{$image_source}')" title="Großansicht"> <xsl:copy-of select="@*|*"/> </img> </xsl:when> <xsl:when test="starts-with($image_source, 'http://') or starts-with($image_source ,'https://') or starts-with($image_source ,'//')"> <img onclick="window.open('{$image_source}')"> <xsl:copy-of select="@*|*"/> </img> </xsl:when> <xsl:when test="starts-with($image_source, 'www.')"> <img onclick="window.open('//{$image_source}')"> <xsl:copy-of select="@*|*"/> </img> </xsl:when> <xsl:otherwise> <xsl:copy-of select="$img"/> </xsl:otherwise> </xsl:choose> <xsl:if test="$image_title!=''"> <span class="image-meta-title"> <xsl:choose> <xsl:when test="not(is_secure) and $link != '' and $link != 'undefined'"> <a href="{$link}"> <xsl:if test="$link_title != ''"> <xsl:attribute name="title"> <xsl:value-of select="$link_title"/> </xsl:attribute> </xsl:if> <xsl:if test="$link_target != ''"> <xsl:attribute name="target"> <xsl:value-of select="$link_target"/> </xsl:attribute> </xsl:if> <xsl:if test="$link_rel != ''"> <xsl:attribute name="rel"> <xsl:value-of select="$link_rel"/> </xsl:attribute> </xsl:if> <xsl:value-of select="$image_title"/> </a> </xsl:when> <xsl:otherwise> <xsl:value-of select="$image_title"/> </xsl:otherwise> </xsl:choose> </span> </xsl:if> <xsl:if test="$image_description!=''"> <span class="image-meta-description"> <xsl:value-of select="$image_description"/> </span> </xsl:if> <xsl:if test="$image_source!=''"> <xsl:choose> <xsl:when test="starts-with($image_source, 'http://') or starts-with($image_source ,'https://') or starts-with($image_source ,'//')"> <span class="image-meta-source" onclick="window.open('{$image_source}','_blank')"> <xsl:value-of select="substring-after($image_source, '//')"/> </span> </xsl:when> <xsl:when test="starts-with($image_source, 'www.')"> <span class="image-meta-source" onclick="window.open('//{$image_source}','_blank')"> <xsl:value-of select="$image_source"/> </span> </xsl:when> <xsl:when test="starts-with($image_source, '/')"> <span class="image-meta-source" onclick="window.open('{$image_source}','_blank')"> <xsl:value-of select="$image_source"/> </span> </xsl:when> <xsl:otherwise> <span class="image-meta-source"> <xsl:value-of select="$image_source"/> </span> </xsl:otherwise> </xsl:choose> </xsl:if> </span> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="table[@border_type]"> <table style="{@style}" cellspacing="{@cellspacing}" cellpadding="{@cellpadding}" width="{@width}"> <xsl:if test="@align!=''"> <xsl:attribute name="align"> <xsl:value-of select="@align"/> </xsl:attribute> </xsl:if> <xsl:variable name="bgColor"> <xsl:choose> <xsl:when test="@background_clr='0'"> </xsl:when> <xsl:otherwise> BACKGROUND-COLOR: <xsl:value-of select="@background_clr"/>; <xsl:value-of select="@style"/>; </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="@border_type = 1"> <xsl:attribute name="style"> <xsl:value-of select="concat('BORDER: ',@border_clr,' ',@border_width,'px solid', $bgColor)"/> </xsl:attribute> <xsl:for-each select="tr|tbody/tr"> <tr> <xsl:for-each select="td"> <td> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </td> </xsl:for-each> </tr> </xsl:for-each> </xsl:when> <xsl:when test="@border_type = 0 and @cellspacing = 0"> <xsl:attribute name="style"> <xsl:value-of select="$bgColor"/> </xsl:attribute> <xsl:variable name="color" select="@border_clr"/> <xsl:variable name="width" select="@border_width"/> <xsl:for-each select="tr|tbody/tr"> <xsl:variable name="oben"> <xsl:if test="position() = 1">true</xsl:if> </xsl:variable> <tr> <xsl:for-each select="td"> <xsl:variable name="links"> <xsl:if test="position() = 1">true</xsl:if> </xsl:variable> <xsl:if test="$oben='true' and $links!='true'"> <td style="BORDER-RIGHT:{$color} {$width}px solid;MARGIN:0px; BORDER-TOP:{$color} {$width}px solid;MARGIN:0px; BORDER-BOTTOM:{$color} {$width}px solid;MARGIN:0px;"> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </td> </xsl:if> <xsl:if test="$oben='true' and $links='true'"> <td style="BORDER-RIGHT:{$color} {$width}px solid;MARGIN:0px; BORDER-TOP:{$color} {$width}px solid;MARGIN:0px; BORDER-LEFT:{$color} {$width}px solid;MARGIN:0px; BORDER-BOTTOM:{$color} {$width}px solid;MARGIN:0px;"> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </td> </xsl:if> <xsl:if test="$links='true' and $oben!='true'"> <td style="BORDER-RIGHT:{$color} {$width}px solid;MARGIN:0px; BORDER-LEFT:{$color} {$width}px solid;MARGIN:0px; BORDER-BOTTOM:{$color} {$width}px solid;MARGIN:0px;"> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </td> </xsl:if> <xsl:if test="$oben!='true' and $links!='true'"> <td style="BORDER-RIGHT:{$color} {$width}px solid;MARGIN:0px; BORDER-BOTTOM:{$color} {$width}px solid;MARGIN:0px;"> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </td> </xsl:if> </xsl:for-each> </tr> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:attribute name="style"> <xsl:value-of select="$bgColor"/> </xsl:attribute> <xsl:variable name="color" select="@border_clr"/> <xsl:variable name="width" select="@border_width"/> <xsl:for-each select="tr|tbody/tr"> <tr> <xsl:for-each select="td"> <td style="BORDER:{$color} {$width}px solid;MARGIN:0px;"> <xsl:for-each select="@*[.!='']"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:apply-templates/> </td> </xsl:for-each> </tr> </xsl:for-each> </xsl:otherwise> </xsl:choose> </table> </xsl:template> <xsl:template match="em"> <span class="em"> <xsl:copy-of select="node()"/> </span> </xsl:template> <xsl:template match="highlight|fad:highlight"> <xsl:call-template name="highlight"/> </xsl:template> <xsl:template name="highlight"> <div class="highlight"> <xsl:if test="@width or @height"> <xsl:attribute name="style"> <xsl:if test="@width">width:<xsl:value-of select="@width"/>; </xsl:if> <xsl:if test="@height">height:<xsl:value-of select="@height"/>; </xsl:if> </xsl:attribute> </xsl:if> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="message"> <h3><xsl:value-of select="@caption"/></h3> <span class ="message_text"> <xsl:apply-templates/> </span> </xsl:template> <!--Systemmeldungen//--> <xsl:template match="sysmessage"> <xsl:choose> <xsl:when test="document('arg:/_xml')/content/@sysmessage='no'"></xsl:when> <xsl:otherwise> <xsl:variable name="temp_buffer" select="string(.)"/> <span class="message_text"> <xsl:apply-templates/> </span> <!-- Linn Meldung nur anzeigen, wenn temp_buffer nicht leer ist --> <xsl:if test="document('arg:/_xml')/content/@popmessage='yes' and $temp_buffer != ''"> <script type="text/javascript"> alert("<xsl:value-of select="$temp_buffer"/>"); </script> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="error"> <span class="errorlabel"> <xsl:value-of select="@caption"/> </span> </xsl:template> <xsl:template match="Error"> <span class="errorlabel"> <xsl:value-of select="."/> </span> </xsl:template> <!--xsl:template match="form"> <form> <xsl:if test="@id != ''"> <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> </xsl:if> <xsl:if test="@name != ''"> <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute> </xsl:if> <xsl:if test="@class != ''"> <xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute> </xsl:if> <xsl:if test="@action != ''"> <xsl:attribute name="action"><xsl:value-of select="@action"/></xsl:attribute> </xsl:if> <xsl:if test="@mathode != ''"> <xsl:attribute name="method"><xsl:value-of select="@method"/></xsl:attribute> </xsl:if> <xsl:if test="@enctype != ''"> <xsl:attribute name="enctype"><xsl:value-of select="@enctype"/></xsl:attribute> </xsl:if> <xsl:attribute name="accept-charset"><xsl:value-of select="'UTF-8'"/></xsl:attribute> <xsl:if test="@default_action != ''"> <xsl:attribute name="default_action"><xsl:value-of select="@default_action"/></xsl:attribute> </xsl:if> <xsl:attribute name="target"> <xsl:choose> <xsl:when test="@target != ''"><xsl:value-of select="@target"/></xsl:when> <xsl:otherwise>_self</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="@script != ''"> <xsl:attribute name="onsubmit"><xsl:value-of select="@script"/></xsl:attribute> </xsl:if> <xsl:if test="@style != ''"> <xsl:attribute name="style"><xsl:value-of select="@style"/></xsl:attribute> </xsl:if> <xsl:apply-templates select="*[name()!='errorbox']/*"/> <xsl:if test="@focus"> <script type="text/javascript"> document.getElementById("<xsl:value-of select="@name"/>::<xsl:value-of select="@focus"/>").focus(); </script> </xsl:if> </form> </xsl:template--> <xsl:template match="form"> <form> <xsl:if test="@id != ''"> <xsl:attribute name="id"> <xsl:value-of select="@id"/> </xsl:attribute> </xsl:if> <xsl:if test="@name != ''"> <xsl:attribute name="name"> <xsl:value-of select="@name"/> </xsl:attribute> </xsl:if> <xsl:if test="@class != ''"> <xsl:attribute name="class"> <xsl:value-of select="@class"/> </xsl:attribute> </xsl:if> <xsl:if test="@action != ''"> <xsl:attribute name="action"> <xsl:value-of select="@action"/> </xsl:attribute> </xsl:if> <xsl:if test="@method != ''"> <xsl:attribute name="method"> <xsl:value-of select="@method"/> </xsl:attribute> </xsl:if> <xsl:if test="@enctype != ''"> <xsl:attribute name="enctype"> <xsl:value-of select="@enctype"/> </xsl:attribute> </xsl:if> <xsl:attribute name="accept-charset"> <xsl:value-of select="'UTF-8'"/> </xsl:attribute> <xsl:if test="@default_action != ''"> <xsl:attribute name="default_action"> <xsl:value-of select="@default_action"/> </xsl:attribute> </xsl:if> <xsl:attribute name="target"> <xsl:choose> <xsl:when test="@target != ''"> <xsl:value-of select="@target"/> </xsl:when> <xsl:otherwise>_self</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test="@script != ''"> <xsl:attribute name="onsubmit"> <xsl:value-of select="@script"/> </xsl:attribute> </xsl:if> <xsl:if test="@style != ''"> <xsl:attribute name="style"> <xsl:value-of select="@style"/> </xsl:attribute> </xsl:if> <xsl:apply-templates select="*[name()!='errorbox']"/> <xsl:if test="@focus"> <script type="text/javascript"> document.getElementById("<xsl:value-of select="@name"/>::<xsl:value-of select="@focus"/>").focus(); </script> </xsl:if> </form> </xsl:template> <xsl:template match="noscript"> <noscript> <xsl:apply-templates/> </noscript> </xsl:template> <xsl:template name="fad_counter"> <xsl:variable name="page" select="php:function('web_Session::getCurrentPage')"/> <xsl:variable name="logparam" select="php:function('web_Session::getLogParams')"/> <xsl:if test="php:function('web_Content::addScript','/tools.count.js','text/javascript',1,true())"/> <script> window.onload = function () { if (!(typeof ipc == 'undefined' || ipc == null)) { var ipc_data = { "ref":"<xsl:value-of select="$page"/>", "param":"<xsl:value-of select="$logparam"/>" } ipc.c(ipc_data); } } </script> <noscript> <img src="/tools.count.script?ref={$page}&param={$logparam}" style="visibility:hidden;"/> </noscript> <xsl:if test="not(php:function('web_Session::is_ajax_call'))"> <xsl:call-template name="ivwcode"/> </xsl:if> </xsl:template> <xsl:template match="input"> <xsl:choose> <xsl:when test="@ida='' and (@readonly = 'readonly')"> <xsl:value-of select="@value"/> </xsl:when> <xsl:otherwise> <input> <xsl:copy-of select="@*[name() != 'class' and name() != 'ibs_checked']"/> <xsl:variable name="error" select="ancestor::*[name()='ControlElement']/@error!=''"/> <xsl:if test="@class != '' or $error != ''"> <xsl:attribute name="class"> <xsl:value-of select="@class"/> <xsl:if test="$error != ''"> <xsl:value-of select="' '"/> <xsl:value-of select="'error'"/> </xsl:if> </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="@size"> <xsl:attribute name="size"> <xsl:value-of select="@size"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:if test="@value!='' and string-length(@value) > 20 and @ida='' and (@readonly = 'readonly')"> <xsl:attribute name="size"> <xsl:value-of select="string-length(@value) + 1"/> </xsl:attribute> </xsl:if> </xsl:otherwise> </xsl:choose> <xsl:if test="name() = 'ibs_checked'"> <xsl:attribute name="checked"> <xsl:value-of select="."/> </xsl:attribute> </xsl:if> <xsl:value-of select="."/> </input> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="select"> <select> <xsl:copy-of select="@*[name() != 'class']"/> <xsl:if test="@class != ''"> <xsl:attribute name="class"> <xsl:value-of select="@class"/> <xsl:if test="../@error!=''"> <xsl:if test="@class != ''"> <xsl:value-of select="' '"/> </xsl:if> <xsl:value-of select="'error'"/> </xsl:if> </xsl:attribute> </xsl:if> <xsl:apply-templates select="optgroup|option"/> </select> </xsl:template> <xsl:template match="optgroup"> <optgroup label="{@label}"> <xsl:apply-templates select="option"/> </optgroup> </xsl:template> <xsl:template match="option"> <option> <xsl:for-each select="@*"> <xsl:choose> <!--Kleines Fake da es Probleme mit den Attributen selected und disabled bei DataOptionList gibt--> <xsl:when test="name()='select'"> <xsl:attribute name="selected"> <xsl:value-of select="."/> </xsl:attribute> </xsl:when> <xsl:when test="name()='not_enabled'"> <xsl:attribute name="disabled"> <xsl:value-of select="'true'"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:for-each> <xsl:value-of select="."/> </option> </xsl:template> <xsl:template match="table[@type='ibs_vtable']"> <table class="data_table" cellpadding="0" cellspacing="0"> <xsl:for-each select="@*[name()!='type']"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> <xsl:for-each select="tr"> <xsl:call-template name="RenderVTR"> </xsl:call-template> </xsl:for-each> </table> </xsl:template> <xsl:template match="textarea"> <textarea> <xsl:copy-of select="@*[name() != 'class']"/> <xsl:if test="@class != '' or ../@error != ''"> <xsl:attribute name="class"> <xsl:value-of select="@class"/> <xsl:if test="../@error!=''"> <xsl:if test="@class!=''"> <xsl:value-of select="' '"/> </xsl:if> <xsl:value-of select="'error'"/> </xsl:if> </xsl:attribute> </xsl:if> <xsl:apply-templates/> </textarea> </xsl:template> <!--inveda_cm Framework GUI-Elemente--> <xsl:template match="ControlGroup"> <xsl:if test="node()"> <div class="ControlGroup"> <xsl:if test="Data|ControlElement|ControlButton"> <xsl:if test="Data"> <xsl:apply-templates select="Data"/> </xsl:if> <xsl:if test="translate(@caption,' ','') != '' or Description"> <div class="ControlGroup_description_wrapper"> <xsl:if test="translate(@caption,' ','') != ''"> <h3 class="ControlGroup_caption"> <xsl:value-of select="@caption"/> </h3> </xsl:if> <xsl:if test="Description"> <div class="ControlGroup_description"> <xsl:apply-templates select="Description/node()"/> </div> </xsl:if> </div> </xsl:if> <xsl:if test="ControlElement"> <div class="ControlGroup_content"> <xsl:choose> <xsl:when test="count(ControlElement[@location='right' or @location='left']) > 0"> <xsl:if test="count(ControlElement[@location='left']) > 0"> <div class="ControlGroup_content_left"> <xsl:for-each select="ControlElement[@location='left']"> <xsl:call-template name="ControlElement"> <xsl:with-param name="location" select="@location"/> </xsl:call-template> </xsl:for-each> </div> </xsl:if> <xsl:if test="count(ControlElement[@location='left']) > 0"> <div class="ControlGroup_content_middle"> <xsl:for-each select="ControlElement[not(@location='right' or @location='left')]"> <xsl:call-template name="ControlElement"> <xsl:with-param name="location" select="@location"/> </xsl:call-template> </xsl:for-each> </div> </xsl:if> <div class="ControlGroup_content_right"> <xsl:for-each select="ControlElement[@location='right']"> <xsl:call-template name="ControlElement"> <xsl:with-param name="location" select="@location"/> </xsl:call-template> </xsl:for-each> </div> </xsl:when> <xsl:otherwise> <xsl:for-each select="ControlElement"> <xsl:call-template name="ControlElement"> <xsl:with-param name="location" select="@location"/> </xsl:call-template> </xsl:for-each> </xsl:otherwise> </xsl:choose> </div> </xsl:if> <xsl:if test="@confirm_question!=''"> <div class="ControlGroup_confirm_question"> <xsl:value-of select="@confirm_question"/> </div> </xsl:if> <xsl:if test="count(ControlButton) > 0"> <div class="ControlGroup_buttons_div"> <xsl:attribute name="class"> <xsl:value-of select="'ControlGroup_buttons'"/> <xsl:if test="@gridded = true()"> <xsl:value-of select="' gridded'"/> </xsl:if> </xsl:attribute> <xsl:apply-templates select="ControlButton"/> </div> </xsl:if> </xsl:if> </div> </xsl:if> </xsl:template> <xsl:template match="ControlElement"> <xsl:call-template name="ControlElement"/> </xsl:template> <xsl:template name="ControlElement"> <xsl:param name="location"/> <xsl:if test="node()"> <div> <xsl:attribute name="class"> <xsl:value-of select="concat('form-group ',@control,' ')"/> <xsl:if test="@name != ''"> <xsl:value-of select="concat(' form_',@name)"/> </xsl:if> <xsl:if test="@required or @error!=''"> <xsl:value-of select="' required'"/> </xsl:if> <xsl:if test="@caption = ''"> <xsl:value-of select="' empty'"/> </xsl:if> <xsl:if test="$location != ''"> <xsl:value-of select="concat(' ',$location)"/> </xsl:if> </xsl:attribute> <xsl:choose> <xsl:when test="@type='ida'"> <xsl:apply-templates/> </xsl:when> <xsl:when test="@type='simple'"> <xsl:call-template name="Control"/> </xsl:when> <xsl:when test="@type='extended'"> <xsl:call-template name="Label"> <xsl:with-param name="required" select="@required or @error!=''"/> <xsl:with-param name="css_family" select="'ControlElement'"/> </xsl:call-template> <span class="help_element"> <xsl:choose> <xsl:when test="@help_page != ''"> <xsl:attribute name="class">help_element help_page</xsl:attribute> <a href="{@help_page}" onclick="getHelp('{@help_page}', this, 'control');return false;"> <i class="ii ii-info" alt="Hilfe zu diesem Bedienelement" title="Hilfe zu diesem Bedienelement">help</i> </a> </xsl:when> <xsl:when test="@help_text != ''"> <xsl:attribute name="class">help_element help_text</xsl:attribute> <a id="{@id}_help" href="#{@id}_help" tooltip="{@help_text}">?</a> </xsl:when> <xsl:otherwise> <xsl:value-of select="' '"/> </xsl:otherwise> </xsl:choose> </span> <xsl:call-template name="Control"/> </xsl:when> <xsl:when test="@type='hidden'"> <xsl:attribute name="style"> <xsl:value-of select="'display:none'"/> </xsl:attribute> <xsl:apply-templates/> </xsl:when> </xsl:choose> </div> </xsl:if> </xsl:template> <xsl:template name="Label"> <xsl:param name="required"/> <xsl:param name="css_family"/> <xsl:variable name="css_err"> <xsl:choose> <xsl:when test="@error!=''">_error_</xsl:when> <xsl:otherwise>_</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="css_family_label"> <xsl:value-of select="concat($css_family,$css_err,'label')"/> </xsl:variable> <label for="{@id}"> <xsl:attribute name="class"> <xsl:value-of select="'ControlElement_label'"/> <xsl:if test="@label_position != ''"> <xsl:value-of select="concat(' fad_label_position_',@label_position)"/> </xsl:if> </xsl:attribute> <xsl:if test="@required or $required"> <xsl:attribute name="title"> <xsl:value-of select="'Pflichtfeld'"/> </xsl:attribute> </xsl:if> <xsl:choose> <xsl:when test="translate(@caption,' ','') != ''"> <xsl:value-of select="@caption"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="' '"/> </xsl:otherwise> </xsl:choose> </label> </xsl:template> <xsl:template name="Control"> <xsl:variable name="css_err"> <xsl:choose> <xsl:when test="@error!=''">_error_</xsl:when> <xsl:otherwise>_</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="@icon != '' or @error !='' or @ima_help"> <div class="fad_control"> <xsl:call-template name="render-control"> <xsl:with-param name="icon" select="@icon"/> <xsl:with-param name="error" select="@error"/> <xsl:with-param name="ima_help" select="@ima_help"/> </xsl:call-template> </div> </xsl:when> <xsl:otherwise> <div class="ControlElement_cell"> <xsl:apply-templates/> </div> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="render-control"> <xsl:param name="icon"/> <xsl:param name="error"/> <xsl:param name="ima_help"/> <xsl:if test="$icon != ''"> <img src="/web.images.{$icon}.png" class="label_status"/> </xsl:if> <xsl:choose> <xsl:when test="$error!=''"> <span class="error_control" nowrap="nowrap"> <xsl:apply-templates/> </span> </xsl:when> <xsl:otherwise> <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> <xsl:if test="$error!='' or $ima_help"> <span> <xsl:if test="$error!=''"> <xsl:attribute name="class">error_control error_message</xsl:attribute> <xsl:value-of select="$error"/> </xsl:if> <xsl:if test="$ima_help != ''"> <a href="{$ima_help}" target="inveda_help"> <i class="ii ii-info" alt="Hilfe zu diesem Bedienelement" title="Hilfe zu diesem Bedienelement">help</i> </a> </xsl:if> </span> </xsl:if> </xsl:template> <xsl:template match="ControlButton"> <xsl:apply-templates/> </xsl:template> <xsl:template match="tab_view"> <xsl:call-template name="tab_view"/> </xsl:template> <xsl:template name="tab_view"> <xsl:variable name="js1" select="php:function('web_Content::addScript', '/scripts/tab.js')"/> <div class="tab_box" id="{@id}"> <ul class="tab_nav"> <xsl:for-each select="tab_view_tab"> <li class="tab_item"> <a class="tab_link"> <xsl:value-of select="@caption"/> </a> </li> </xsl:for-each> </ul> <xsl:for-each select="tab_view_tab"> <div class="tab_view"> <xsl:apply-templates/> </div> </xsl:for-each> </div> <script type="text/javascript">setTimeout("tab_init(document.getElementById('{./@id}'), 0);",120);</script> </xsl:template> <xsl:template match="webbox"> <xsl:apply-templates select="php:function('dialog_WebBox::create',exslt:node-set(.))"/> </xsl:template> <xsl:template match="WebBox"> <xsl:call-template name="WebBox"/> </xsl:template> <xsl:template name="WebBox"> <xsl:variable name="link"> <xsl:if test="@link != ''"> <xsl:value-of select="@link"/> <xsl:choose> <xsl:when test="@link_mime = 'none'"/> <xsl:when test="@link_mime != ''"> <xsl:value-of select="concat('.', @link_mime)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'.html'"/> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:variable> <xsl:variable name="link_text" select="@link_text"/> <xsl:variable name="link_target" select="@link_target"/> <div class="webbox"> <xsl:if test="translate(@caption,' ','')"> <div class="WebBox_caption"> <xsl:choose> <xsl:when test="$link != ''"> <a href="{$link}" class="WebBox_caption_link"> <h3 class="WebBox_caption_content"> <xsl:value-of select="@caption"/> </h3> </a> </xsl:when> <xsl:otherwise> <h3 class="WebBox_caption_content"> <xsl:value-of select="@caption"/> </h3> </xsl:otherwise> </xsl:choose> <xsl:if test="@filter='toggle'"> <span class="WebBox_caption_togglefilter"> <a onclick="toggleFilter(this, '{@name}');" id="{concat(@name, '_togglefilter')}"> <i class="ii ii-details_minus" title="Filter ein/ausblenden">Filter ein/ausblenden</i> </a> </span> </xsl:if> <xsl:if test="@help!=''"> <span class="WebBox_caption_help"> <a href="{@help}" target="inveda_help"> <i class="ii ii-info" title="Hilfe">Hilfe</i> </a> </span> </xsl:if> </div> </xsl:if> <xsl:choose> <xsl:when test="form/ControlGroup/Description/@show = 'true' and form/ControlGroup/Description != ''"> <div class="WebBox_description"> <xsl:copy-of select="form/ControlGroup/Description/node()"/> </div> </xsl:when> <xsl:when test="Description != ''"> <!-- Description in Dialogen ohne Controls --> <div class="WebBox_description"> <h3 class="ControlGroup_caption"> <xsl:value-of select="Caption"/> </h3> <xsl:copy-of select="Description/node()"/> </div> </xsl:when> </xsl:choose> <xsl:if test="count(form/*[name()='ControlGroup' or name()='ControlElement']) > 0 or table"> <div class="webbox_cell"> <xsl:apply-templates select="form"/> </div> </xsl:if> <xsl:if test="webboxmenu"> <div class="webbox_menu"> <xsl:apply-templates select="webboxmenu"/> </div> </xsl:if> <xsl:if test="Data"> <div class="webbox_cell"> <xsl:apply-templates select="Data"/> </div> </xsl:if> <xsl:if test="div"> <xsl:apply-templates select="div"/> </xsl:if> </div> <xsl:if test="//errorbox != ''"> <!-- kann direkt in der webbox, oder im form stehen --> <xsl:choose> <xsl:when test="document('arg:/inveda_cm')/inveda_cm/inveda_cm_debug = 'ON'"> <div class="fad_error_box"> <span style="font-weight:bold;color:#900;">Eingabefehler im DSH:</span> <div style="padding:3px 0 0 7px;"> <xsl:copy-of select="//errorbox/developer/node()"/> </div> </div> </xsl:when> <xsl:otherwise> <div class="fad_error_box" style="font-weight:bold;text-align:center"> <xsl:choose> <xsl:when test="string-length(//errorbox/user) > 0"> <xsl:copy-of select="//errorbox/user/node()"/> </xsl:when> <xsl:otherwise>Keine Daten verfügbar</xsl:otherwise> </xsl:choose> </div> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="script"> <script type="text/javascript"> <xsl:value-of select="script" disable-output-escaping="yes"/> </script> </xsl:if> <!-- Toggle Filter erst beim click ausführen und nicht beim Seitenaufruf --> <!--<xsl:if test="@filter='toggle'">--> <!--<script type="text/javascript">--> <!--toggleFilter(document.getElementById('<xsl:value-of select="concat(@name, '_togglefilter')"/>'), '<xsl:value-of select="@name"/>');--> <!--</script>--> <!--</xsl:if>--> </xsl:template> <!--Normaler Text, wird nicht indiziert--> <xsl:template match="text[../content]"> <xsl:apply-templates select="node()|comment()|processing-instruction()"/> </xsl:template> <!--für den rteditor...--> <xsl:template match="actiongroup"> <xsl:variable name="type"> <xsl:choose> <xsl:when test="../../@type!=''"> <xsl:value-of select="../../@type"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'simple'"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test="$type = @type or @type='simple'"> <br/> <table cellpadding="0" cellspacing="2" border="0" height="20" class="webapp_actiongroup" align="left" valign="left" style="float:left;"> <tr> <xsl:for-each select="item"> <td bgColor="#e0e0e0" valign="top" align="center" width="20" onmouseover="mouseOver(this)" onmouseout="mouseOut(this)"> <xsl:element name="{@tag}"> <xsl:for-each select="@*"> <xsl:if test="name()!='tag'"> <xsl:attribute name="{name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:if> </xsl:for-each> <xsl:apply-templates select="*|text"/> </xsl:element> </td> </xsl:for-each> </tr> </table> </xsl:if> </xsl:template> <xsl:template match="rtmenu"> <table class="ControlGroupTable" id="toolbar1" width="100%"> <tr> <td> <xsl:apply-templates select="actiongroup"/> </td> </tr> </table> </xsl:template> <xsl:template match="rteditor"> <xsl:variable name="type" select="@type"/> <script type="text/javascript" language="JavaScript1.2"> type = "<xsl:value-of select="@type"/>"; session = "<xsl:value-of select="$session"/>"; editor_name = "<xsl:value-of select="@editor_name"/>"; archive = "<xsl:value-of select="@archive"/>"; holder_url="<xsl:value-of select="@holder_url"/>"; embedded=true; boxName="<xsl:value-of select="@boxName"/>"; controlName="<xsl:value-of select="@controlName"/>"; holder_preview="?preview=yes"; if(boxName==""){ embedded=false; } width="<xsl:value-of select="@width"/>"; height="<xsl:value-of select="@height"/>"; </script> <script type="text/javascript" language="JavaScript1.2" src="/editor.js.rteditor.js"> //editor</script> <script type="text/javascript" language="JavaScript1.2" src="/editor.js.menu.js"> //menu</script> <script type="text/javascript" language="JavaScript1.2" src="/editor.js.fck_xhtml.js"> //script</script> <xsl:copy-of select="document('ibs:/modules,editor/menu.xml')/menu/style"/> <xsl:variable name="menu" select="document('ibs:/modules,editor/menu.xml')/menu/menu[@type=$type]"/> <ul class="menuBar" style="position:relative;top:10px"> <xsl:for-each select="$menu/item"> <xsl:variable name="pos1" select="position()"/> <xsl:if test="item"> <li> <a class="menuButton" href="javascript:buttonClick(event, 'menu{position()}')" onclick="return buttonClick(event, 'menu{position()}');" onmouseover="buttonMouseover(event, 'menu{position()}');"> <xsl:value-of select="@title"/>   </a> <ul id="menu{position()}" class="menu" onmouseover="menuMouseover(event)"> <xsl:for-each select="item"> <xsl:choose> <xsl:when test="item"> <li> <a class="menuItem" href="/blank.html" onclick="return false;" onmouseover="menuItemMouseover(event, 'menu{$pos1}_{position()}');"> <span class="menuItemText"> <xsl:value-of select="@title"/> </span> <span class="menuItemArrow">▶</span> </a> <ul id="menu{$pos1}_{position()}" class="menu" onmouseover="menuMouseover(event)"> <xsl:for-each select="item"> <li> <a class="menuItem" href="{@link}" onclick="hideMenu(event)"> <span class="menuLinkText"> <xsl:if test="@img"> <img class="menuItemPic" src="{@img}"/> </xsl:if> <xsl:value-of select="@title"/>   </span> </a> </li> </xsl:for-each> </ul> </li> </xsl:when> <xsl:otherwise> <li> <a class="menuItem" href="{@link}"> <span class="menuLinkText"> <xsl:if test="@img"> <img class="menuItemPic" src="{@img}"/> </xsl:if> <xsl:value-of select="@title"/>   </span> </a> </li> </xsl:otherwise> </xsl:choose> </xsl:for-each> </ul> </li> </xsl:if> </xsl:for-each> </ul> <div id="editor" class="tabPanel" style="z-index:0; clear: both"> <xsl:apply-templates select="rtmenu"/> <iframe src="" name="editorWindow" id="editorWindow" class="edit" width="{@width}px" height="{@height}px" marginwidth="5px" marginheight="5px" style="background-color:#FFF;border:1px solid #000;"> <p> Ihr Browser kann leider keine eingebetteten Frames anzeigen. Bitte verwenden Sie das herkömmliche Eingabefeld zum Bearbeiten Ihrer Texte oder verwenden Sie einen aktuellen Browser. </p> </iframe> </div> </xsl:template> <xsl:template match="ibs-webbox"> <xsl:variable name="param"> <xsl:call-template name="xmltotxt"> <xsl:with-param name="xml" select="."/> </xsl:call-template> </xsl:variable> <xsl:variable name="param2" select="string($param)"/> <xsl:apply-templates select="php:function('XSLWebBox',$param2)"/> </xsl:template> <xsl:template name="xmltotxt"> <xsl:param name="xml"/><<xsl:value-of select="name($xml)"/><xsl:for-each select="@*"><xsl:value-of select="concat(' ',name())"/>="<xsl:value-of select="."/>"</xsl:for-each> ><xsl:for-each select="$xml/*"><xsl:call-template name="xmltotxt"><xsl:with-param name="xml" select="."/></xsl:call-template></xsl:for-each><xsl:value-of select="$xml/text()"/></<xsl:value-of select="name($xml)"/>></xsl:template> <xsl:template match="movie"> <xsl:choose> <xsl:when test="@preview='yes'"> <a title="Video abspielen" href="tools.movie.player.html?height={@height}&width={@width}&autostart={@autostart}&src={@src}" onclick="requestWebbox('tools.movie.player.ajax?height={@height}&width={@width}&autostart={@autostart}&src={@src}'); return false;" target="movie"> <xsl:choose> <xsl:when test="@previewpic"> <xsl:variable name="previewpic"> <xsl:choose> <xsl:when test="starts-with(@previewpic,'http')"> <xsl:value-of select="@previewpic"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',document('ibs:/holder_value,domain')/content/@value,'/',@previewpic)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <img src="{$previewpic}"/> </xsl:when> <xsl:otherwise> <img src="tools.movie.movie_thumb.script?file={@src}&archive=user"/> </xsl:otherwise> </xsl:choose> </a> </xsl:when> <xsl:when test="@preview='no'"> <xsl:variable name="src"> <xsl:choose> <xsl:when test="starts-with(@src,'http')"> <xsl:value-of select="@src"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',document('ibs:/holder_value,domain')/content/@value,'/',@src)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="autostart"> <xsl:choose> <xsl:when test="@autostart='true' or @autostart='yes'"> <xsl:value-of select="'true'"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="'false'"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <object type="application/x-shockwave-flash" width="{@width}" height="{@height}" wmode="transparent" data="ibs/mediaplayer.swf?file={$src}&autostart={$autostart}"> <param name="movie" value="ibs/mediaplayer.swf?file={$src}&autostart={$autostart}"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <a title="Video abspielen" href="tools.movie.player.html?height={@height}&width={@width}&autostart={@autostart}&src={@src}" onclick="requestWebbox('tools.movie.player.ajax?height={@height}&width={@width}&autostart={@autostart}&src={@src}'); return false;" target="movie"> <img src="{@preview}"/> </a> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="RenderTimeElement"> <!-- Value in Minuten übergeben --> <xsl:param name="value"/> <xsl:param name="signed" select="'true'"/> <xsl:param name="format" select="'hh:mm'"/><!-- hh:mm oder 0.0 oder 0.00 --> <xsl:param name="title"/> <xsl:if test="$title"> <xsl:attribute name="title"> <xsl:value-of select="$title"/> </xsl:attribute> </xsl:if> <xsl:if test="$signed = 'true' and string(number($value)) != 'NaN' and number($value) < 0">-</xsl:if> <xsl:variable name="num_value" select="number ( $value )"/> <xsl:variable name="sign"> <xsl:choose> <xsl:when test="string(number($value)) != 'NaN' and number($value) < 0">-1</xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="abs_value" select="number ( $sign ) * $num_value"/> <xsl:if test="$format = 'hh:mm'"> <xsl:choose> <xsl:when test="string($abs_value) != 'NaN' and $abs_value != 0"> <xsl:value-of select="concat ( format-number ( floor ( $abs_value div 60 ), '00' ),':', format-number( $abs_value - 60 * floor ( $abs_value div 60 ) ,'00' ) )"/> </xsl:when> <xsl:when test="string($abs_value) != 'NaN' and $abs_value = 0">00:00</xsl:when> <xsl:otherwise>--:--</xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$format = '0.0'"> <xsl:choose> <xsl:when test="string($abs_value) != 'NaN' and $abs_value != 0"> <xsl:value-of select="format-number($abs_value div 60,'#0,0')"/> </xsl:when> <xsl:when test="string($abs_value) != 'NaN' and $abs_value = 0">0,0</xsl:when> <xsl:otherwise>-,-</xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$format = '0.00'"> <xsl:choose> <xsl:when test="string($abs_value) != 'NaN' and $abs_value != 0"> <xsl:value-of select="format-number($abs_value div 60,'#0,00')"/> </xsl:when> <xsl:when test="string($abs_value) != 'NaN' and $abs_value = 0">0,00</xsl:when> <xsl:otherwise>-,--</xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> <!-- remove dialog, because Chrome/Safari handling is a mess --> <xsl:template match="dialog"> <xsl:apply-templates/> </xsl:template> <xsl:template match="answer"> <div class="fad_cms_answer"> <xsl:variable name="right" select="./@right"/> <xsl:for-each select="./p"> <p> <xsl:if test="position()=1"> <input type="checkbox" name="fad_answer" value=""> <xsl:if test="$right='true'"> <xsl:attribute name="checked">checked</xsl:attribute> <xsl:attribute name="onclick">this.checked=true;</xsl:attribute> </xsl:if> <xsl:if test="$right!='true'"> <xsl:attribute name="onclick">this.checked=false;</xsl:attribute> </xsl:if> </input> </xsl:if> <xsl:apply-templates/> </p> </xsl:for-each> </div> </xsl:template> <!-- <xsl:template match="script"> <xsl:if test="@src != ''"> <xsl:variable name="add_Script" select="php:function('web_Content::addScript',string(@src),'text/javascript',number( 600 + position() ))"/> </xsl:if> <xsl:if test="not(@src) or @src = ''"> <xsl:variable name="script_body"> $(function(){ <xsl:for-each select="*|text()"> <xsl:value-of select="string(.)" disable-output-escaping="yes"/> </xsl:for-each> }); </xsl:variable> <xsl:variable name="add_Script" select="php:function('web_Content::addScriptCode',string($script_body),'text/javascript',number( 700 + position() ) )"/> </xsl:if> </xsl:template> --> <!-- ima calculator passthrough --> <xsl:template match="div[@id = 'calculator' and not(@data-src = '')]"> <xsl:copy-of select="."/> </xsl:template> <xsl:template name="ivwcode"> <xsl:if test="$ivwszm_cdata != ''"> <xsl:variable name="szm-code"> <xsl:choose> <xsl:when test="$document/metadata/publishtype"> <xsl:value-of select="concat($document/metadata/publishtype,'-',$document/metadata/schema,'-',$document/metadata/layout/@name,'-',$document/metadata/skin.szm-code)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="php:function('web_Session::getCurrentPage')"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ivwszm" select="document('ibs:/holder_param,ivwszm_id')/content/@value"/> <!--Zenus--> <script type='text/javascript'> IOMm('configure', { st: '<xsl:value-of select="$ivwszm"/>', dn: '<xsl:value-of select="$ivwszm_cdata"/>', ct: '0000810000', mh: 5 }); // Configure IOMm IOMm('pageview', { cp: '<xsl:value-of select="$szm-code"/>' }); // Count pageview </script> <script type='text/javascript' src='https://{$ivwszm_cdata}/iomm/latest/manager/base/es5/bundle.js'></script> </xsl:if> </xsl:template> </xsl:stylesheet>";s:7:"/schema";s:130:"<?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"/>";s:47:"/skin/fad-server/class/web/content/html.lib.xsl";s:130:"<?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"/>";} |
3 | False |
0 | index |
1 | strom |
2 | Object(DOMDocument) O:11:"DOMDocument":0:{} |
0 | index |
1 | html |
2 | strom |
3 | Object(DOMDocument) O:11:"DOMDocument":0:{} |
München ist die einzige deutsche Großstadt, die ankündigte, das ganze Stadtgebiet mit Fernwärme versorgen zu wollen. Das ist an energiepolitischer Innovationskraft nicht zu unterschätzen. Zwar gibt es mittlerweile in Deutschland geschätzt rund 2 Millionen Photovoltaikanlagen. Doch die meisten sind auf dem Land. Die Gründe sind einfach:
Fernwärme-Systeme, die aus dem Boden oder der Luft natürliche Wärme abziehen und dann zum Heizen verwenden, lassen sich in kaum einem städtischen Mehrfamilienhaus installieren.
Wo sollen die Anlagen hin? Ein Berliner Innenhof hat in der Regel Platz für Fahrradständer und Mühltonnen, nicht aber noch für eine Wärmepumpe. Und die Installation nach vorne zum Gehweg schließt sich ebenso aus – aus Platzgründen, wie aus ästhetischen.
Ähnlich schwierig ist es mit Photovoltaik: Wo sollen die Module hin? Im 90-Gradwinkel an die Hauswände bringt nichts, da die Sonne nicht im 90 Grad-Winkel auf der Erde aufschlägt. Außerdem sind städtische Straßen eng und die Morgen- oder Abendsonne schlägt bei den wenigsten Häusern in einem einigermaßen günstigen Winkel über viele Stunden auf.
Bliebe also in Mietshäusern beispielsweise in Köln Kalk, Berlin Prenzlauer Berg, Berlin Charlottenburg oder Hamburg Winterhude meist nur das Dach zur Installation von Solarmodulen oder Solarthermien-Anlagen. Doch Dachflächen sind klein und es können nicht genügend Solarmodule oder Solarpanele installiert werden, um alle Mieter mit Strom oder Warmwasser zu versorgen.
Das heißt: Am Ende sind Solarmodule oder Solarpanele nur eine kleine relativ teure Ergänzung in einem städtischen Mehrfamilienhaus. Gerade die Beheizung muss nach wie vor entweder über Öl oder das deutlich billigere Gas erfolgen. Und auch Solarstrom, der theoretisch über Solarmodule auf Dächern der Mehrfamilienhäuser produziert werden könnte, reicht nun mal nicht für großstädtische Mehrfamilienhäuser.
Egal, wie es einige Politiker öffentlich gerne hin und her reden: Die einzige massentaugliche CO2-neutrale Lösung gerade zur Warmwasseraufbereitung, also für die Heizung, die Küche oder das Duschen, ist Fernwärme. Also Fernwärme, wie es die Stadt München vormacht.
Das heißt: Wer komplette CO2-Neutralität erreichen will als Politiker muss vor seiner eigenen Türe kehren und ein solches Projekt als staatliche Großinvestition in die Infrastruktur angehen und selbst Fernwärmeanlagen aufbauen. Eine Milliarden Investition.
Deshalb ist die bisherige CO2-Steuer ein Abwälzen von Verantwortung auf Bürger. Da kann Umweltministerin Svenja Schulze (SPD) noch so oft davon schwärmen, mit der neuen Kohlendioxid-Steuer würde man den Ausstoß von Treibhausgasen verteuern und so den Klimaschutz verbessern.
Fakt ist: Die CO2-Steuer wird zwar nicht direkt den Bürgern fürs Heizen in Rechnung gestellt, aber den Energieanbietern. Diesen bleibt wiederum gar nichts anderes üblich, als die Mehrkosten für CO2-Ausstoß, also die CO2-Steuer, an ihre Kunden weiterzugegeben.
Und Vermieter werden wiederum sicherlich nicht die Mehrkosten für die Beheizung von Wohnraum privat übernehmen. Das heißt:
Nebenkosten stecken sich aber nicht Vermieter in die Tasche, wie es Berlin gerne im Rahmen seiner drastischen und rechtlich umstrittenen «Mietpreisbremse» suggeriert. Nein:
Nebenkosten sind Kosten für Müllabfuhr, Warm- und Kaltwasser, Schneeschippen, Hausmeister, Licht im Flur und Keller, Feuerschutzversicherung, Grundsteuer, Hausverwaltung und und und. Ein 20-Parteienhaus hat im Jahr leicht über 100.000 Euro Nebenkosten.
Nach Berechnungen des Eigentümerverbandes Haus & Grund würden Mieter und Eigentümer je nach Größe des Objektes mit bis zu 1586 Euro pro Jahr zusätzlich durch die neue C02-Steuer belastet werden.
Eine vierköpfige Familie in einem Einfamilienhaus mit Gasheizung müsse ab 2020 183 Euro für den CO2-Ausstoß zusätzlich bezahlen.
Bei Ölheizungen sieht es anders aus: Öl ist sowieso mit der teuerste Rohstoff zur Warmwassergewinnung. Denn die Zeiten, da Öl billig gerne in großen Tanklastwagen in Privathäusern oder Mehrfamilienhäusern abgenommen wurde, sind seit 30 oder 40 Jahren vorbei.
So wundert nicht, dass eine 4-köpfige Familie, welche das Pech hat, in einem Haus mit einer Ölzentralheizung zu wohnen, künftig 308 Euro pro Jahr mehr bezahlen soll wegen der CO2-Emissionen. Monatlich sind das rund 25 Euro netto.