site/main.xml → config/frontend.xml

git-svn-id: http://yolanda.mister-muffin.de/svn@309 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2008-04-17 16:02:43 +00:00
parent 30a1e57a9d
commit 7942bb2067
4 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
<xsl:variable name="site_strings" select="document('../site/main.xml')//strings/string" /> <xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
<xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" /> <xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" />
<!-- kill xml, opensearch is the same everywhere --> <!-- kill xml, opensearch is the same everywhere -->

View file

@ -24,7 +24,7 @@
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
<xsl:variable name="site_strings" select="document('../site/main.xml')//strings/string" /> <xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
<xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" /> <xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" />
<xsl:template match="/"> <xsl:template match="/">

View file

@ -47,7 +47,7 @@
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
<xsl:variable name="site_strings" select="document('../site/main.xml')//strings/string" /> <xsl:variable name="site_strings" select="document('../config/frontend.xml')//strings/string" />
<xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" /> <xsl:variable name="locale_strings" select="document(concat('../locale/', $locale, '.xml'))//strings/string" />
<xsl:variable name="language_strings" select="document('../locale/languages.xml')//languages/lang" /> <xsl:variable name="language_strings" select="document('../locale/languages.xml')//languages/lang" />