Quelques modifs pour rendre le code XHTML compliant
authorx2000bedo <x2000bedo>
Thu, 5 Aug 2004 00:57:24 +0000 (00:57 +0000)
committerx2000bedo <x2000bedo>
Thu, 5 Aug 2004 00:57:24 +0000 (00:57 +0000)
A noter le pb du target="_blank" non valide en XHTML que j'ai remplacé partout par des javascript:popWin (j'espère que
ce n'est pas trop mauvais).

templates/search.result.private.tpl

index 558ee01..abbb575 100644 (file)
@@ -1,23 +1,23 @@
 <td>
   {if $result.inscrit==1}
-    <a href="javascript:x()"  onclick="popWin('x.php?x={$result.username}')">
-      <img src="images/loupe.gif" border=0 ALT="Afficher les détails">
+    <a href="javascript:x()" onclick="popWin('x.php?x={$result.username}')">
+      <img src="images/loupe.gif" alt="Afficher les détails" />
     </a>
     <a href="vcard.php/{$result.username}.vcf?x={$result.username}">
-      <img src="images/vcard.png" border=0 ALT="Afficher la carte de visite">
+      <img src="images/vcard.png" alt="Afficher la carte de visite" />
     </a>
     <a href="mescontacts.php?action={if $result.contact!=""}retirer{else}ajouter{/if}&amp;user={$result.username}&amp;mode=normal">
-      <img src="images/{if $result.contact!=""}retirer{else}ajouter{/if}.gif" border=0 ALT="{if $result.contact!=""}Retirer de{else}Ajouter parmi{/if} mes contacts">
+      <img src="images/{if $result.contact!=""}retirer{else}ajouter{/if}.gif" alt="{if $result.contact!=""}Retirer de{else}Ajouter parmi{/if} mes contacts" />
     </a>
   {else}
     {if $result.decede != 1}
-      <a href="marketing.php?num={$result.matricule*2-100}" target="_blank">
+      <a href="javascript:x()" onclick="popWin('marketing.php?num={$result.matricule*2-100}')">
         clique ici si tu connais son adresse email !
       </a>
     {/if}
   {/if}
   {if $is_admin==1}
-    <a href="http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&amp;anc_id={$result.matricule_ax}" target="_blank">
+    <a href="javascript:x()" onclick="popWin('http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&amp;anc_id={$result.matricule_ax}')">
       AX
     </a>
   {/if}