This commit is contained in:
MatteoPistorello 2022-07-15 10:39:32 +02:00
commit af716d3d72
2 changed files with 4 additions and 3 deletions

View File

@ -76,7 +76,7 @@ if (Auth::check()) {
clock();
// Hooks
startHooks();
setTimeout("startHooks();", 1000);
// Abilitazione del cron autonoma
$.get(globals.rootdir + "/cron.php");

View File

@ -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 .= '
<div class="form-group '.$values['class'].'">
<div class="form-group '.$extra_class.'">
<label for="'.prepareToField($values['id']).'">'.(empty($values['help']) ? $values['label'] : '<span class="tip" title="'.prepareToField($values['help']).'">'.$values['label'].' <i class="fa fa-question-circle-o"></i></span>').'</label>';
}