17 require_once SQ_CORE_PACKAGE_PATH.
'/system/conditions/condition/condition_edit_fns.inc';
18 require_once SQ_ATTRIBUTES_PATH.
'/selection/selection.inc';
43 parent::__construct();
62 <table style=
"width: auto" class=
"no-borders">
64 <td><?php echo translate(
'server_variable'); ?>: </td>
68 text_box($prefix.
'[server_variable]', array_get_index($condition_data,
'server_variable',
''), 30);
70 echo array_get_index($condition_data,
'server_variable',
'');
76 <td><?php echo translate(
'pattern'); ?>: </td>
80 text_box($prefix.
'[server_variable_match]', array_get_index($condition_data,
'server_variable_match'), 30);
82 echo array_get_index($condition_data,
'server_variable_match',
'');
88 <?php echo translate(
'condition_server_variable_is_regular_expression_enabled'); ?>
106 'server_variable' => $_POST[$prefix][
'server_variable'],
107 'server_variable_match' => $_POST[$prefix][
'server_variable_match'],