Moving to GitHub.
[platal.git] / templates / events / index.tpl
index afb4ba9..56f678b 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2014 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;
   }
   -->
@@ -163,7 +163,7 @@ Bienvenue {$smarty.session.user->displayName()}{if t($birthday)}
       <td class="half">
         <div>
           {if $ev.img}
-          <div style="float: {$position}; padding-{if $position eq right}left{else}right{/if}: 0.5em">
+          <div style="float: {$position}; padding-{if $position eq 'right'}left{else}right{/if}: 0.5em">
             <img src="events/photo/{$ev.id}" alt="{$ev.title}" />
           </div>
           {/if}
@@ -214,4 +214,4 @@ Bienvenue {$smarty.session.user->displayName()}{if t($birthday)}
   </p>
 {/if}
 
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}