instance for this condition
// $object_id - ID# of the object to which the condition belongs
// $id - temporary ID number for the condition
// $field_name - search path / name for the field
?>
getLabel(); ?>
getCriteria();
foreach ($parts as $name=>$F) {
if (substr($name, -7) == '+method') {
// XXX: Hack — drop visibility connection between the method drop-down
// and the enabled checkbox
unset($F->ht['visibility']);
// Set the select method, if any
if ($crit_method)
$F->value = $crit_method;
}
if ($crit_value && strpos($name, "+{$crit_method}") > 0) {
$F->value = $crit_value;
}
}
$form = new SimpleForm($parts, false, array('id' => $id));
foreach ($form->getFields() as $F) { ?>
getProperties() as $prop=>$v) {
include 'queue-column-condition-prop.tmpl.php';
} ?>