X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fsearch%2Fadv.form.tpl;h=d3bc2d82deddf8d82f2a67f44cc73dd7f1114abb;hb=4171c0bf30fef7feb3066a3a5cf1e3bf33c83618;hp=a71dd305198676b2a3baedc256098dff7027c0ab;hpb=12ddbc2037b16496dfb9d91c4f7091850146fcde;p=platal.git
diff --git a/templates/search/adv.form.tpl b/templates/search/adv.form.tpl
index a71dd30..d3bc2d8 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,6 +22,10 @@
Recherche dans l'annuaire
+{if hasPerm('edit_directory,admin') && t($suggestAddresses)}
+Voulez-vous télécharger le tableau des adresses postales pour la recette précédente ?
+{/if}
+
{javascript name=jquery.form}
+
et
-
+
@@ -339,10 +375,16 @@ function cleanForm(f) {
{icon name="table" title="Tous les pays"}
-
- Région ou département |
+
+ Région, province, état… |
-
+
+ |
+
+
+ Département, comté… |
+
+
|
@@ -373,10 +415,12 @@ function cleanForm(f) {
{icon name="table" title="Tous les mots-clefs"}
+ {if hasPerm('directory_private')}
CV contient |
|
+ {/if}
@@ -395,6 +439,7 @@ function cleanForm(f) {
{icon name="table" title="Toutes les nationalités"}
|
+ {if hasPerm('directory_private')}
Binet |
@@ -404,6 +449,7 @@ function cleanForm(f) {
{icon name="table" title="Tous les binets"}
|
+ {/if}
Groupe X |
@@ -413,6 +459,7 @@ function cleanForm(f) {
{icon name="table" title="Tous les groupes X"}
|
+ {if hasPerm('directory_private')}
Section |
@@ -422,6 +469,7 @@ function cleanForm(f) {
{icon name="table" title="Toutes les sections"}
|
+ {/if}
Formation |
@@ -456,15 +504,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}
+
@@ -486,8 +546,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: *}