From f61af9f7c3b330191ca2162c849b59026c8cacf5 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Thu, 21 Apr 2005 12:19:04 +0000 Subject: [PATCH] minor fixes git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-577 --- htdocs.net/css/xnet.css | 3 ++- include/xnet/smarty.plugins.inc.php | 6 ++++-- plugins/function.rel.php | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/htdocs.net/css/xnet.css b/htdocs.net/css/xnet.css index a0fdbc7..338635a 100644 --- a/htdocs.net/css/xnet.css +++ b/htdocs.net/css/xnet.css @@ -81,9 +81,10 @@ td#credits { font-weight: bold; } -td#perso ul { +td#perso div { font-weight: bold; font-size: 90%; + padding: 2px 1em; } td#perso a.gp { diff --git a/include/xnet/smarty.plugins.inc.php b/include/xnet/smarty.plugins.inc.php index 1144fe5..cd55390 100644 --- a/include/xnet/smarty.plugins.inc.php +++ b/include/xnet/smarty.plugins.inc.php @@ -21,6 +21,8 @@ // {{{ function list_all_my_groups +require_once $globals->spoolroot.'/plugins/function.rel.php'; + function list_all_my_groups($params) { if (!logged()) { @@ -32,9 +34,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={?}", Session::getInt('uid')); - $html = ''; + $html = '
Mes groupes :
'; while (list($nom, $mini) = $res->next()) { - $html .= "• $nom"; + $html .= "• $nom"; } return $html; } diff --git a/plugins/function.rel.php b/plugins/function.rel.php index 91a2689..2deb44f 100644 --- a/plugins/function.rel.php +++ b/plugins/function.rel.php @@ -19,7 +19,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -function smarty_function_rel($string) +function smarty_function_rel() { static $rel; if (empty($rel)) { -- 2.1.4