forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject svn commit: rev 37485 - in forrest/trunk/src/core/context/skins/plain-dev: . css images scripts xslt/fo xslt/html
Date Fri, 03 Sep 2004 15:46:41 GMT
Author: nicolaken
Date: Fri Sep  3 08:46:40 2004
New Revision: 37485

Removed:
   forrest/trunk/src/core/context/skins/plain-dev/css/
   forrest/trunk/src/core/context/skins/plain-dev/images/
   forrest/trunk/src/core/context/skins/plain-dev/scripts/
   forrest/trunk/src/core/context/skins/plain-dev/skinconf.xsl
   forrest/trunk/src/core/context/skins/plain-dev/xslt/fo/
Modified:
   forrest/trunk/src/core/context/skins/plain-dev/xslt/html/book2menu.xsl
   forrest/trunk/src/core/context/skins/plain-dev/xslt/html/document2html.xsl
   forrest/trunk/src/core/context/skins/plain-dev/xslt/html/site2xhtml.xsl
   forrest/trunk/src/core/context/skins/plain-dev/xslt/html/tab2menu.xsl
Log:
Delete all unused things.

Modified: forrest/trunk/src/core/context/skins/plain-dev/xslt/html/book2menu.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/plain-dev/xslt/html/book2menu.xsl	(original)
+++ forrest/trunk/src/core/context/skins/plain-dev/xslt/html/book2menu.xsl	Fri Sep  3 08:46:40
2004
@@ -15,50 +15,9 @@
   limitations under the License.
 -->
 <!--
-book2menu.xsl generates the HTML menu.  See the imported book2menu.xsl for
-details.
-
+See the imported book2menu.xsl for details.
 -->
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
   <xsl:import href="../../../common/xslt/html/book2menu.xsl"/>
-         
-  <xsl:template match="book">
-    <div class="menu">
-        <div class="body">
-          <xsl:apply-templates select="menu"/>
-        </div>
-    </div>
-    
-    <div class="strut">&#160;</div>
-  </xsl:template>
-
-  <xsl:template match="menu">
-    <div>
-      <a href="{@href}"><xsl:value-of select="@label"/></a>
-      <xsl:apply-templates/>
-    </div>
-  </xsl:template>
-
-  <xsl:template match="menu-item[@type='hidden']"/>
-
-  <xsl:template match="menu-item">
-    <div>
-      <a href="{@href}"><xsl:value-of select="@label"/></a>
-      <xsl:apply-templates/>
-    </div>
-  </xsl:template>
-  
-  <xsl:template name="selected">
-    <div class="selfref">
-      <xsl:value-of select="@label"/>
-      <xsl:apply-templates/>
-    </div>
-  </xsl:template>
-
-  <xsl:template name="print-external">
-      <xsl:apply-imports/>
-  </xsl:template>
-  
-</xsl:stylesheet>
+</xsl:stylesheet>
\ No newline at end of file

Modified: forrest/trunk/src/core/context/skins/plain-dev/xslt/html/document2html.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/plain-dev/xslt/html/document2html.xsl	(original)
+++ forrest/trunk/src/core/context/skins/plain-dev/xslt/html/document2html.xsl	Fri Sep  3
08:46:40 2004
@@ -32,58 +32,22 @@
   
   <xsl:template match="document">
     <div class="content">
-     <div id="topmodule" align="right">
-      <table border="0" cellspacing="0" cellpadding="3" width="100%">
-       <!-- ( ================= middle NavBar ================== ) -->
-        <tr>
-        <td class="tasknav" >
-          <div align="left">
-           <!-- 
-                site2html.xsl will search for this as 
-                   
-                   td[@class='tasknav']/div[@align='left']
-
-                to insert the breadcrumbs.   
-          -->
-          </div>
-        </td>
-        <td id="issueid" class="tasknav">
-        <div align="right">
-          <div id="skinconf-printlink"/>
-          <xsl:if test="$dynamic-page='false'">
-            <div id="skinconf-podlink"/>
-            <div id="skinconf-txtlink"/>
-            <div id="skinconf-pdflink"/>
-            <div id="skinconf-xmllink"/>
-          </xsl:if>
-        </div>
-        </td>
-       </tr>
-      </table>
-     </div>
-     
-    <!-- ( ================= Content================== ) -->
-    <div id="bodycol">
       <xsl:if test="normalize-space(header/title)!=''">
