exit; } if (isset($_GET["keywords-edit"])) { keywords_edit(); exit; } if (isset($_GET["keywords-edit-save"])) { keywords_edit_save(); exit; } if (isset($_GET["SimpleKeywordDisable"])) { SimpleKeywordDisable(); exit; } if (isset($_GET["SimpleWordsDelete"])) { SimpleWordsDelete(); exit; } js(); function js() { $tpl = new templates(); $page = CurrentPageName(); $title = $tpl->_ENGINE_parse_body("{APP_SPAMASSASSIN}::{block_keywords}"); echo "YahooWin3('700','{$page}?tabs=yes','{$title}');"; } function tabs() { $page = CurrentPageName(); $tpl = new templates(); $array["keywords"] = '{block_keywords}';
$user=new usersMenus(); if($user->AsPostfixAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["keywords"])){keywords();exit;} if(isset($_GET["keywords-popup"])){keywords_add_popup();exit;} if(isset($_GET["keywords-list"])){keywords_list();exit;} if(isset($_POST["keywords-save"])){keywords_add();exit;} if(isset($_GET["keywords-edit"])){keywords_edit();exit;} if(isset($_GET["keywords-edit-save"])){keywords_edit_save();exit;} if(isset($_GET["SimpleKeywordDisable"])){SimpleKeywordDisable();exit;} if(isset($_GET["SimpleWordsDelete"])){SimpleWordsDelete();exit;} js(); function js(){ $tpl=new templates(); $page=CurrentPageName(); $title=$tpl->_ENGINE_parse_body("{APP_SPAMASSASSIN}::{block_keywords}"); echo "YahooWin3('700','$page?tabs=yes','$title');"; } function tabs(){