Migrate Xnet mailer to use PlUpload for attachments
[platal.git] / templates / search / quick.tpl
index 7abdf64..28342e8 100644 (file)
 
 {include file=search/quick.form.tpl show_js=1}
 
+{if $smarty.session.perms->hasFlag('user')}
 <h1>Voir le trombi d'une promotion</h1>
 
 <div id="message" style="position:absolute;"></div><br />
 
 <script type="text/javascript">
-  {literal}
+  {liiteral}
   function showPromo()
   {
       var value = document.getElementById('promo').value;
@@ -42,7 +43,7 @@
 </script>
 
 <form action="" method="post" onsubmit="return showPromo();">
-<table class="tinybicol" style="width: 30%; margin-right: auto; margin-left: auto">
+<table class="tinybicol" style="width: 35%; margin-right: auto; margin-left: auto">
   <td class="titre">Promotion :</td>
   <td>
     <input type="text" name="promo" id="promo" size="4" value="" />
@@ -51,6 +52,8 @@
 </table>
 </form>
 
+{/if}
+
 <h1>Comment faire une recherche ?</h1>
 
 <h2>Nom, Prenom, Promo ...</h2>