-        <div id="apphead">
-         <h2><em><xsl:value-of select="header/title"/></em></h2>
-        </div>
+         <h2><xsl:value-of select="header/title"/></h2>
       </xsl:if>
       <xsl:if test="normalize-space(header/subtitle)!=''">
-        <h3><em><xsl:value-of select="header/subtitle"/></em></h3>
+        <h3><xsl:value-of select="header/subtitle"/></h3>
       </xsl:if>
       <xsl:if test="header/abstract">
-        <div class="abstract">
+        <p class="abstract">
           <xsl:value-of select="header/abstract"/>
-        </div>
+        </p>
       </xsl:if>
 
-      <div id="projecthome" class="app">
         <xsl:apply-templates select="body"/>
 
        <xsl:if test="header/authors">
-        <p align="right">
-          <font size="-2">
+        <p class="authors">
             <xsl:for-each select="header/authors/person">
               <xsl:choose>
                 <xsl:when test="position()=1">by&#160;</xsl:when>
@@ -91,16 +55,12 @@
               </xsl:choose>
               <xsl:value-of select="@name"/>
             </xsl:for-each>
-          </font>
         </p>
       </xsl:if>
-       </div>
-      </div>
-    </div>
+    </div>  
   </xsl:template>
 
   <xsl:template match="body">
-    <div id="skinconf-toc-page"/>
     <xsl:apply-templates/>
   </xsl:template>
 
@@ -128,32 +88,22 @@
 
     <xsl:choose>
       <xsl:when test="$level=1">
-       <div class="h3">
         <h3><xsl:value-of select="title"/></h3>
         <xsl:apply-templates/>
-      </div>  
       </xsl:when>
       <xsl:when test="$level=2">
-       <div class="h4">
         <h4><xsl:value-of select="title"/></h4>
         <xsl:apply-templates select="*[not(self::title)]"/>
-      </div>  
-
       </xsl:when>
       <!-- If a faq, answer sections will be level 3 (1=Q/A, 2=part) -->
       <xsl:when test="$level=3 and $notoc='true'">
         <h4 class="faq"><xsl:value-of select="title"/></h4>
-        <div align="right"><a href="#{@id}-menu">^</a></div>
-        <div style="margin-left: 15px">
-          <xsl:apply-templates select="*[not(self::title)]"/>
-        </div>
+        <xsl:apply-templates select="*[not(self::title)]"/>
       </xsl:when>
       <xsl:when test="$level=3">
         <h4><xsl:value-of select="title"/></h4>
         <xsl:apply-templates select="*[not(self::title)]"/>
-
       </xsl:when>
-
       <xsl:otherwise>
         <h5><xsl:value-of select="title"/></h5>
         <xsl:apply-templates select="*[not(self::title)]"/>
@@ -163,22 +113,19 @@
   </xsl:template>  
 
   <xsl:template match="fixme">
-    <div class="warningmessage">
-      <p><strong>Fixme (<xsl:value-of select="@author"/>)</strong></p>
+    <div class="fixme"><xsl:value-of select="@author"/>:
       <xsl:apply-templates/>
     </div>
   </xsl:template>
   
   <xsl:template match="note">
-    <div class="infomessage">
-      <p><strong>Note</strong></p>
+    <div class="note">
       <xsl:apply-templates/>
     </div>
   </xsl:template>
   
   <xsl:template match="warning">
-    <div class="errormessage">
-      <p><strong>Warning</strong></p>
+    <div class="warning">
       <xsl:apply-templates/>
     </div>
   </xsl:template>
@@ -220,13 +167,12 @@
   </xsl:template>
   
   <xsl:template match="table">
-   <div class="h4">
     <xsl:apply-templates select="@id"/>
     <xsl:if test="caption">
         <h4><xsl:value-of select="caption"/></h4>
     </xsl:if> 
     <xsl:apply-templates select="caption"/>
