Some html fixes
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 1 Aug 2006 10:04:00 +0000 (10:04 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 1 Aug 2006 10:04:00 +0000 (10:04 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@766 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/banana/banana.inc.php
templates/admin/evenements.tpl
templates/admin/valider.tpl
templates/emails/duplicated.tpl
templates/listes/listes.inc.tpl

index 2a7ac14..bad2b3c 100644 (file)
@@ -27,7 +27,7 @@ function hook_formatDisplayHeader($_header, $_text) {
         $id = $banana->post->headers['x-org-id'];
         $_text = formatFrom($_text);
         return $_text . ' <a href="profile/' . $id . '" class="popup2" title="' . $id . '">'
-             . '<img src="images/icons/user_suit.gif" title="fiche" /></a>';
+             . '<img src="images/icons/user_suit.gif" title="fiche" alt="" /></a>';
     }
 }
 
index b43b20b..59ac3e7 100644 (file)
@@ -55,9 +55,9 @@
   {cycle values="impair,pair" assign=class}
   <tr class="{$class}">
     <td>
-      <a id="{$ev.id}"></a>
+      <a id="event{$ev.id}"></a>
       {if !$ev.fvalide}<strong>{/if}
-      <a href="admin/events/preview/{$ev.id}#{$ev.id}">{$ev.titre}</a><br />
+      <a href="admin/events/preview/{$ev.id}#event{$ev.id}">{$ev.titre}</a><br />
       {if !$ev.fvalide}</strong>{/if}
       <small>
         Proposée par <a href="profile/{$ev.forlife}" class='popup2'>{$ev.prenom} {$ev.nom} (X{$ev.promo})</a>
index 7dbd1eb..f7ea92f 100644 (file)
       <div style="float:left;width:33%"><input type="checkbox" name="{$type}" id="hide_{$type}"{if !$hide_requests[$type]} checked="checked"{/if}/>
       <label for="hide_{$type}">{$type}</label></div>
     {/foreach}
-    <div class="center" style="clear:left"><input type="submit" name="hide"/></div>
+    <div class="center" style="clear:left"><input type="submit" name="hide" value="Valider" /></div>
   </form>
 </p>
 
index 0984128..1ff4bd2 100644 (file)
@@ -30,7 +30,6 @@
     <th>Utilisateurs</th>
     <th></th>
   </tr>
-  <tr>
   <tr class="impair">
     <td colspan="2">
       <strong>Ajouter une entrée manuellement</strong>
       &nbsp;{$doublon.mail}
       <input type="hidden" name="emailN" value="{$doublon.mail}" />
     </td>
+  </tr>
   {foreach from=$doublon.users key=i name=all item=user}
-  {if $i is even}<tr class="impair">{/if}
+    {if $i is even}<tr class="impair">{/if}
     <td>
       <a href="profile/{$user}" class="popup2">{$user}{icon name=user_suit title="Fiche"}</a>
       <a href="admin/user/{$user}">{icon name=wrench title="Administrer}</a>{if !$smarty.foreach.all.last}<br />{/if}
     </td>
     {if $i is even && $smarty.foreach.all.last}<td></td>{/if}
-  {if $id is odd || $smarty.foreach.all.last}</tr>{/if}
+    {if $i is odd || $smarty.foreach.all.last}</tr>{/if}
   {/foreach}
-  </tr>
   <tr class="pair">
     <td class="titre">Date de détection</td>
     <td>{$doublon.detection|date_format}</td>
index a752194..6a703e1 100644 (file)
@@ -33,7 +33,7 @@
   {foreach from=$listes item=liste}
   {if $liste.priv eq $priv}
   <tr class='{cycle values="impair,pair"}'>
-    <td width="16px">
+    <td style="width: 16px">
       {if $liste.own}
       {icon name=wrench title="Modérateur"}
       {/if}