From 1db23314b8f1206af585943387641bddbf8b2eea Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 6 Mar 2012 21:25:45 +0000 Subject: [PATCH] only toggler for hidable element --- themes/default/layout.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/default/layout.class.php b/themes/default/layout.class.php index 9144be08..0673cdf5 100644 --- a/themes/default/layout.class.php +++ b/themes/default/layout.class.php @@ -91,8 +91,9 @@ EOD; $b = $block->body; $html = ""; $i = str_replace(' ', '_', $h) . $salt; + $h_toggler = $hidable ? " shm-toggler" : ""; if(!is_null($h)) $html .= " -

$h

+

$h

"; if(!is_null($b)) { if(strpos($b, "") === FALSE) {