-      <table border="1" cellspacing="2" cellpadding="3" width="100%" class="grid">
+      <table border="1" cellspacing="2" cellpadding="3" width="100%">
         <xsl:if test="@cellspacing"><xsl:attribute name="cellspacing"><xsl:value-of
select="@cellspacing"/></xsl:attribute></xsl:if>
         <xsl:if test="@cellpadding"><xsl:attribute name="cellpadding"><xsl:value-of
select="@cellpadding"/></xsl:attribute></xsl:if>
         <xsl:if test="@border"><xsl:attribute name="border"><xsl:value-of
select="@border"/></xsl:attribute></xsl:if>
@@ -235,7 +181,6 @@
       
         <xsl:apply-templates/>
     </table>
-   </div>    
   </xsl:template>
 
   <xsl:template match="caption">

Modified: forrest/trunk/src/core/context/skins/plain-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/plain-dev/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/plain-dev/xslt/html/site2xhtml.xsl	Fri Sep  3 08:46:40
2004
@@ -14,24 +14,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!--
-site2xhtml.xsl is the final stage in HTML page production.  It merges HTML from
-document2html.xsl, tab2menu.xsl and book2menu.xsl, and adds the site header,
-footer, searchbar, css etc.  As input, it takes XML of the form:
-
-<site>
-  <? class="menu">
-    ...
-  </?>
-  <? class="tab">
-    ...
-  </?>
-  <? class="content">
-    ...
-  </?>
-</site>
-
--->
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
@@ -39,429 +21,13 @@
   
   <xsl:template match="site">
     <html>
-      <head>
-        <xsl:call-template name="html-meta"/>
-        <style type="text/css">
-          /* <![CDATA[ */ 
-          @import "]]><xsl:value-of select="$root"/><![CDATA[skin/tigris.css";
 
-          @import "]]><xsl:value-of select="$root"/><![CDATA[skin/quirks.css";

-          @import "]]><xsl:value-of select="$root"/><![CDATA[skin/inst.css";

-         /*  ]]> */
-        </style>
-        <link rel="stylesheet" type="text/css" href="{$root}skin/print.css" media="print"
/>
-        <link rel="stylesheet" type="text/css" href="{$root}skin/forrest.css" />
-        <xsl:if test="$config/favicon-url">
-          <link rel="shortcut icon">
-            <xsl:attribute name="href">
-              <xsl:value-of select="concat($root,$config/favicon-url)"/>
-            </xsl:attribute>
-          </link>
-        </xsl:if>
-        <script src="{$root}skin/tigris.js" type="text/javascript"></script>
-        <script type="text/javascript" language="javascript" src="{$root}skin/menu.js"></script>
-        <title><xsl:value-of select="div[@class='content']//div[@id='apphead']/h2/em"/></title>
-        <meta http-equiv="Content-style-type" content="text/css" />
-      </head>
-      <body onload="focus()" class="composite">
-
-        <!--
-          +=========================+
-          |       topstrip          |
-          +=========================+
-          |                         |
-          |       centerstrip       |
-          |                         |
-          |                         |
-          +=========================+
-          |       bottomstrip       |
-          +=========================+
-        -->
-        
-        <xsl:call-template name = "topstrip" />
-
-        <xsl:call-template name="centerstrip"/>
-
-        <xsl:call-template name="bottomstrip"/>
-        
+      <body>
+        <!-- include ssi top --> 
+        <xsl:apply-templates select="div[@class='content']"/>
+        <!-- include ssi bottom --> 
       </body>
     </html>
   </xsl:template>
