Foundry is now the default theme for the content center

git-svn-id: https://svn.libreccm.org/ccm/trunk@3086 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-01-17 15:47:50 +00:00
parent 057ffca656
commit baefb94ba5
7 changed files with 60 additions and 3 deletions

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="start.xsl"/>
<xsl:variable name="theme-prefix" select="concat($context-prefix, '/themes/foundry-base')"/>
</xsl:stylesheet>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="start.xsl"/>
<xsl:variable name="theme-prefix" select="concat($context-prefix, '/themes/foundry-base')"/>
</xsl:stylesheet>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="start.xsl"/>
<xsl:variable name="theme-prefix" select="concat($context-prefix, '/themes/foundry-base')"/>
</xsl:stylesheet>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="start.xsl"/>
<xsl:variable name="theme-prefix" select="concat($context-prefix, '/themes/foundry-base')"/>
</xsl:stylesheet>

View File

@ -54,7 +54,7 @@
<xsl:call-template name="foundry:process-template">
<xsl:with-param name="template-file"
select="'default-layout.xml'"/>
<xsl:with-param name="origin" select="internal"/>
<xsl:with-param name="origin" select="'internal'"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
@ -72,9 +72,15 @@
<xsl:function name="foundry:get-current-application">
<xsl:choose>
<xsl:when test="$data-tree/@application">
<xsl:message>
<xsl:value-of select="concat('Found application ', $data-tree/@application)"/>
</xsl:message>
<xsl:sequence select="$data-tree/@application"/>
</xsl:when>
<xsl:otherwise>
<xsl:message>
<xsl:value-of select="'Found no application.'"/>
</xsl:message>
<xsl:sequence select="'none'"/>
</xsl:otherwise>
</xsl:choose>
@ -83,9 +89,15 @@
<xsl:function name="foundry:get-current-application-class">
<xsl:choose>
<xsl:when test="$data-tree/@class">
<xsl:message>
<xsl:value-of select="concat('Found application class ', $data-tree/@class)"/>
</xsl:message>
<xsl:sequence select="$data-tree/@class"/>
</xsl:when>
<xsl:otherwise>
<xsl:message>
<xsl:value-of select="'Found no class.'"/>
</xsl:message>
<xsl:sequence select="'none'"/>
</xsl:otherwise>
</xsl:choose>

View File

@ -85,7 +85,7 @@ waf.workflow.simple.alerts_sender=root@localhost.localdomain
# CORE XML processing configuration parameters
# ##############################################################################
waf.xml.xsl_transformer=xalan
waf.xml.xsl_transformer=saxonhe
waf.xml.activate_full_date_formatter=true
@ -229,7 +229,7 @@ waf.admin.password=123456
waf.admin.password.question=12345
waf.admin.password.answer=6
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/ccm?user\=ccm&password\=ccm47web
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/ccm-aplaws?user\=ccm&password\=ccm47web
waf.runtime.jdbc_pool_size=60
waf.web.server=localhost\:8080

View File

@ -23,6 +23,7 @@ http://::host::/::webapp::/themes/::themedir::/::theme::/start.xsl
# Entry point for new theme only for content center and admin
# ===========================================================
#http://::host::/::webapp::/themes/mandalay/::application::-::url::.xsl
http://::host::/::webapp::/themes/foundry-base/::application::-::url::.xsl