From 336c1e951bb57f3180da5acb12f84b06fe356109 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 14 Feb 2004 17:29:39 +0000 Subject: [PATCH] =?UTF-8?q?Correction=20probl=E8me=20affichage=20des=20box?= =?UTF-8?q?s.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/boxes.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/boxes.php b/htdocs/boxes.php index 8ba1854cab5..12cbf0d2ed4 100644 --- a/htdocs/boxes.php +++ b/htdocs/boxes.php @@ -1,5 +1,6 @@ + * Copyright (C) 2004 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,10 +29,13 @@ class infoBox $var = true; $bcx[0] = 'class="box_pair"'; $bcx[1] = 'class="box_impair"'; + $nbcol=sizeof($contents[0]); print ''; - print '"; + print ' 0) { print ' colspan="'.$nbcol.'"'; } + print '>'.$head[0]['text'].""; for ($i=0, $n=sizeof($contents); $i<$n; $i++) {
'.$head[0]['text']."