You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2006/06/06 05:04:24 UTC

svn commit: r411977 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core: ./ themes/common/html/

Author: crossley
Date: Mon Jun  5 20:04:23 2006
New Revision: 411977

URL: http://svn.apache.org/viewvc?rev=411977&view=rev
Log:
Resolve div/@id and script/@language validation errors.
Contributed by: Brian Dube
Issue: FOR-894

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/status.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-breadcrumbs.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-fontsize.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-theme-switcher.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main-sub.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-section.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/status.xml?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/status.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/status.xml Mon Jun  5 20:04:23 2006
@@ -15,9 +15,13 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!DOCTYPE status PUBLIC "-//APACHE//DTD Status V1.3//EN"
+ "http://forrest.apache.org/dtd/status-v13.dtd">
 <status>
 
   <developers>
+    <person name="Thorsten Scherler" email="thorsten@apache.org" id="TS"/>
+    <person name="David Crossley" email="crossley@apache.org" id="DC" />
     <person name="Volunteer needed" email="dev@forrest.apache.org" id="open"/>
   </developers>
 
@@ -36,6 +40,9 @@
   <changes>
     <!-- Add new releases here -->
     <release version="0.1" date="unreleased">
+      <action context="code" type="update" dev="DC" due-to="Brian Dube" fixes-bug="FOR-894">
+        Resolve div/@id and script/@language validation errors.
+      </action>
       <action dev="TS" type="add" context="admin"> Initial version of forrest 
         core theme plugin. The contracts and structurer are coming from all 
         former view/dispatcher plugins. </action>
@@ -44,7 +51,7 @@
 
   <todo>
     <actions priority="high">
-      <action context="docs" dev="open">
+      <action type="fix" context="docs" dev="open">
         Create initial index for the core themes.
       </action>
     </actions>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-breadcrumbs.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-breadcrumbs.ft?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-breadcrumbs.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-breadcrumbs.ft Mon Jun  5 20:04:23 2006
@@ -65,7 +65,7 @@
                    &gt; <a href="{$branding-breadcrumbs/trail/link3/@href}"> 
                   <xsl:value-of select="$branding-breadcrumbs/trail/link3/@name"/></a> 
                   </xsl:if>
-                <script type="text/javascript" language="JavaScript" src="{$root}themes/breadcrumbs.js">&#160;</script>
+                <script type="text/javascript" src="{$root}themes/breadcrumbs.js">&#160;</script>
               </div>
 <xsl:comment>+
     | end breadtrail

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-fontsize.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-fontsize.ft?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-fontsize.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-fontsize.ft Mon Jun  5 20:04:23 2006
@@ -28,7 +28,7 @@
 	 	<xsl:stylesheet version="1.1" 
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 			  <xsl:template name="branding-fontsize-head">
-		      <script type="text/javascript" language="javascript" 
+		      <script type="text/javascript"
 			        src="{$root}themes/fontsize.js">&#160;</script>
 			  </xsl:template>
         

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-theme-switcher.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-theme-switcher.ft?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-theme-switcher.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/branding-theme-switcher.ft Mon Jun  5 20:04:23 2006
@@ -67,7 +67,7 @@
           <xsl:param name="branding-theme-switcher-profiler" />
           <xsl:variable name="defaultTheme" select="$branding-theme-switcher-defaultTheme/@defaultTheme"/>
           <xsl:variable name="profilerActivated" select="$branding-theme-switcher-profiler/@activated"/>
-          <script type="text/javascript" language="javascript" 
+          <script type="text/javascript"
               src="{$root}themes/cssStyleSwitcher.js">&#160;</script>
           <script type="text/javascript"> 
               initBrandingThemeSwitcher('<xsl:value-of 

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/helper-render-image.ft Mon Jun  5 20:04:23 2006
@@ -52,7 +52,7 @@
           <xsl:value-of select="$rollover"/>
         </xsl:variable>
         <xsl:if test="$rollover">
-          <script language="javascript" type="text/javascript" > function 
+          <script type="text/javascript" > function 
             swapImage(name,src){ document[name].src=src; } </script>
           <!--tricking the cli to request the overSrc image-->
           <a href="{$overSrc}"><xsl:text> </xsl:text></a>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main-sub.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main-sub.ft?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main-sub.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main-sub.ft Mon Jun  5 20:04:23 2006
@@ -30,10 +30,10 @@
       <xsl:template match="/" >
         <forrest:content>
           <forrest:part>
-            <div id="tabs"> <xsl:comment>+ |start Subtabs new   +</xsl:comment> 
+            <xsl:comment>+ |start Subtabs new   +</xsl:comment> 
              <xsl:copy-of 
               select="navigation/tab/div[@id='nav-main-sub']"/> 
-              <xsl:comment>+ |end Subtabs +</xsl:comment> </div>
+              <xsl:comment>+ |end Subtabs +</xsl:comment>
           </forrest:part>
         </forrest:content>
       </xsl:template>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main.ft?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-main.ft Mon Jun  5 20:04:23 2006
@@ -31,10 +31,10 @@
       <xsl:template match="/" >
         <forrest:content>
           <forrest:part>
-            <div id="tabs"> <xsl:comment>+ |start Tabs new +</xsl:comment> 
+            <xsl:comment>+ |start Tabs new +</xsl:comment> 
              <xsl:copy-of 
               select="navigation/tab/ul[@id='nav-main']"/> 
-              <xsl:comment>+ |end Tabs +</xsl:comment> </div>
+              <xsl:comment>+ |end Tabs +</xsl:comment>
           </forrest:part>
         </forrest:content>
       </xsl:template>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-section.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-section.ft?rev=411977&r1=411976&r2=411977&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-section.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/nav-section.ft Mon Jun  5 20:04:23 2006
@@ -72,8 +72,7 @@
           </forrest:part>
           <xsl:if test="$expanding = 'true'">
             <forrest:part xpath="/html/head">
-              <script type="text/javascript" language="javascript" 
-                src="{$root}themes/menu.js">&#160;</script>
+              <script type="text/javascript" src="{$root}themes/menu.js">&#160;</script>
             </forrest:part>
           </xsl:if>
         </forrest:content>