|
|
|
@ -499,6 +499,9 @@ function print_add_ticket()
|
|
|
|
|
|
|
|
|
|
echo '<div class="radio"><label><input type="radio" name="'.$k.'" value="'.$option.'" '.$checked.' ' . $required_attribute . '> '.$option.'</label></div>';
|
|
|
|
|
}
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
@ -536,8 +539,11 @@ function print_add_ticket()
|
|
|
|
|
echo '<option '.$selected.'>'.$option.'</option>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
echo '</select>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
echo '</select>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
@ -565,6 +571,9 @@ function print_add_ticket()
|
|
|
|
|
|
|
|
|
|
echo '<div class="checkbox"><label><input ' . $validator . ' type="checkbox" name="'.$k.'[]" value="'.$option.'" '.$checked.' ' . $required_attribute . '> '.$option.'</label></div>';
|
|
|
|
|
}
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
@ -579,8 +588,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<textarea class="form-control" name="'.$k.'" rows="'.intval($v['value']['rows']).'" cols="'.intval($v['value']['cols']).'" '.$required_attribute.'>'.$k_value.'</textarea>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<textarea class="form-control" name="'.$k.'" rows="'.intval($v['value']['rows']).'" cols="'.intval($v['value']['cols']).'" '.$required_attribute.'>'.$k_value.'</textarea>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
@ -597,8 +609,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" name="'.$k.'" value="'.$k_value.'" class="form-control datepicker" size="10" ' . $required_attribute . '>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<input type="text" name="'.$k.'" value="'.$k_value.'" class="form-control datepicker" size="10" ' . $required_attribute . '>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
@ -613,8 +628,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" name="'.$k.'" id="'.$k.'" value="'.$k_value.'" size="40" class="form-control" '.$suggest.' '.$required_attribute.'>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<input type="text" name="'.$k.'" id="'.$k.'" value="'.$k_value.'" size="40" class="form-control" '.$suggest.' '.$required_attribute.'>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="'.$k.'_suggestions"></div>
|
|
|
|
|
</div>';
|
|
|
|
@ -642,8 +660,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" class="form-control white-readonly" name="'.$k.'" size="40" value="'.$v['value']['default_value'].'" readonly>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="text" class="form-control white-readonly" name="'.$k.'" size="40" value="'.$v['value']['default_value'].'" readonly>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
@ -660,8 +681,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" class="form-control" name="'.$k.'" size="40" maxlength="'.intval($v['value']['max_length']).'" value="'.$v['value']['default_value'].'" '.$required_attribute.'>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<input type="text" class="form-control" name="'.$k.'" size="40" maxlength="'.intval($v['value']['max_length']).'" value="'.$v['value']['default_value'].'" '.$required_attribute.'>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
}
|
|
|
|
@ -829,6 +853,9 @@ function print_add_ticket()
|
|
|
|
|
|
|
|
|
|
echo '<div class="radio"><label><input type="radio" name="'.$k.'" value="'.$option.'" '.$checked.' '.$required_attribute.'> '.$option.'</label></div>';
|
|
|
|
|
}
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
@ -865,9 +892,11 @@ function print_add_ticket()
|
|
|
|
|
|
|
|
|
|
echo '<option '.$selected.'>'.$option.'</option>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
echo '</select>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '</select>';
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
@ -895,6 +924,9 @@ function print_add_ticket()
|
|
|
|
|
|
|
|
|
|
echo '<div class="checkbox"><label><input ' . $validator . ' type="checkbox" name="'.$k.'[]" value="'.$option.'" '.$checked.' '.$required_attribute.'> '.$option.'</label></div>';
|
|
|
|
|
}
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
@ -909,8 +941,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<textarea class="form-control" name="'.$k.'" rows="'.intval($v['value']['rows']).'" cols="'.intval($v['value']['cols']).'" '.$required_attribute.'>'.$k_value.'</textarea>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<textarea class="form-control" name="'.$k.'" rows="'.intval($v['value']['rows']).'" cols="'.intval($v['value']['cols']).'" '.$required_attribute.'>'.$k_value.'</textarea>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
@ -927,8 +962,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" name="'.$k.'" value="'.$k_value.'" class="form-control datepicker" size="10" '.$required_attribute.'>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<input type="text" name="'.$k.'" value="'.$k_value.'" class="form-control datepicker" size="10" '.$required_attribute.'>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
@ -943,8 +981,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" name="'.$k.'" id="'.$k.'" value="'.$k_value.'" size="40" class="form-control" '.$suggest.' '.$required_attribute.'>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<input type="text" name="'.$k.'" id="'.$k.'" value="'.$k_value.'" size="40" class="form-control" '.$suggest.' '.$required_attribute.'>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="'.$k.'_suggestions"></div>
|
|
|
|
|
</div>';
|
|
|
|
@ -972,8 +1013,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" class="form-control white-readonly" name="'.$k.'" size="40" value="'.$v['value']['default_value'].'" readonly>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="text" class="form-control white-readonly" name="'.$k.'" size="40" value="'.$v['value']['default_value'].'" readonly>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '</div>
|
|
|
|
|
</div>';
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
@ -990,8 +1034,11 @@ function print_add_ticket()
|
|
|
|
|
<div class="form-group '.$cls.'">
|
|
|
|
|
<label for="'.$k.'" class="col-sm-3 control-label">'.$v['name'].' '.$v['req'].'</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<input type="text" class="form-control" name="'.$k.'" size="40" maxlength="'.intval($v['value']['max_length']).'" value="'.$v['value']['default_value'].'" ' . $required_attribute . '>
|
|
|
|
|
<div class="help-block with-errors"></div>
|
|
|
|
|
<input type="text" class="form-control" name="'.$k.'" size="40" maxlength="'.intval($v['value']['max_length']).'" value="'.$v['value']['default_value'].'" ' . $required_attribute . '>';
|
|
|
|
|
if (!empty($v['mfh_description'])) {
|
|
|
|
|
echo '<div class="help-block">' . $v['mfh_description'] . '</div>';
|
|
|
|
|
}
|
|
|
|
|
echo '<div class="help-block with-errors"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>';
|
|
|
|
|
}
|
|
|
|
|