You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2005/07/25 12:26:53 UTC

svn commit: r224710 - in /cocoon/blocks/portal/trunk/samples/skins: basic/styles/ common/styles/

Author: cziegeler
Date: Mon Jul 25 03:26:47 2005
New Revision: 224710

URL: http://svn.apache.org/viewcvs?rev=224710&view=rev
Log:
Use stylesheets from the forms block instead of own copies

Removed:
    cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-advanced-field-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-calendar-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-field-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-htmlarea-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-page-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-advanced-field-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-calendar-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-field-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-htmlarea-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-page-styling.xsl
Modified:
    cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-styling.xsl
    cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-styling.xsl

Modified: cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-styling.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-styling.xsl?rev=224710&r1=224709&r2=224710&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-styling.xsl (original)
+++ cocoon/blocks/portal/trunk/samples/skins/basic/styles/forms-styling.xsl Mon Jul 25 03:26:47 2005
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!--
-  Copyright 1999-2004 The Apache Software Foundation
+  Copyright 1999-2005 The Apache Software Foundation
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -22,9 +22,12 @@
       | want advanced styling of widgets, change it here!
       | See xsl:include as composition and xsl:import as extension/inheritance.
       +-->
-  <xsl:include href="forms-page-styling.xsl"/>
-  <xsl:include href="forms-advanced-field-styling.xsl"/>
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-page-styling.xsl"/>
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl"/>
 
+  <!-- Location of the resources directory, where JS libs and icons are stored -->
+  <xsl:param name="resources-uri">resources</xsl:param>
+  
   <xsl:template match="head">
     <head>
       <xsl:apply-templates/>

Modified: cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-styling.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-styling.xsl?rev=224710&r1=224709&r2=224710&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-styling.xsl (original)
+++ cocoon/blocks/portal/trunk/samples/skins/common/styles/forms-styling.xsl Mon Jul 25 03:26:47 2005
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!--
-  Copyright 1999-2004 The Apache Software Foundation
+  Copyright 1999-2005 The Apache Software Foundation
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -22,9 +22,12 @@
       | want advanced styling of widgets, change it here!
       | See xsl:include as composition and xsl:import as extension/inheritance.
       +-->
-  <xsl:include href="forms-page-styling.xsl"/>
-  <xsl:include href="forms-advanced-field-styling.xsl"/>
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-page-styling.xsl"/>
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl"/>
 
+  <!-- Location of the resources directory, where JS libs and icons are stored -->
+  <xsl:param name="resources-uri">resources</xsl:param>
+  
   <xsl:template match="head">
     <head>
       <xsl:apply-templates/>