From 69048ba53ba829f234d54b14e76436556855efb2 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sun, 19 Jun 2005 21:27:58 +0000 Subject: add option to disable jstabs --- smarty_bit/block.jstabs.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'smarty_bit/block.jstabs.php') diff --git a/smarty_bit/block.jstabs.php b/smarty_bit/block.jstabs.php index fe09122..c332b37 100644 --- a/smarty_bit/block.jstabs.php +++ b/smarty_bit/block.jstabs.php @@ -14,8 +14,11 @@ * Abstract: Used to enclose a set of tabs */ function smarty_block_jstabs($params, $content, &$smarty) { + global $gBitSystem; $ret = '
'.$content.'
'; - $ret .= ""; + if( $gBitSystem->mPrefs['disable_jstabs'] != 'y' ) { + $ret .= ""; + } return $ret; } ?> -- cgit v1.3