index 090880d6a1613d6172593d79ddea1244cc8b0a08..05f4895141ed53d8f739a4e24f7e1888d3b6964b 100644 (file)
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'] ="";