- all <a><img ... /></a> now have title (closes: FS#99).
authorx2000habouzit <x2000habouzit>
Sat, 16 Oct 2004 14:54:49 +0000 (14:54 +0000)
committerx2000habouzit <x2000habouzit>
Sat, 16 Oct 2004 14:54:49 +0000 (14:54 +0000)
ChangeLog
templates/fiche.tpl
templates/include/x_inscrit.tpl
templates/listes/admin.tpl
templates/listes/listes.inc.tpl
templates/listes/options.tpl
templates/search.result.private.tpl

index f420efb..3d62cfd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ Changes :
 
        * Lists :
                - auto-moderate/discard mails tagged by bogofilter                                      -MC
+       
+       * Usability :
+               - all <a><img ... /></a> now have title (closes: FS#99).                        -MC
 
 Fixes (from 0.9.0 branch) :
 
index 55e7c77..d78a393 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: fiche.tpl,v 1.16 2004-10-14 09:00:48 x2000coic Exp $
+        $Id: fiche.tpl,v 1.17 2004-10-16 14:54:50 x2000habouzit Exp $
  ***************************************************************************}
 
 
 
 <div id="fiche_identite">
   <div class="civilite">{$prenom} {if $epouse eq ""}{$nom}{else}{$epouse} ({$nom}){/if}
-    <a href="vcard.php/{$forlife}.vcf?x={$user_id}"><img src="images/vcard.png" alt="Afficher la carte de visite" /></a>&nbsp;
+    <a href="vcard.php/{$forlife}.vcf?x={$user_id}">
+      <img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite"/>
+    </a>&nbsp;
     {if !$is_contact}
-    <a href="javascript:x()"  onclick="popWin('mescontacts.php?action=ajouter&amp;user={$forlife}')"><img src="images/ajouter.gif" alt="Ajouter parmi mes contacts" /></a>&nbsp;
+    <a href="javascript:x()"  onclick="popWin('mescontacts.php?action=ajouter&amp;user={$forlife}')">
+      <img src="images/ajouter.gif" alt="Ajouter à mes contacts" title="Ajouter à mes contacts" />
+    </a>&nbsp;
     {/if}
   </div>
   <div class='right' style="font-size: smaller; width:100%">(Fiche mise à jour le {$date|date_format:"%d %B %Y"})</div>
index 8a6b1c5..15137bf 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: x_inscrit.tpl,v 1.13 2004-10-12 19:54:36 x2000habouzit Exp $
+        $Id: x_inscrit.tpl,v 1.14 2004-10-16 14:54:50 x2000habouzit Exp $
  ***************************************************************************}
 
 
   </div>
   <div class="bits">
     <a href="javascript:x()" onclick="popWin('fiche.php?user={$c.forlife}')">
-      <img src="images/loupe.gif" alt="Afficher les détails" />
+      <img src="images/loupe.gif" alt="Afficher la fiche" title="Afficher la fiche" />
     </a>
     <a href="vcard.php/{$c.forlife}.vcf?x={$c.user_id}">
-      <img src="images/vcard.png" alt="Afficher la carte de visite" />
+      <img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite" />
     </a>
     <a href="mescontacts.php?action={$show_action}&amp;user={$c.user_id}">
-      <img src="images/{$show_action}.gif" alt="{$show_action} aux/des contacts" />
+      <img src="images/{$show_action}.gif" alt="{$show_action} aux/des contacts" title="{$show_action} aux/des contacts" />
     </a>
     {perms level='admin'}
     <a href="http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&amp;anc_id={$c.matricule_ax}" onclick="return popup(this)">AX</a>
index 5efedb8..461cd8e 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: admin.tpl,v 1.9 2004-10-15 07:30:40 x2000habouzit Exp $
+        $Id: admin.tpl,v 1.10 2004-10-16 14:54:50 x2000habouzit Exp $
  ***************************************************************************}
 
 {dynamic}
@@ -72,7 +72,7 @@ c'est-
         {$x.l}
         {/if}
         <a href='?liste={$smarty.get.liste}&amp;del_owner={$x.l}'>
