handle_form()) echo "

".$philter->error()."

\n"; if(!empty($_POST['order']['action'])) // FORM order if($_POST['order']['action']=='submit') { foreach($filter->rules as $id=>$rule) if(isset($_POST['order'][$id])) $filter->rules[$id]->move_to($_POST['order'][$id], $filter->uid, $id); uasort($filter->rules, 'rule_cmp'); } elseif($_POST['order']['action']=='delete' && !empty($_POST['order']['select'])) { $filter->delete_rule($_POST['order']['select']); $_POST['order']['select'] = min(count($filter->rules),$_POST['order']['select']); } if(!empty($_POST['rule'])) // FORM rule if(!$filter->handle_form()) echo "

".$philter->error()."

\n"; } require("include/js_factory.inc.php"); /********** globals plugins **********/ if(count($philter->config['global_plugin'])) { echo "\n" ."
\n" ."\n" .""; foreach($philter->config['global_plugin'] as $g_plugin) { echo "\n"; } echo "
Global rules
\n"; echo $g_plugin->to_form(/* data */); echo "
\n" ."
\n"; } /********** emails **********/ ?> \n
Emails pool
to_form(); echo "
\n"; /********** filters **********/ ?>
Filtering rules
rules as $id=>$rule) echo "rank}\" />\n"; $presel = (isset($_POST['rule']['id']) ? $_POST['rule']['id'] : (isset($_POST['order']['select']) ? $_POST['order']['select'] : 0)); echo "
Rule Configuration
Name of this rule :
All matches One match
Blocking Rule
Matches List
Actions List