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

michi at wyona.com michi at wyona.com
Sat Dec 1 22:07:33 CET 2007


Author: michi
Date: 2007-12-01 22:07:32 +0100 (Sat, 01 Dec 2007)
New Revision: 29435

Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
links 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-12-01 20:56:35 UTC (rev 29434)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-12-01 21:07:32 UTC (rev 29435)
@@ -15,6 +15,7 @@
 
 <xsl:param name="query" select="'QUERY_IS_NULL'"/>
 <xsl:param name="type" select="'TYPE_IS_NULL'"/>
+<xsl:param name="username" select="'USERNAME_IS_NULL'"/>
 
 <xsl:template match="/">
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -108,7 +109,7 @@
   <br/>
   <xsl:value-of select="foaf:excerpt"/>
   <div class="original-href"><a href="{foaf:url}"><xsl:value-of select="foaf:url"/></a> (Profile Provider: TODO)</div>
-  <a href="sign-in.html?usecase=add-friend&amp;href={foaf:url}">Add to your address book</a> | <a href="sign-in.html">Send invitation</a><xsl:if test="foaf:mime-type/@suffix = 'rdf'"> | <a href="print.html?href={foaf:url}">Print</a></xsl:if>
+  <a href="profiles/{$username}/add-friend.html?href={foaf:url}">Add to your address book</a> | <a href="profiles/{$username}/send-invitation.html?href={foaf:url}">Send invitation</a><xsl:if test="foaf:mime-type/@suffix = 'rdf'"> | <a href="print.html?href={foaf:url}">Print</a></xsl:if>
   </p>
 </xsl:template>
 



More information about the Yanel-commits mailing list