xhtml validation
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 31 Mar 2007 13:42:50 +0000 (13:42 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 31 Mar 2007 13:42:50 +0000 (13:42 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1635 839d8a87-29fc-0310-9880-83ba4fa771e5

templates/events/index.tpl
templates/search/adv.form.tpl
templates/search/quick.tpl

index 34d081d..04b8399 100644 (file)
@@ -140,6 +140,7 @@ Bienvenue {$smarty.session.prenom}
 
   <script type="text/javascript">
   {literal}
+  <!--
   function readEvent(id) {
        document.getElementById('content-evt'+id).style.display='none';
        var link = document.getElementById('link-evt'+id);
@@ -151,6 +152,7 @@ Bienvenue {$smarty.session.prenom}
        Ajax.update_html(null, 'events/read/'+id);
        return false;
   }
+  -->
   {/literal}
   </script>
  
@@ -204,7 +206,6 @@ Bienvenue {$smarty.session.prenom}
     <tr class="pair">
       <td class="half smaller">
         <div style="display:block; float: right; padding-left:1em">
-          <a href="events#pagetop">
           {if $ev.post_id}
           <a href="banana/{#globals.banana.event_reply#|default:#globals.banana.event_forum#}/read/{$ev.post_id}">
             {icon name="comments" title="Discussion"}Suivre la discussion
index c5df906..99ed048 100644 (file)
         <input type="checkbox" name="with_soundex" value="1" {if $smarty.request.with_soundex}checked="checked"{/if} id="sdxn" />
         <label for="sdxn">étendre par proximité sonore (uniquement sur nom et prénom)</label>
       </td>
+    </tr>
     <tr>
       <th colspan="2">Géographie</th>
     </tr>
@@ -251,7 +252,7 @@ checked="checked"{/if}/>chercher uniquement les adresses où les camarades sont
         <option value="0"></option>
         {iterate item=cb from=$choix_binets}
           <option value="{$cb.id}" {if $smarty.request.binet eq $cb.id}selected="selected"{/if}>
-            {$cb.text}
+            {$cb.text|htmlspecialchars}
           </option>
         {/iterate}
         </select>
@@ -289,7 +290,7 @@ checked="checked"{/if}/>chercher uniquement les adresses où les camarades sont
           <option value="0"></option>
           {iterate item=cs from=$choix_schools}
           <option value="{$cs.id}" {if $smarty.request.school eq $cs.id}selected="selected"{/if}>
-            {$cs.text}
+            {$cs.text|htmlspecialchars}
           </option>
           {/iterate}
         </select>
index f80e284..15a9e61 100644 (file)
@@ -28,6 +28,7 @@
 <div id="message" style="position:absolute;"></div><br />
 
 <script type="text/javascript">
+  <!--
   {literal}
   function showPromo()
   {
       return false;
   }
   {/literal}
+  -->
 </script>
 
 <form action="" method="post" onsubmit="return showPromo();">
 <table class="tinybicol" style="width: 35%; margin-right: auto; margin-left: auto">
-  <td class="titre">Promotion :</td>
-  <td>
-    <input type="text" name="promo" id="promo" size="4" value="" />
-    <input type="submit" name="submit_promo" value="Voir" />
-  </td>
+  <tr>
+    <td class="titre">Promotion :</td>
+    <td>
+      <input type="text" name="promo" id="promo" size="4" value="" />
+      <input type="submit" name="submit_promo" value="Voir" />
+    </td>
+  </tr>
 </table>
 </form>