From 6b4707ebb386b3d74bb000a863892f8a35707f78 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Wed, 22 Nov 2006 08:16:49 +0000 Subject: [PATCH] #554: exit link on all pages git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1123 839d8a87-29fc-0310-9880-83ba4fa771e5 --- ChangeLog | 1 + htdocs/css/xnet.css | 3 ++- include/xnet/page.inc.php | 12 +++--------- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1507b03..808df72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -64,6 +64,7 @@ Bug/Wish: * Xnet: - #511: Migrate ML subscription when changing email of a non-X. -FRU + - #554: Move exit link beside "my group" list -FRU * Xnet/Events: - #374: Modify ergonomy of inscription to events (again). -Car diff --git a/htdocs/css/xnet.css b/htdocs/css/xnet.css index 1d73ed1..cb4ba7f 100644 --- a/htdocs/css/xnet.css +++ b/htdocs/css/xnet.css @@ -101,7 +101,7 @@ td#perso div { padding: 2px 1em; } -td#perso a.gp { +td#perso .gp { display: block; margin: 2px 1em; font-weight: bold; @@ -128,6 +128,7 @@ td#body { td#menu { width: 130px; padding-right: 0; + padding-top: 0.5em; font-family: "Trebuchet MS", "Arial",sans-serif; font-weight: bold; } diff --git a/include/xnet/page.inc.php b/include/xnet/page.inc.php index 64185f9..abc1e72 100644 --- a/include/xnet/page.inc.php +++ b/include/xnet/page.inc.php @@ -66,17 +66,11 @@ class XnetPage extends PlatalPage $menu = array(); - if (S::logged()) { - $sub = array(); - $sub['déconnexion'] = 'exit'; - $menu['no_title'] = $sub; - } - $sub = array(); $sub['liste des groupes'] = 'plan'; $sub['documentation'] = 'Xnet'; $sub['Signaler un bug'] = array('link' => 'send_bug', 'onclick' => 'send_bug();return false'); - $menu["Menu Principal"] = $sub; + $menu["no_title"] = $sub; if (S::logged() && $globals->asso()) { $sub = array(); @@ -134,9 +128,9 @@ function list_all_my_groups($params) FROM groupex.asso AS a INNER JOIN groupex.membres AS m ON m.asso_id = a.id WHERE m.uid={?}", S::v('uid')); - $html = '
Mes groupes :
'; + $html = '
Mes groupes (déconnexion) :
'; while (list($nom, $mini) = $res->next()) { - $html .= "• $nom"; + $html .= "$nom"; } return $html; } -- 2.1.4