various bugfixes. new register _really_ seem acurate
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Mon, 24 Jan 2005 07:57:43 +0000 (07:57 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:51 +0000 (23:27 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-393

hooks/skin.inc.php
hooks/tmp.inc.php
hooks/webredirect.inc.php
htdocs/css/default.css
htdocs/register/end.php

index d6c7870..a9e8001 100644 (file)
@@ -52,7 +52,7 @@ function skin_prefs()
                 'url'    => 'skins.php',
                 'title'  => 'Apparence du site (skins)',
                 'text'   => 'Tu peux changer les couleurs et les images du site.',
-                'weight' => 90
+                'weight' => 70
             )
         );
 }
index 7e294e6..db9ccbf 100644 (file)
@@ -59,13 +59,13 @@ function tmp_prefs()
                 'title'  => 'Recevoir les mails en format '.$fmt2,
                 'text'   => 'Tu recois les mails envoyés par le site (lettre mensuelle, carnet, ...) de préférence <strong>sous forme de '
                             .Session::get('mail_fmt', 'html').'</strong>',
-                'weight' => 30
+                'weight' => 80
             ),
             Array(
                 'url'    => 'preferences.php?rss='.(intval(Session::get('core_rss_hash')=='')),
                 'title'  => (Session::get('core_rss_hash') ? 'désactiver' : 'activer').' les fils rss',
                 'text'   => 'Ceci te permet d\'utiliser les fils rss du site. Attention, désactiver puis réactiver les fils en change les URL !',
-                'weight' => 40
+                'weight' => 90
             )
         );
 }
index 74b5d02..1e15d87 100644 (file)
@@ -51,7 +51,7 @@ function webredirect_prefs()
                 'url'    => 'webredirect.php',
                 'title'  => 'Ma redirection de page WEB',
                 'text'   => $text,
-                'weight' => 80
+                'weight' => 60
             )
         );
 }
index be0bbe8..c9bfc4f 100644 (file)
@@ -316,7 +316,7 @@ div.conteneur_tab {
 #onglet li {
     display : block;
     float : left;
-    padding : 0.5ex;
+    padding : 0.4ex;
     margin : 0 0.3ex -1px 0;
     background : #D2E0E6  repeat-x 0 100%;
     border-width : 1px 1px 0px 1px;
@@ -324,7 +324,7 @@ div.conteneur_tab {
     border-color : #999;
     border-bottom-color : #999;
     width: auto;
-    height: 6ex;
+    height: 5ex;
     text-align: center;
 }
 
index d5a5af3..8b5ff63 100644 (file)
@@ -116,7 +116,7 @@ while (list($salias, $snom, $sprenom) = $res->next()) {
 
 $globals->xdb->execute("DELETE FROM register_marketing WHERE uid = {?}", $uid);
 
-#header('Location: success.php');
+header('Location: success.php');
 $page->assign('uid', $uid);
 $page->run();