diff --git a/include/bottom.php b/include/bottom.php index 918715b39..d3265c6a3 100755 --- a/include/bottom.php +++ b/include/bottom.php @@ -76,7 +76,7 @@ if (Auth::check()) { clock(); // Hooks - startHooks(); + setTimeout("startHooks();", 1000); // Abilitazione del cron autonoma $.get(globals.rootdir + "/cron.php"); diff --git a/src/HTMLBuilder/Wrapper/HTMLWrapper.php b/src/HTMLBuilder/Wrapper/HTMLWrapper.php index 9970c7d4f..8af8f1d5f 100755 --- a/src/HTMLBuilder/Wrapper/HTMLWrapper.php +++ b/src/HTMLBuilder/Wrapper/HTMLWrapper.php @@ -29,9 +29,10 @@ class HTMLWrapper implements WrapperInterface public function before(&$values, &$extras) { $result = ''; + $extra_class = ''; if( $values['type']=='checkbox' ){ - $values['class'] .= ' checkbox-group'; + $extra_class = 'checkbox-group'; } // Valori particolari @@ -41,7 +42,7 @@ class HTMLWrapper implements WrapperInterface // Generazione dell'etichetta if (!empty($values['label'])) { $result .= ' -