mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
fixes #88 - checkboxes and options rows being displayed on create/edit page.
This commit is contained in:
@@ -2837,6 +2837,11 @@ class e_form
|
|||||||
$key = $att['field'];
|
$key = $att['field'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($key == 'checkboxes' || $key == 'options')
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$parms = vartrue($att['formparms'], array());
|
$parms = vartrue($att['formparms'], array());
|
||||||
if(!is_array($parms)) parse_str($parms, $parms);
|
if(!is_array($parms)) parse_str($parms, $parms);
|
||||||
$label = vartrue($att['note']) ? '<div class="label-note">'.deftrue($att['note'], $att['note']).'</div>' : '';
|
$label = vartrue($att['note']) ? '<div class="label-note">'.deftrue($att['note'], $att['note']).'</div>' : '';
|
||||||
@@ -2853,7 +2858,7 @@ class e_form
|
|||||||
$keyName .= '['.$path.']';
|
$keyName .= '['.$path.']';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// print_a($att)."<br />";
|
||||||
// type null - system (special) fields
|
// type null - system (special) fields
|
||||||
if(vartrue($att['type']) !== null && !vartrue($att['noedit']) && $key != $model->getFieldIdName())
|
if(vartrue($att['type']) !== null && !vartrue($att['noedit']) && $key != $model->getFieldIdName())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user