html fixes
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Thu, 28 Apr 2005 09:07:56 +0000 (09:07 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:46 +0000 (23:28 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-597

include/xnet/session.inc.php
templates/xnet/groupe/alias-create.tpl
templates/xnet/groupe/annuaire.tpl
templates/xnet/groupe/edit.tpl

index 0e16fa3..449f38e 100644 (file)
@@ -108,6 +108,13 @@ class XnetSession extends DiogenesCoreSession
         $_SESSION['auth'] = AUTH_MDP;
         unset($this->challenge);
         unset($this->loginX);
+        Get::kill('auth');
+        Get::kill('uid');
+        $args = array();
+        foreach($_GET as $key=>$val) {
+            $args[] = urlencode($key).'='.urlencode($val);
+        }
+        header('Location: '.$_SERVER['PHP_SELF'] . '?' . join('&', $args));
     }
 
     // }}}
index 782ca14..2c0384e 100644 (file)
@@ -55,7 +55,9 @@ de mod
       </td>
     </tr>
   </table>
-  <center><p><input name='submit' type='submit' value="Créer !" /></p></center>
+  <p class="center">
+  <input name='submit' type='submit' value="Créer !" />
+  </p>
 </form>
 
 {* vim:set et sw=2 sts=2 sws=2: *}
index 9708389..6ce73bd 100644 (file)
@@ -51,7 +51,7 @@ peux aussi <a href='{$smarty.server.PHP_SELF}'>afficher toute la liste</a>.
 
 
 
-<table summary"membres du groupe" style="width: 100%">
+<table summary="membres du groupe" style="width: 100%">
   <tr>
     <th>prénom et nom</th>
     <th>promotion</th>
index f7522f3..919aed6 100644 (file)
     </tr>
   </table>
 
-  <br />
-
-  <textarea name="descr" cols="70" rows="15" >{$asso.descr}</textarea>
-  
   <div class="center">
+    <br />
+    <textarea name="descr" cols="70" rows="15">{$asso.descr}</textarea>
     <input type="submit" name="submit" value="Enregistrer" />
   </div>
 </form>