index 2ddd66d47aba542597d636993011cae41d7ccc2b..05f4895141ed53d8f739a4e24f7e1888d3b6964b 100644 (file)
function sieve_if($elements,$object_id,$parent)
{
$this->parent = $parent;
- print_a($elements);;
/* Possible address parts we can select */
$this->address_parts = array(
default:
{
if(isset($data['LastError']) && !empty($data['LastError'])){
- print_a(array($data));
$ret[] = $data['LastError'];
}
}
}
/* Add allof/anyof tag */
- $script.= " ".$key." ( ";
+ if($Inverse){
+ $script .= "not ";
+ }
+ $script.= $key." ( ";
/* Add each test parameter */
foreach($data as $key2 => $dat){
$Units = array( "M" => _("Megabyte") ,
"K" => _("Kilobyte"));
+ /* Toggle Inverse ? */
+ if(isset($_POST['toggle_inverse_'.$element_id])){
+ $parsed[$key]['Inverse'] = !$parsed[$key]['Inverse'];
+ }
+
/* Reset error */
$parsed[$key]['LastError'] ="";