From bde744826e6abc416ecaf9abe7e906594cf45694 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 16 Jul 2009 21:05:00 +0100 Subject: [PATCH] only hidablise relevant things, and make the whole block clickable --- themes/default/layout.class.php | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/themes/default/layout.class.php b/themes/default/layout.class.php index 4b3b39c5..606415a3 100644 --- a/themes/default/layout.class.php +++ b/themes/default/layout.class.php @@ -76,14 +76,7 @@ EOD; $b = $block->body; $html = ""; $i = str_replace(' ', '_', $h) . $salt; - if($hidable) { - #$toggle = " onclick=\"toggle('$i')\""; - $toggle = ""; - } - else { - $toggle = ""; - } - if(!is_null($h)) $html .= " + if($hidable) $html .= " -
+ "; + if(!is_null($h)) $html .= " +
-

$h

+

$h

";