You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/02/27 02:10:50 UTC
svn commit: r631450 - in /lenya/sandbox/modules/docustyle/xslt:
afterCache.xsl beforeCache.xsl
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org