[Yanel-commits] rev 29918 - public/yanel/contributions/realms/foaf/data/xslt

michi at wyona.com michi at wyona.com
Sun Dec 16 12:04:35 CET 2007


Author: michi
Date: 2007-12-16 12:04:34 +0100 (Sun, 16 Dec 2007)
New Revision: 29918

Modified:
   public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
Log:
back2realm fixed

Modified: public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl	2007-12-16 11:01:32 UTC (rev 29917)
+++ public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl	2007-12-16 11:04:34 UTC (rev 29918)
@@ -80,7 +80,7 @@
 <xsl:apply-templates select="/wyona:foaf/wyona:third-party-source" mode="atom"/>
 
 <br/><br/>
-<xsl:choose><xsl:when test="$username = 'foaf:uin'"><a href="../add-friend.html?href=TODO">Add to your address book</a> | <a href="../send-invitation.html?profile-of-friend=TODO">Send invitation</a></xsl:when><xsl:otherwise><a href="../profiles/{$username}/add-friend.html?href=TODO">Add to your address book</a> | <a href="../profiles/{$username}/send-invitation.html?profile-of-friend=TODO">Send invitation</a></xsl:otherwise></xsl:choose>
+<xsl:choose><xsl:when test="$username = 'foaf:uin'"><a href="{$yarep.back2realm}add-friend.html?href=TODO">Add to your address book</a> | <a href="{$yarep.back2realm}send-invitation.html?profile-of-friend=TODO">Send invitation</a></xsl:when><xsl:otherwise><a href="{$yarep.back2realm}profiles/{$username}/add-friend.html?href=TODO">Add to your address book</a> | <a href="{$yarep.back2realm}profiles/{$username}/send-invitation.html?profile-of-friend=TODO">Send invitation</a></xsl:otherwise></xsl:choose>
 </td>
 </tr>
 </table>



More information about the Yanel-commits mailing list