-
-  <xsl:template name="topstrip">
-    <!--   
-        +======================================================+
-        |+============+    +==============+    | search box |  |
-        || group logo |    | project logo |    +============+  |
-        |+============+    +==============+                    |
-        +======================================================+
-        ||tab|tab|tab|                                         |
-        +======================================================+
-        ||subtab|subtab|subtab|                  publish date  |
-        +======================================================+        
-    -->    
-    <div id="banner">   
-      <table border="0" cellspacing="0" cellpadding="8" width="100%">
-       <tr>
-       <!-- ( ================= Group Logo ================== ) -->
-        <td align="left" >
-          <xsl:if test="$config/group-url">
-            <div><!--<div id="cn">-->
-            <xsl:call-template name="renderlogo">
-              <xsl:with-param name="name" select="$config/group-name"/>
-              <xsl:with-param name="url" select="$config/group-url"/>
-              <xsl:with-param name="logo" select="$config/group-logo"/>
-              <xsl:with-param name="root" select="$root"/>
-            </xsl:call-template>
-            </div>
-            <span class="alt"><xsl:value-of select="$config/group-name"/></span>
-          </xsl:if>
-        </td>
-               
-
-        <!-- ( ================= Project Logo ================== ) -->
-        <td align="center" >
-         <xsl:if test="$config/project-url">
-           <div><!--<div id="sc">-->
-            <xsl:call-template name="renderlogo">
-              <xsl:with-param name="name" select="$config/project-name"/>
-              <xsl:with-param name="url" select="$config/project-url"/>
-              <xsl:with-param name="logo" select="$config/project-logo"/>
-              <xsl:with-param name="root" select="$root"/>
-            </xsl:call-template>
-          </div>
-          </xsl:if>        </td>
-        
-        <!-- ( =================  Search ================== ) -->        
-	  <td align="right" valign="top">
-	    <xsl:if test="$config/search and not($config/search/@box-location = 'alt')">
-	      <div id="login" align="right" class="right">
-		<xsl:choose>
-		  <xsl:when test="$config/search/@provider = 'lucene'">
-		    <form method="get" action="{$root}{$lucene-search}">
-		      Search
-		      the <xsl:value-of select="$config/search/@name"/> site
-		      for 
-		      <input type="text" id="query" name="queryString" size="15"/> 
-		      <input type="submit" value="Go" name="Search"/>
-		    </form>
-		  </xsl:when>
-		  <xsl:otherwise>
-		    <form method="get" action="http://www.google.com/search" target="_blank">
-		      <select name="as_sitesearch">
-			<option value="">Search...</option>
-			
-			<option value="{$config/search/@domain}">The <xsl:value-of select="$config/search/@name"/>
site</option>
-			<option value="">The web</option>
-		      </select> for 
-		      <input type="text" id="query" name="as_q" size="15"/> 
-		      <input type="submit" value="Go" name="Search"/>
-		    </form>
-		  </xsl:otherwise>
-		</xsl:choose>
-	      </div>
-	    </xsl:if>
-	  </td>       
-       </tr>   
-      </table>  
-     </div>
-
-      <!-- ( ================= Tabs ================== ) -->
-      <xsl:apply-templates select="div[@class='tabs']"/>
-
-      <table id="breadcrumbs" cellspacing="0" cellpadding="0" border="0" width="100%">
-        <tr>
-          <td>
-            <xsl:apply-templates select="div[@class='level2tab']"/>
-          </td> 
-          <td>
-            <div align="right">
-              <script language="JavaScript" type="text/javascript"><![CDATA[<!--
-                 document.write("Published: " + document.lastModified);
-                 //  -->]]></script>
-            </div>
-          </td>
-        </tr>
-      </table>        
-      
-  </xsl:template>
-  
-  <xsl:template match="td[@class='tasknav']/div[@align='left']" >
-    <xsl:call-template name="breadcrumbs"/>
-  </xsl:template>
-  
-  <!-- Generates the PDF link -->
-  <xsl:template match="div[@id='skinconf-pdflink']">
-    <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'"> 
-      <a href="{$filename-noext}.pdf"><img border="0" src="{$skin-img-dir}/pdfdoc.gif"
alt="PDF"/> PDF</a>
-    </xsl:if>
-  </xsl:template>
-  
-  <!-- Generates the XML link -->
-  <xsl:template match="div[@id='skinconf-xmllink']">
-    <xsl:if test="$disable-xml-link = 'false'">
-      <a href="{$filename-noext}.xml"><img border="0" src="{$skin-img-dir}/xmldoc.gif"
alt="xml"/> xml</a>
-    </xsl:if>
-  </xsl:template>
-  
-  <!-- Generates the "printer friendly version" link -->
-  <xsl:template match="div[@id='skinconf-printlink']">
-    <xsl:if test="$disable-print-link = 'false'"> 
-<script type="text/javascript" language="Javascript">
-function printit() {  
-if (window.print) {
-    window.print() ;  
-} else {
-    var WebBrowser = '&lt;OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">&lt;/OBJECT>';
-document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
-    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML
= "";  
-}
-}
-</script>
-
-<script type="text/javascript" language="Javascript">
-var NS = (navigator.appName == "Netscape");
-var VERSION = parseInt(navigator.appVersion);
-if (VERSION > 3) {
-    document.write('  <a href="javascript:printit()">');
-    document.write('    <img border="0"  src="{$skin-img-dir}/printer.gif" alt="Print
this Page"/>');
-    document.write('  print</a>');
-}
-</script>
-
-    </xsl:if>
-  </xsl:template>
-  
-  <xsl:template name="centerstrip" >
-   <!--
-     +=========+======================+
-     |         |                      |
-     |         |                      |
-     |         |                      |
-     |         |                      |
-     |  menu   |   mainarea           |
-     |         |                      |
-     |         |                      |
-     |         |                      |
-     |         |                      |
-     +=========+======================+
-    -->
-    <table border="0" cellspacing="0" cellpadding="4" width="100%" id="main">
-      <tr valign="top">
-        <!-- ( =================  Menu  ================== ) -->
-        <td id="leftcol" width="20%">
-          <!-- If we have any menu items, draw a menu -->
-          <xsl:if test="div[@class='menu']">
-            <xsl:call-template name="menu"/>
-          </xsl:if>
-          <div class="strut">&#160;</div>
-        </td>
-        <!-- ( =================  Main Area  ================== ) -->
-        <!--<td valign="top" width="100%">-->
-        <td>
-           <xsl:call-template name="mainarea"/>
-        </td>
-      </tr>
-    </table>
-  </xsl:template>
-
-  <xsl:template name="menu">
-    <div id="navcolumn">
-    <!--
-    projecttools
-    admfun
-    searchbox
-    helptext
-    -->
-    <!-- ( ================= start Menu items ================== ) -->
-    <div id="projecttools" class="toolgroup">
-      <div class="label">
-        <strong>Section</strong>
-      </div>
-      <xsl:apply-templates select="div[@class='menu']"/>
-      
-      <xsl:if test="$config/toc/@max-depth&gt;0 and contains($minitoc-location,'menu')">
-        <xsl:if test="//tocitems/tocitem">
-          <div class="label">
-             <strong>Page</strong>
-          </div>
-          <div class="body">
-            <!-- Only show first level sections here -->
-            <xsl:for-each select = "//tocitems/tocitem[@level=1]">
-              <div>
-                <xsl:choose>
-                  <xsl:when test="string-length(@title)>15">
-                    <a href="{@href}" title="{@title}"><xsl:value-of select="substring(@title,0,20)"
/>...</a>
-                  </xsl:when>
-                  <xsl:otherwise>
-                    <a href="{@href}"><xsl:value-of select="@title" /></a>
-                  </xsl:otherwise>
-                </xsl:choose>
-              </div>
-            </xsl:for-each>
-          </div>     
-        </xsl:if>
-      </xsl:if>
-    </div>
-
-    <!-- ( ================= end Menu items ================== ) -->
-
-    <!-- ( =================  Search ================== ) -->       
-      <xsl:if test="$config/search and ($config/search/@box-location = 'alt' or $config/search/@box-location
= 'all')">
-	<xsl:choose>
-	  <!-- Lucene search -->
-	  <xsl:when test="$config/search/@provider = 'lucene'">
-	    <form action="{$root}{$lucene-search}" method="get">
-	      <div id="searchbox" class="toolgroup">
-		<div class="label"><strong>Search</strong></div>
-		<div class="body">
-		  <div>
-		    <xsl:value-of select="$config/search/@name"/>
-		  </div>
-		  <div>
-		    <input type="text" id="query" name="queryString" size="12" /> 
-		    <input type="submit" value="Go" name="Go" />
-		  </div>
-		</div>   
-	      </div>
-	    </form>
-	  </xsl:when>
-	  <xsl:otherwise>
-	    <!-- Google search -->
-	    <form action="http://www.google.com/search" method="get" target="_blank">
-	      <div id="searchbox" class="toolgroup">
-		<div class="label"><strong>Search</strong></div>
-		<div class="body">
-		  <div>
-		    <select name="as_sitesearch">
-		      <option value="{$config/search/@domain}" selected="selected"><xsl:value-of
select="$config/search/@name"/></option>
-		      <option value="" >the web</option>
-		    </select>
-		  </div>
-		  <div>
-		    <input type="text" id="query" name="as_q" size="12" /> 
-		    <input type="submit" value="Go" name="Go" />
-		  </div>
-		</div>   
-	      </div>
-	    </form>
-	  </xsl:otherwise>
-	</xsl:choose>
-      </xsl:if>
-
-    
- 	<xsl:if test="$filename = 'index.html' and $config/credits">
-      <div id="admfun" class="toolgroup">
-        <div class="label">
-         <strong>Credits</strong>
-        </div>
-        <div class="body">
-
-        
-    <table>
-		        <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
-		          <xsl:variable name="name" select="name"/>
-		          <xsl:variable name="url" select="url"/>
-		          <xsl:variable name="image" select="image"/>
-		          <xsl:variable name="width" select="width"/>
-		          <xsl:variable name="height" select="height"/>
-		          <tr> 
-		            <td></td>
-		            <td colspan="4" height="5" class="logos">
-		              <a href="{$url}">
-		                <img alt="{$name} logo" border="0">
-		                  <xsl:attribute name="src">
-		                    <xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of
select="$root"/></xsl:if>
-		                    <xsl:value-of select="$image"/>
-		                  </xsl:attribute>
-		                  <xsl:if test="$width"><xsl:attribute name="width"><xsl:value-of
select="$width"/></xsl:attribute></xsl:if>
-		                  <xsl:if test="$height"><xsl:attribute name="height"><xsl:value-of
select="$height"/></xsl:attribute></xsl:if>
-		                </img>
-		              </a>
-		            </td>
-		          </tr> 
-		        </xsl:for-each>
-            </table>         
-        </div>
-      </div>
-    </xsl:if>      
-  </div>
-
-  </xsl:template>
  
-  <xsl:template name="mainarea">
-      <xsl:apply-templates select="div[@class='content']"/>
-  </xsl:template>
-  
-  <xsl:template name="bottomstrip">
-    <!-- ( ================= start Footer ================== ) -->
-  <div id="footer">
-   <table border="0" cellspacing="0" cellpadding="4">
-    <tr>
-     <td><xsl:if test="$config/host-logo and not($config/host-logo = '')">
-            <xsl:call-template name="renderlogo">
-              <xsl:with-param name="name" select="$config/host-name"/>
-              <xsl:with-param name="url" select="$config/host-url"/>
-              <xsl:with-param name="logo" select="$config/host-logo"/>
-              <xsl:with-param name="root" select="$root"/>
-            </xsl:call-template>
-        </xsl:if></td>
-     <td>
-      <xsl:choose>
-        <xsl:when test="$config/copyright-link">
-          <a>
-            <xsl:attribute name="href">
-              <xsl:value-of select="$config/copyright-link"/>
-            </xsl:attribute>
-          Copyright &#169; <xsl:value-of select="$config/year"/>&#160;
-          <xsl:value-of select="$config/vendor"/>
-          </a>
-        </xsl:when>
-        <xsl:otherwise>
-          Copyright &#169; <xsl:value-of select="$config/year"/>&#160;
-          <xsl:value-of select="$config/vendor"/>
-        </xsl:otherwise>
-      </xsl:choose>
-      All rights reserved.
-            <br/><script language="JavaScript" type="text/javascript"><![CDATA[<!--
-              document.write(" - "+"Last Published: " + document.lastModified);
-              //  -->]]></script>
-      <xsl:if test="$config/feedback">
-        <xsl:call-template name="feedback"/>
-      </xsl:if>
-     </td>
-    <td align="right" nowrap="nowrap">
-          <xsl:call-template name="compliancy-logos"/>
-          <xsl:call-template name="bottom-credit-icons"/>              
-    </td>
-    </tr>
-   </table>
-  </div>
-   <!-- ( ================= end Footer ================== ) -->
-  </xsl:template>
-    
-  <xsl:template name="bottom-credit-icons">
-      <!-- old place where to put credits icons-->
-      <!--
-      <xsl:if test="$filename = 'index.html' and $config/credits">
-        <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
-          <xsl:variable name="name" select="name"/>
-          <xsl:variable name="url" select="url"/>
-          <xsl:variable name="image" select="image"/>
-          <xsl:variable name="width" select="width"/>
-          <xsl:variable name="height" select="height"/>
-          <a href="{$url}">
-            <img alt="{$name} logo" border="0">
-              <xsl:attribute name="src">
-                <xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of
select="$root"/></xsl:if>
-                <xsl:value-of select="$image"/>
-              </xsl:attribute>
-              <xsl:if test="$width"><xsl:attribute name="width"><xsl:value-of
select="$width"/></xsl:attribute></xsl:if>
-              <xsl:if test="$height"><xsl:attribute name="height"><xsl:value-of
select="$height"/></xsl:attribute></xsl:if>
-            </img>
-          </a>
-        </xsl:for-each>
-      </xsl:if>
-      -->
-  </xsl:template>
-
+ 
 </xsl:stylesheet>

Modified: forrest/trunk/src/core/context/skins/plain-dev/xslt/html/tab2menu.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/plain-dev/xslt/html/tab2menu.xsl	(original)
+++ forrest/trunk/src/core/context/skins/plain-dev/xslt/html/tab2menu.xsl	Fri Sep  3 08:46:40
2004
@@ -14,82 +14,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!--
-This stylesheet generates 'tabs' at the top left of the Forrest skin.  Tabs are
-visual indicators that a certain subsection of the URI space is being browsed.
-For example, if we had tabs with paths:
-
-Tab1:  ''
-Tab2:  'community'
-Tab3:  'community/howto'
-Tab4:  'community/howto/xmlform/index.html'
-
-Then if the current path was 'community/howto/foo', Tab3 would be highlighted.
-The rule is: the tab with the longest path that forms a prefix of the current
-path is enabled.
-
-The output of this stylesheet is HTML of the form:
-    <div class="tab">
-      ...
-    </div>
-
-which is then merged by site2xhtml.xsl
-
--->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
   <xsl:import href="../../../common/xslt/html/tab2menu.xsl"/>
-  
-  <xsl:template match="tabs">
-    <div class="tabs" id="toptabs">
-     <table cellpadding="4" cellspacing="0" border="0">
-       <tr>
-          <xsl:call-template name="base-tabs"/>
-        </tr>
-      </table>
-    </div>  
-    <xsl:if test="tab[@dir=$longest-dir]/tab">
-      <div class="level2tab">
-        <xsl:call-template name="level2tabs"/>
-      </div>
-    </xsl:if>          
-  </xsl:template>
-
-  <xsl:template name="pre-separator">
-  </xsl:template>
-
-  <xsl:template name="post-separator">
-  </xsl:template>
-
-  <xsl:template name="separator">
-  </xsl:template>
-
-  <xsl:template name="level2-pre-separator">
-  </xsl:template>
-
-  <xsl:template name="level2-post-separator">
-  </xsl:template>
-
-  <xsl:template name="level2-separator">&#160;|&#160;</xsl:template>
-  
-  <xsl:template name="selected">
-    <th>
-      <xsl:call-template name="base-selected"/>
-    </th>
-  </xsl:template>
-
-  <xsl:template name="not-selected">
-    <td>        
-      <xsl:call-template name="base-selected"/>
-    </td>
-  </xsl:template>
-
-  <xsl:template name="level2-selected">
-     <xsl:call-template name="base-selected"/>
-  </xsl:template>
-
-  <xsl:template name="level2-not-selected">
-     <xsl:call-template name="base-not-selected"/> 
-  </xsl:template>
-  
-</xsl:stylesheet>
+</xsl:stylesheet>
\ No newline at end of file

Mime
View raw message