[Yanel-commits] rev 28538 - in
public/yanel/contributions/realms/foaf: res-configs
src/resources/findfriend/xslt
michi at wyona.com
michi at wyona.com
Tue Nov 6 21:29:22 CET 2007
Author: michi
Date: 2007-11-06 21:29:22 +0100 (Tue, 06 Nov 2007)
New Revision: 28538
Modified:
public/yanel/contributions/realms/foaf/res-configs/.yanel-rc
public/yanel/contributions/realms/foaf/res-configs/index.html.yanel-rc
public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
advanced simple switch fixed
Modified: public/yanel/contributions/realms/foaf/res-configs/.yanel-rc
===================================================================
--- public/yanel/contributions/realms/foaf/res-configs/.yanel-rc 2007-11-06 20:28:40 UTC (rev 28537)
+++ public/yanel/contributions/realms/foaf/res-configs/.yanel-rc 2007-11-06 20:29:22 UTC (rev 28538)
@@ -7,4 +7,6 @@
<!--
<yanel:property name="parser" value="org.wyona.meguni.parser.impl.MSNParser"/>
-->
+
+ <yanel:property name="type" value="simple"/>
</yanel:resource-config>
Modified: public/yanel/contributions/realms/foaf/res-configs/index.html.yanel-rc
===================================================================
--- public/yanel/contributions/realms/foaf/res-configs/index.html.yanel-rc 2007-11-06 20:28:40 UTC (rev 28537)
+++ public/yanel/contributions/realms/foaf/res-configs/index.html.yanel-rc 2007-11-06 20:29:22 UTC (rev 28538)
@@ -7,4 +7,6 @@
<!--
<yanel:property name="parser" value="org.wyona.meguni.parser.impl.MSNParser"/>
-->
+
+ <yanel:property name="type" value="simple"/>
</yanel:resource-config>
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-06 20:28:40 UTC (rev 28537)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl 2007-11-06 20:29:22 UTC (rev 28538)
@@ -25,13 +25,9 @@
<body>
<p>
-<a href="login.html">Login</a> | <a href="register.html">Register</a> | <a href="?q={$query}&yanel.resource.viewid=source">XML view</a>
+<a href="login.html">Login</a> | <a href="register.html">Register</a> | <a href="about.html">About</a>
</p>
-<p>
-Type: <xsl:value-of select="$type"/>
-</p>
-
<xsl:choose>
<xsl:when test="/foaf:foaf/foaf:provider">
<p>
@@ -40,7 +36,7 @@
<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"/>
<br/>
-<a href="advanced-search.html?q={$query}">Advanced Search</a>
+2:<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}&yanel.resource.viewid=source">XML view</a>
</form>
</p>
<xsl:apply-templates select="/foaf:foaf/foaf:provider"/>
@@ -61,7 +57,7 @@
<input type="submit" value="Search" name="submit"/>
</form>
<br/>
-<a href="advanced-search.html">Advanced Search</a>
+1:<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}&yanel.resource.viewid=source">XML view</a>
</p>
<p>
More information about the Yanel-commits
mailing list