function popup() { $table = popup_table(); $html = "\n\t<p style='font-size:13px'>{smtp_sync_artica_explain}</p>\n\t<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top'><div id='sync-table' style='width:100%;height:250px;overflow:auto;padding:3px;border:1px solid #CCCCCC'>{$table}</div></td>\n\t\t<td valign='top' style='padding-left:5px'>" . Paragraphe("sender-relay-table.png", "{smtp_sync_artica_add}", "{smtp_sync_artica_add_text}", "javascript:AddServerSyncArticaSMTP()") . "</td>\n\t</tr>\n\t</table>\n\t\n\t\t"; $tpl = new templates(); echo $tpl->_ENGINE_parse_body($html); }
$tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_POST["SquidTemplateSimple"])){SquidTemplateSimple_save();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["template-settings-js"])){template_settings_js();exit;} if(isset($_POST["newtemplate"])){TEMPLATE_ADD_SAVE();exit;} if(isset($_POST["template_body"])){ZOOM_SAVE();exit;} if(isset($_POST["TEMPLATE_DATA"])){TEMPLATE_SAVE();} if(isset($_POST["template_header"])){TEMPLATE_HEADER_SAVE();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["popup-table"])){popup_table();exit;} if(isset($_GET["view-table"])){view_table();exit;} if(isset($_GET["TEMP"])){FormTemplate();exit;} if(isset($_GET["Zoom-js"])){ZOOM_JS();exit;} if(isset($_GET["Zoom-popup"])){ZOOM_POPUP();exit;} if(isset($_GET["Select-lang"])){select_lang();exit;} if(isset($_GET["headers-js"])){HEADER_JS();exit;} if(isset($_GET["Headers-popup"])){HEADERS_POPUP();exit;} if(isset($_GET["preview"])){ZOOM_PREVIEW();exit;} if(isset($_POST["tpl-remove"])){TEMPLATE_REMOVE();exit;} if(isset($_GET["new-template"])){TEMPLATE_ADD();exit;} if(isset($_POST["ChooseAclsTplSquid"])){TEMPLATE_AFFECT();exit;} if(isset($_GET["replace-js"])){REPLACE_JS();exit;} if(isset($_GET["replace-popup"])){REPLACE_POPUP();exit;} if(isset($_POST["RebuidSquidTplDefault"])){RebuidSquidTplDefault();exit;} if(isset($_POST["replace-from"])){REPLACE_PERFORM();exit;}
TEMPLATE_SAVE(); } if (isset($_POST["template_header"])) { TEMPLATE_HEADER_SAVE(); exit; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["popup-table"])) { popup_table(); exit; } if (isset($_GET["view-table"])) { view_table(); exit; } if (isset($_GET["TEMP"])) { FormTemplate(); exit; } if (isset($_GET["Zoom-js"])) { ZOOM_JS(); exit; } if (isset($_GET["Zoom-popup"])) {
die; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["add"])) { popup_add(); exit; } if (isset($_GET["servername"])) { popup_save(); exit; } if (isset($_GET["sync-table"])) { echo popup_table(); exit; } if (isset($_GET["delete"])) { popup_delete(); exit; } js(); function js() { $page = CurrentPageName(); $tpl = new templates(); $title = $tpl->_ENGINE_parse_body('{smtp_sync_artica}'); $title2 = $tpl->_ENGINE_parse_body('{smtp_sync_artica_add}'); $html = "\n\t\tfunction smtp_sync_artica_start(){\n\t\t\tYahooWin2(600,'{$page}?popup=yes','{$title}');\n\t\t}\n\n\t\t\n\t\tfunction SaveServerSyncArticaSMTP(){\n\t\tvar XHR = new XHRConnection();\n\t\tXHR.appendData('PostfixAddRelayRecipientTableSave','yes');\n\t\tXHR.appendData('recipient',document.getElementById('recipient').value);\n\t\tXHR.sendAndLoad('{$page}', 'GET',X_PostfixDeleteRelayRecipient);\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tfunction RefreshList(){\n\t\t\tLoadAjax('sync-table','{$page}?sync-table=yes');\n\t\t}\n\t\n\n\t\n\t\t\n\t\n\n\t\n\tsmtp_sync_artica_start();\n\t"; echo $html;