Mandalay-YAML Branch auf aktuellen Stand gebracht
git-svn-id: https://svn.libreccm.org/ccm/trunk@2569 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
82d5795afb
commit
d35d482c7a
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright: 2014 Jens Pelzetter
|
||||
|
||||
This file is part of Mandalay.
|
||||
|
||||
Mandalay is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Mandalay is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<translations>
|
||||
<line id="lang">English</line>
|
||||
<line id="version">0.1</line>
|
||||
|
||||
<line id="de">Deutsch</line>
|
||||
<line id="de_DE">Deutsch</line>
|
||||
<line id="en">Englisch</line>
|
||||
<line id="en_GB">Englisch</line>
|
||||
<line id="en_US">Englisch</line>
|
||||
<line id="fr">Französisch</line>
|
||||
<line id="it">Italienisch</line>
|
||||
|
||||
</translations>
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright: 2014 Jens Pelzetter
|
||||
|
||||
This file is part of Mandalay.
|
||||
|
||||
Mandalay is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Mandalay is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<translations>
|
||||
<line id="lang">English</line>
|
||||
<line id="version">0.1</line>
|
||||
|
||||
<line id="de">German</line>
|
||||
<line id="de_DE">German</line>
|
||||
<line id="en">English</line>
|
||||
<line id="en_GB">English</line>
|
||||
<line id="en_US">English</line>
|
||||
<line id="fr">France</line>
|
||||
<line id="it">Italian</line>
|
||||
|
||||
</translations>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<fragmentLayout>
|
||||
|
||||
<showContent>
|
||||
<useImage/>
|
||||
<usePageTitle/>
|
||||
<useLeadText/>
|
||||
<useContent/>
|
||||
</showContent>
|
||||
|
||||
</fragmentLayout>
|
||||
|
|
@ -52,4 +52,7 @@
|
|||
<entrypoint application="none" class="weblog">content-center.xml</entrypoint>
|
||||
|
||||
<entrypoint application="atoz" class="simplePage">content-center.xml</entrypoint>
|
||||
|
||||
<entrypoint application="PortletDataProvider" class="simplePage">PortletDataProvider.xml</entrypoint>
|
||||
|
||||
</settings>
|
||||
|
|
|
|||
|
|
@ -81,17 +81,19 @@ To use the templates definied here follow these steps:
|
|||
<xsl:param name="piwikUrl"/>
|
||||
<xsl:param name="idSite"/>
|
||||
<script type="text/javascript">
|
||||
var pkBaseURL = (("https:" == document.location.protocol) ? "https://<xsl:value-of select="$piwikUrl"/>/" : "http://<xsl:value-of select="$piwikUrl"/>/");
|
||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", <xsl:value-of select="$idSite"/>);
|
||||
if (!window.location.pathname.match("/^/(preview)//")) {
|
||||
piwikTracker.trackPageView();
|
||||
}
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
<xsl:value-of select="concat('var piwikUrl = "', $piwikUrl, '"')" />
|
||||
<xsl:value-of select="concat('var idSite = ', $idSite)" />
|
||||
var _paq = _paq || [];
|
||||
_paq.push(["trackPageView"]);
|
||||
_paq.push(["enableLinkTracking"]);
|
||||
|
||||
(function() {
|
||||
var u=(("https:" == document.location.protocol) ? "https" : "http") + piwikUrl;
|
||||
_paq.push(["setTrackerUrl", u+"piwik.php"]);
|
||||
_paq.push(["setSiteId", idSite]);
|
||||
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
|
||||
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
</xsl:template>
|
||||
|
||||
|
|
|
|||
|
|
@ -365,8 +365,7 @@
|
|||
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>/redirect/?oid=</xsl:text>
|
||||
<xsl:value-of select="./targetItem/@oid" />
|
||||
<xsl:value-of select="concat('/redirect/?oid=', ./targetItem/@oid)" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:call-template name="mandalay:shying">
|
||||
|
|
@ -410,10 +409,7 @@
|
|||
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>
|
||||
/redirect/?oid=
|
||||
</xsl:text>
|
||||
<xsl:value-of select="./targetItem/@oid" />
|
||||
<xsl:value-of select="concat('/redirect/?oid=', ./targetItem/@oid)" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:call-template name="mandalay:shying">
|
||||
|
|
@ -435,8 +431,8 @@
|
|||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a>
|
||||
<xsl:attribute name="href">/redirect/?oid=
|
||||
<xsl:value-of select="./targetItem/@oid" />
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="concat('/redirect/?oid=', ./targetItem/@oid)" />
|
||||
</xsl:attribute>
|
||||
<xsl:call-template name="mandalay:shying">
|
||||
<xsl:with-param name="title">
|
||||
|
|
@ -464,8 +460,7 @@
|
|||
<span class="moreButton">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>/redirect/?oid=</xsl:text>
|
||||
<xsl:value-of select="./targetItem/@oid" />
|
||||
<xsl:value-of select="concat('/redirect/?oid=', ./targetItem/@oid)" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:call-template name="mandalay:getStaticText">
|
||||
|
|
@ -600,10 +595,7 @@
|
|||
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>
|
||||
/redirect/?oid=
|
||||
</xsl:text>
|
||||
<xsl:value-of select="./targetItem/@oid" />
|
||||
<xsl:value-of select="concat('/redirect/?oid=', ./targetItem/@oid)" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:call-template name="mandalay:shying">
|
||||
|
|
@ -647,10 +639,7 @@
|
|||
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>
|
||||
/redirect/?oid=
|
||||
</xsl:text>
|
||||
<xsl:value-of select="./targetItem/@oid" />
|
||||
<xsl:value-of select="concat('/redirect/?oid=', ./targetItem/@oid)" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:call-template name="mandalay:shying">
|
||||
|
|
@ -693,8 +682,7 @@
|
|||
<span class="moreButton">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>/redirect/?oid=</xsl:text>
|
||||
<xsl:value-of select="./targetItem/@oid"/>
|
||||
<xsl:value-of select="concat('/redirect/?oid=', ./targetItem/@oid)"/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
<xsl:call-template name="mandalay:getStaticText">
|
||||
|
|
|
|||
Loading…
Reference in New Issue