NL bounces: add another case to DSN filter
[platal.git] / templates / search / adv.form.tpl
index 0a425a1..d507579 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2013 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -27,7 +27,7 @@
 {/if}
 
 <script type="text/javascript">//<![CDATA[
-  {literal}$(function() { load_advanced_search({{/literal}{foreach from=$smarty.request key=key item=item}"{$key}":"{$item}",{/foreach}{literal}}); });{/literal}
+  {literal}$(function() { load_advanced_search({{/literal}{foreach from=$smarty.request key=key item=item name="load"}"{$key}":"{$item}"{if not $smarty.foreach.load.last},{/if}{/foreach}{literal}}); });{/literal}
 //]]></script>
 
 <p class="center">[<a href="search">Revenir à la recherche simple</a>]</p>
       <td colspan="2">
         <label for="only_current">
           <input name="only_current" id="only_current" type="checkbox"{if $smarty.request.only_current} checked="checked"{/if}/>
-          Chercher uniquement les adresses actuelles.
+          Chercher uniquement parmi les adresses actuelles.
         </label>
       </td>
     </tr>
+    {if hasPerm('admin,edit_directory')}
+    <tr>
+      <td colspan="2">
+        <label for="only_ax_mail">
+          <input name="only_ax_mail" id="only_ax_mail" type="checkbox"{if $smarty.request.only_ax_mail} checked="checked"{/if}/>
+          Chercher uniquement parmi les adresses postales de l'AX.
+        </label>
+      </td>
+    </tr>
+    {/if}
     <tr>
       <th colspan="2">Activité</th>
     </tr>