You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by fe...@apache.org on 2007/05/15 13:47:16 UTC
svn commit: r538141 - in
/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system:
error2html.xslt exception2html.xslt status2html.xslt
Author: felixk
Date: Tue May 15 04:47:15 2007
New Revision: 538141
URL: http://svn.apache.org/viewvc?view=rev&rev=538141
Log:
some more cleanups and fixes for links
Modified:
cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/error2html.xslt
cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/exception2html.xslt
cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/status2html.xslt
Modified: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/error2html.xslt
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/error2html.xslt?view=diff&rev=538141&r1=538140&r2=538141
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/error2html.xslt (original)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/error2html.xslt Tue May 15 04:47:15 2007
@@ -22,8 +22,6 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:error="http://apache.org/cocoon/error/2.1">
- <xsl:param name="contextPath"/>
-
<!-- let sitemap override default page title -->
<xsl:param name="pageTitle" select="//error:notify/error:title"/>
@@ -33,7 +31,7 @@
<title>
<xsl:value-of select="$pageTitle"/>
</title>
- <link href="{$contextPath}/styles/main.css" type="text/css" rel="stylesheet"/>
+ <link href="servlet:/styles/main.css" type="text/css" rel="stylesheet"/>
<style>
h1 { color: #336699; text-align: left; margin: 0px 0px 30px 0px; padding: 0px; border-width: 0px 0px 1px 0px; border-style: solid; border-color: #336699;}
p.message { padding: 10px 30px 10px 30px; font-weight: bold; font-size: 130%; border-width: 1px; border-style: dashed; border-color: #336699; }
@@ -41,7 +39,7 @@
p.topped { padding-top: 10px; border-width: 1px 0px 0px 0px; border-style: solid; border-color: #336699; }
pre { font-size: 120%; }
</style>
- <script src="{$contextPath}/scripts/main.js" type="text/javascript"/>
+ <script src="servlet:/scripts/main.js" type="text/javascript"/>
</head>
<body>
<xsl:apply-templates select="." mode="onload"/>
Modified: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/exception2html.xslt
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/exception2html.xslt?view=diff&rev=538141&r1=538140&r2=538141
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/exception2html.xslt (original)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/exception2html.xslt Tue May 15 04:47:15 2007
@@ -22,7 +22,6 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ex="http://apache.org/cocoon/exception/1.0">
- <xsl:param name="contextPath"/>
<xsl:param name="realPath"/>
<!-- let sitemap override default page title -->
@@ -34,7 +33,7 @@
<title>
<xsl:value-of select="$pageTitle"/>
</title>
- <link href="{$contextPath}/styles/main.css" type="text/css" rel="stylesheet"/>
+ <link href="servlet:/styles/main.css" type="text/css" rel="stylesheet"/>
<style>
h1 { font-size: 200%; color: #336699; text-align: left; margin: 0px 0px 30px 0px; padding: 0px; border-width: 0px 0px 1px 0px; border-style: solid; border-color: #336699;}
p.message { padding: 10px 30px 10px 30px; font-weight: bold; font-size: 110%; border-width: 1px; border-style: dashed; border-color: #336699; }
@@ -45,7 +44,7 @@
table { border-collapse: collapse; margin-top: 0.3em; }
td { padding: 0.1em; }
</style>
- <script src="{$contextPath}/scripts/main.js" type="text/javascript"> </script>
+ <script src="servlet:/scripts/main.js" type="text/javascript"> </script>
</head>
<body>
<xsl:attribute name="onload">
Modified: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/status2html.xslt
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/status2html.xslt?view=diff&rev=538141&r1=538140&r2=538141
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/status2html.xslt (original)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/stylesheets/system/status2html.xslt Tue May 15 04:47:15 2007
@@ -28,14 +28,12 @@
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes="xalan">
- <xsl:param name="contextPath"/>
-
<xsl:template match="status:statusinfo">
<html>
<head>
<title>Cocoon Status [<xsl:value-of select="@status:host"/>]</title>
- <link href="{$contextPath}/styles/main.css" type="text/css" rel="stylesheet"/>
- <script src="{$contextPath}/scripts/main.js" type="text/javascript"/>
+ <link href="servlet:/styles/main.css" type="text/css" rel="stylesheet"/>
+ <script src="servlet:/scripts/main.js" type="text/javascript"/>
</head>
<body>