-          <img src='{"images/retirer.gif"|url}' alt='retirer utilisateur' />
+          <img src='{"images/retirer.gif"|url}' alt='retirer modérateur' title='retirer modérater' />
         </a><br />
         {/foreach}
       </td>
@@ -107,7 +107,7 @@ c'est-
         {$x.l}
         {/if}
         <a href='?liste={$smarty.get.liste}&amp;del_member={$x.l}'>
-          <img src='{"images/retirer.gif"|url}' alt='retirer utilisateur' />
+          <img src='{"images/retirer.gif"|url}' alt='retirer membre' title='retirer membre' />
         </a><br />
         {/foreach}
       </td>
index 7700c81..27a8df4 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: listes.inc.tpl,v 1.9 2004-10-09 12:49:38 x2000habouzit Exp $
+        $Id: listes.inc.tpl,v 1.10 2004-10-16 14:54:51 x2000habouzit Exp $
  ***************************************************************************}
 
 <table class='bicol' cellpadding='0' cellspacing='0'>
     <td class='right'>
       {if $liste.sub eq 2}
       <a href='{$smarty.server.PHP_SELF}?del={$liste.list}'>
-        <img src="{"images/retirer.gif"|url}" alt="[ désinscription ]" />
+        <img src="{"images/retirer.gif"|url}" alt="[ désinscription ]" title="me désinscrire de {$liste.list}" />
       </a>
       {elseif $liste.sub eq 1}
-      <img src="{"images/flag.png"|url}" alt="[ en cours ]" />
+      <img src="{"images/flag.png"|url}" alt="[ en cours ]" title='inscription en attente de modération' />
       {else}
       <a href='{$smarty.server.PHP_SELF}?add={$liste.list}'>
-        <img src="{"images/ajouter.gif"|url}" alt="[ inscription ]" />
+        <img src="{"images/ajouter.gif"|url}" alt="[ inscription ]" title="m'inscrire sur {$liste.list}" />
       </a>
       {/if}
     </td>
index 13c477a..b3ac086 100644 (file)
@@ -168,7 +168,7 @@ redirection en mode 'inactif'. le logiciel de mailing list saura se d
         {if $options.accept_these_nonmembers|@count}
         {foreach from=$options.accept_these_nonmembers item=addr}
         {$addr}<a href='?liste={$smarty.get.liste}&amp;atn_del={$addr}'>
-          <img src='{"images/retirer.gif"|url}' alt='retirer de la whitelist' />
+          <img src='{"images/retirer.gif"|url}' alt='retirer de la whitelist' title="retirer {$addr} de la whitelist" />
         </a><br />
         {/foreach}
         {else}
index ad4f7c1..d8b427b 100644 (file)
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: search.result.private.tpl,v 1.15 2004-10-16 14:36:09 x2000habouzit Exp $
+        $Id: search.result.private.tpl,v 1.16 2004-10-16 14:54:50 x2000habouzit Exp $
  ***************************************************************************}
 
 <div class="bits">
   {if $result.inscrit==1}
   <a href="javascript:x()" onclick="popupWin('fiche.php?user={$result.forlife}', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=500')">
-    <img src="images/loupe.gif" alt="Afficher les détails" />
+    <img src="images/loupe.gif" alt="Afficher la fiche" title="Afficher la fiche" />
   </a>
   <a href="vcard.php/{$result.forlife}.vcf?x={$result.forlife}">
-    <img src="images/vcard.png" alt="Afficher la carte de visite" />
+    <img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite" />
   </a>
   <a href="mescontacts.php?action={if $result.contact!=""}retirer{else}ajouter{/if}&amp;user={$result.forlife}&amp;mode=normal">
-    <img src="images/{if $result.contact!=""}retirer{else}ajouter{/if}.gif" alt="{if $result.contact!=""}Retirer de{else}Ajouter parmi{/if} mes contacts" />
+    {if $result.contact!=""}
+    <img src="images/retirer.gif" alt="Retirer de mes contacts" title="Retirer de mes contacts" />
+    {else}
+    <img src="images/ajouter.gif" alt="Ajouter à mes contacts" title="Ajouter à mes contacts" />
+    {/if}
   </a>
   {/if}
   {perms level='admin'}