Only display link to referent page on private view.
[platal.git] / templates / events / index.tpl
index afb4ba9..563f0d0 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -118,7 +118,7 @@ Bienvenue {$smarty.session.user->displayName()}{if t($birthday)}
        if (link.childNodes[i].nodeName == 'STRONG') {
                link.replaceChild(link.childNodes[i].firstChild,link.childNodes[i]);
        }
-       Ajax.update_html(null, 'events/read/'+id);
+    $.xget('events/read/'+id);
        return false;
   }
   -->