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 '

';