X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsearch%2Fadv.form.tpl;h=48ac0b0dbb28c50463a05584b4e07f9c6a4cf1e4;hb=5ed1cce8c4b38941d65e578ed3c3bf593a3cc576;hp=3809b4ddcaa7552543f3f148842483d338aca789;hpb=f74509fbb4f06820dc3d028e3ffd2145f151b013;p=platal.git diff --git a/templates/search/adv.form.tpl b/templates/search/adv.form.tpl index 3809b4d..48ac0b0 100644 --- a/templates/search/adv.form.tpl +++ b/templates/search/adv.form.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,14 +22,14 @@

Recherche dans l'annuaire

-{javascript name=jquery.form} +{if hasPerm('edit_directory,admin') && t($suggestAddresses)} +

Voulez-vous télécharger le tableau des adresses postales pour la recette précédente ?

+{/if} +  et  - + @@ -336,10 +384,16 @@ function cleanForm(f) { {icon name="table" title="Tous les pays"} - - Région ou département + + Région, province, état… - + + + + + Département, comté… + + @@ -359,7 +413,7 @@ function cleanForm(f) { Description - + Mots-clefs @@ -370,10 +424,12 @@ function cleanForm(f) { {icon name="table" title="Tous les mots-clefs"} + {if hasPerm('directory_private')} CV contient + {/if} @@ -392,6 +448,7 @@ function cleanForm(f) { {icon name="table" title="Toutes les nationalités"} + {if hasPerm('directory_private')} Binet @@ -401,6 +458,7 @@ function cleanForm(f) { {icon name="table" title="Tous les binets"} + {/if} Groupe X @@ -410,6 +468,7 @@ function cleanForm(f) { {icon name="table" title="Tous les groupes X"} + {if hasPerm('directory_private')} Section @@ -419,6 +478,7 @@ function cleanForm(f) { {icon name="table" title="Toutes les sections"} + {/if} Formation @@ -453,15 +513,27 @@ function cleanForm(f) { - - - {icon name="table" title="Tous les types d'adresse"} + + {if hasPerm('admin,edit_directory')} + + Matricule AX + + +
+ Entrer une liste de matricules AX (un par ligne) + + {/if} {if $smarty.session.auth ge AUTH_COOKIE} + @@ -483,8 +555,5 @@ function cleanForm(f) { -

- N.B. : le caractère joker * peut remplacer une ou plusieurs lettres dans les recherches. -

{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}