svn commit: r631450 - in /lenya/sandbox/modules/docustyle/xslt: afterCache.xsl beforeCache.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Feb 26 17:10:47 2008
New Revision: 631450

URL: http://svn.apache.org/viewvc?rev=631450&view=rev
Log:
Simplifying search form, fixed search image URL.

Modified:
    lenya/sandbox/modules/docustyle/xslt/afterCache.xsl
    lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl

Modified: lenya/sandbox/modules/docustyle/xslt/afterCache.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/xslt/afterCache.xsl?rev=631450&r1=631449&r2=631450&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/xslt/afterCache.xsl (original)
+++ lenya/sandbox/modules/docustyle/xslt/afterCache.xsl Tue Feb 26 17:10:47 2008
@@ -37,19 +37,6 @@
   <xsl:param name="lastPublishedDate"/>
   
   
-  <xsl:template match="xhtml:div[@id = 'search']//xhtml:p">
-    <xsl:copy>
-      Search:
-      <xsl:apply-templates select="node()"/>
-    </xsl:copy>
-  </xsl:template>
-  
-  
-  <xsl:template match="xhtml:input[@class = 'searchsubmit']">
-    <input class="searchsubmit" type="image" src="/modules/docustyle/images/search.png"/>
-  </xsl:template>
-  
-  
   <xsl:template match="xhtml:div[@id = 'breadcrumb']">
     <xsl:if test="*">
       <xsl:copy>

Modified: lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl?rev=631450&r1=631449&r2=631450&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl (original)
+++ lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl Tue Feb 26 17:10:47 2008
@@ -91,9 +91,10 @@
     <div id="search">
       <form action="http://www.google.com/search" method="get" id="form-search">
         <p>
+          Search:
           <input type="hidden" name="sitesearch" value="lenya.apache.org"/>
           <input class="searchfield" type="text" name="q" alt="Search field"/>
-          <input class="searchsubmit" type="submit" value="Search" name="input-go"/>
+          <input class="searchsubmit" type="image" src="/{$pub}/{$area}/docustyle/images/search.png"/>
         </p>
       </form>
     </div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.