3
* $ctrl_mappings: 'aspm_distro' || Tools -> Antispam -> Distribute Antispam
5
* @uses antispam_create()
6
* @uses antispam_delete()
7
* @author {@link http://wonderwinds.com/ Ed Bennett}
8
* @copyright (c) 2013 by {@link http://quamplures.net/ the Quam Plures project}
9
* @license http://www.gnu.org/licenses/gpl.txt GNU General Public License v3
12
if(!defined('QP_MAIN_INIT')) die('fail');
14
$AdminUI->set_path( 'tools', 'antispam', 'daspm' );
16
param( 'action', 'string' );
17
param( 'confirm', 'string' );
18
param( 'keyword', 'string', '', true );
19
param( 'domain', 'string' );
20
param( 'filteron', 'string', '', true );
21
param( 'filter', 'array', array() );
23
if( isset( $filter['off'] ) )
26
forget_param( 'filteron' );
30
$current_User->check_perm( 'spamblacklist', 'view', true );
41
// Display <html><head>...</head> section (should be done early if actions do not redirect)
42
$AdminUI->disp_html_head();
43
// Display title, menu, messages, etc... (messages MUST be displayed AFTER the actions)
44
$AdminUI->disp_body_top();
45
// Begin payload block
46
$AdminUI->disp_payload_begin();
47
// Display final (unbound) menu depth
48
echo $AdminUI->get_html_menu( array( 'tools', 'antispam' ), 'menu3' );
51
$AdminUI->disp_view( 'antispam/views/_distribute.view.php' ); // Display blacklist
54
$AdminUI->disp_payload_end();
55
// Display body bottom, debug info, close </html>
56
$AdminUI->disp_global_footer();