Fix some PHP_SELF
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 26 Jul 2006 09:41:28 +0000 (09:41 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 26 Jul 2006 09:41:28 +0000 (09:41 +0000)
logger is still broken

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@660 839d8a87-29fc-0310-9880-83ba4fa771e5

templates/logger-view.tpl
templates/nomusage.tpl
templates/search/adv.form.tpl
templates/search/adv.links.tpl
templates/xnet/groupe/mail.tpl

index 49a71bc..fcc09c0 100644 (file)
@@ -35,7 +35,7 @@
 <tr class="impair">
   <td class="titre">{$msg_user}</td>
   <td>{$session.username} {if $session.suer}(suid by {$session.suer}){/if}
-  [<a href="{$smarty.request.PHP_SELF}?logauth={$session.auth}&amp;loguser={$session.username}">user's log</a>]</td>
+  [<a href="{$platal->ns}admin/logger?logauth={$session.auth}&amp;loguser={$session.username}">user's log</a>]</td>
 </tr>
 <tr class="pair">
   <td class="titre">{$msg_host}</td>
@@ -66,7 +66,7 @@
 
 {else}
 
-<form method="post" action="{$smarty.server.PHP_SELF}">
+<form method="post" action="{$platal->ns}admin/logger">
 <table class="bicol">
 <tr>
   <th colspan="2">{$msg_filter_by}</th>
index 3f8174a..d60f366 100644 (file)
@@ -31,7 +31,7 @@
     Pour supprimer ton nom d'usage, fais une demande avec un nom vide et en précisant la raison.
   </p>
   <p>
-    [<a href='{$smarty.server.PHP_SELF}'>Refaire une demande</a>] - [<a href='profile/edit'>Retour au profil</a>]
+    [<a href='profile/usage'>Refaire une demande</a>] - [<a href='profile/edit'>Retour au profil</a>]
   </p>
 {else}
   {if $myusage}
index 5c965df..fd24a11 100644 (file)
@@ -33,7 +33,7 @@
        <input type="submit" style="display:none"/>
         <input type="text" name="name" size="32" value="{$smarty.request.name}" />
         {if $smarty.request.name && !$with_soundex && $smarty.request.recherche}
-        <a class='smaller' href="{$smarty.server.PHP_SELF}?with_soundex=1&amp;{$url_args}">
+        <a class='smaller' href="search/adv?with_soundex=1&amp;{$url_args}">
           étendre par proximité sonore
         </a>
         {/if}
@@ -44,7 +44,7 @@
       <td>
         <input type="text" name="firstname" size="32" value="{$smarty.request.firstname}" />
         {if $smarty.request.firstname && !$with_soundex && $smarty.request.recherche}
-        <a class='smaller' href="{$smarty.server.PHP_SELF}?with_soundex=1&amp;{$url_args}">
+        <a class='smaller' href="search/adv?with_soundex=1&amp;{$url_args}">
           étendre par proximité sonore
         </a>
         {/if}
index a7b45ff..c8bc4a8 100644 (file)
@@ -35,7 +35,7 @@
   </li>
 
   <li>Effectuer une nouvelle <strong>
-    <a href="{$smarty.server.PHP_SELF}">recherche avancée</a>
+    <a href="search/adv">recherche avancée</a>
   </strong>
   </li>
   
index b0b8216..d12aeea 100644 (file)
@@ -84,15 +84,20 @@ masculin ou f
       <td><input type="text" name="sujet" value="{$smarty.request.sujet|default:"remplir le sujet ..."}" size=55 maxlength=70></td>
     </tr>
     <tr>
-      <td colspan="2">
-        <textarea name="body" cols="72" rows="25">{if $smarty.request.body}{$smarty.request.body}{else}  &lt;cher&gt; &lt;prenom&gt;,
+      <td colspan="2" class="center">
+        <textarea name="body" cols="72" rows="25">
+{if $smarty.request.body}
+{$smarty.request.body}
+{else}
+&lt;cher&gt; &lt;prenom&gt;,
           
-  Nous avons le plaisir de t'adresser la lettre mensuelle du groupe {$asso.nom}.
+Nous avons le plaisir de t'adresser la lettre mensuelle du groupe {$asso.nom}.
 
-  (insérer le texte...)
+(insérer le texte...)
 
-  Le bureau du groupe {$asso.nom}.{/if}
-</textarea>
+Le bureau du groupe {$asso.nom}.
+{/if}
+         </textarea>
       </td>
     </tr>
     <tr>