From 82c25e597822f264f9a82e0d0f2b5482f9d1e5a1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 25 Jul 2017 20:17:58 +0200 Subject: [PATCH] Fix syntax error --- htdocs/core/tpl/bloc_showhide.tpl.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/tpl/bloc_showhide.tpl.php b/htdocs/core/tpl/bloc_showhide.tpl.php index a98e8314097..407b40625b5 100644 --- a/htdocs/core/tpl/bloc_showhide.tpl.php +++ b/htdocs/core/tpl/bloc_showhide.tpl.php @@ -21,9 +21,9 @@ if (isset($parameters['showblocbydefault'])) $hide=(empty($parameters['showblocb if (isset($object->extraparams[$blocname]['showhide'])) $hide = (empty($object->extraparams[$blocname]['showhide']) ? true : false); ?> - + -'."\n"; print '$(document).ready(function() {'."\n"; print '$("#hide-'.$blocname.'").click(function(){'."\n"; @@ -57,7 +57,7 @@ print ' class="linkobject'.($hide ? ' hideobject' : '').'">'.img_picto('', '1upa print '
'.img_picto('', '1downarrow.png').'
'."\n"; print '
'.$title.'
'."\n"; -print '
'."\n"; +print '
'."\n"; include DOL_DOCUMENT_ROOT.'/core/tpl/'.$blocname.'.tpl.php'; print '

';