Commit | Line | Data |
---|---|---|
b19786ca PH |
1 | <div class="rubrique"><?php i18n('global_title'); ?></div> |
2 | <?php | |
3 | i18n('global_help'); | |
4 | if(count($philter->config['global_plugins'])) { | |
5 | echo "<form action=\"{$_SERVER['REQUEST_URI']}\" method=\"post\">\n" | |
6 | ."<table width=\"95%\" class=\"bicol\" cellspacing=\"1\" cellpadding=\"1\" align=\"center\">\n"; | |
7 | ||
8 | $pair = 0; | |
9 | foreach($philter->config['global_plugins'] as $id=>$g_plugin) { | |
10 | echo "<tr><td class='".($pair ? 'pair':'impair')."'>\n"; | |
11 | echo $g_plugin->to_form($filter->get_global_data($id)); | |
12 | echo "</td></tr>\n"; | |
13 | $pair = 1 - $pair; | |
14 | } | |
15 | ||
16 | echo "</table><br />\n" | |
17 | ."<center><input type='submit' name='global[submit]' value='" | |
18 | ._i18n('apply_changes')."'/></center\n" | |
19 | ."</form>\n"; | |
20 | } | |
21 | ||
22 | /********** emails **********/ | |
23 | ?> | |
24 | <br /> | |
25 | <div class="rubrique"><?php i18n('pool_title'); ?></div> | |
26 | <?php | |
27 | i18n('pool_help'); | |
28 | echo $mail_pool->to_form(); | |
29 | ?> | |
30 | <div class="rubrique"><?php i18n('filter_adv'); ?></div> | |
31 | <?php i18n('filter_adv_txt'); ?> | |
32 | <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> | |
33 | <center> | |
34 | <input type="submit" value='<?php i18n('filter_adv') ?>' name='set_adv' /> | |
35 | </center> | |
36 | </form> |