[Yanel-commits] rev 29329 - public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt

michi at wyona.com michi at wyona.com
Wed Nov 28 22:38:15 CET 2007


Author: michi
Date: 2007-11-28 22:38:15 +0100 (Wed, 28 Nov 2007)
New Revision: 29329

Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
homepage layout fixed

Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-28 21:26:51 UTC (rev 29328)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-28 21:38:15 UTC (rev 29329)
@@ -29,6 +29,7 @@
 </p>
 
 <xsl:choose>
+<!-- Result Page Layout -->
 <xsl:when test="/foaf:foaf/foaf:provider">
 <p>
 <!-- TODO: Do not hardcode the action ... -->
@@ -57,18 +58,26 @@
 </xsl:when>
 
 
+<!-- Homepage Layout -->
 <xsl:otherwise>
 <center>
 <h1>Find a friend</h1>
-
 <p>
 <!-- TODO: Do not hardcode the action ... -->
+<table border="0">
+<tr><td valign="top">
 <form action="." method="get">
 <input type="text" name="q"><xsl:if test="$query != 'QUERY_IS_NULL'"><xsl:attribute name="value"><xsl:value-of select="$query"/></xsl:attribute></xsl:if></input>
 <input type="submit" value="Search" name="submit"/>
 </form>
-<br/>
+</td>
+<td>&#160;</td>
+<td valign="top">
+<font size="-1">
 <!--DEBUG1:<xsl:value-of select="$type"/>-->  <!--<xsl:choose><xsl:when test="$type = 'simple'"><a href="advanced-search.html?q={$query}">Advanced Search</a></xsl:when><xsl:otherwise><a href="index.html?q={$query}">Simple Search</a></xsl:otherwise></xsl:choose> |-->  <a href="?q={$query}&amp;yanel.resource.viewid=source">XML view</a>
+</font>
+</td></tr>
+</table>
 </p>
 
 <p>



More information about the Yanel-commits mailing list