function popup_index() { $html = "\n<table style='width:600px' align=center>\n<td valign='top' style='text-align:justify'>" . RoundedLightWhite("<p class=caption>{smtp_fallback_relay_tiny}<br>{smtp_fallback_relay_text}</p>") . "</td>\n</tr>\n</table>\n<table style='width:600px' align=center>\n<tr>\n<td align='center'><input type='button' value='{add_server} »' OnClick=\"javascript:PostfixAddFallBackServer();\"></td></tr>\n<tr>\n<td>" . RoundedLightWhite("<div id='table_list'>" . PostfixAddFallBackerserverList() . "</div>") . "</td></tr>\n</table>\n"; $js["JS"][] = 'js/postfix-fallback.js'; $tpl = new Templates(); echo $tpl->_ENGINE_parse_body($html); }
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); session_start(); include_once "ressources/class.templates.inc"; include_once "ressources/class.ldap.inc"; include_once "ressources/class.main_cf.inc"; if (isset($_GET["PostfixAddFallBackServer"])) { PostfixAddFallBackServer(); exit; } if (isset($_POST["PostfixAddFallBackerserverSave"])) { PostfixAddFallBackerserverSave(); exit; } if (isset($_GET["PostfixAddFallBackerserverLoad"])) { echo PostfixAddFallBackerserverList(); exit; } if (isset($_POST["PostfixAddFallBackerserverDelete"])) { PostfixAddFallBackerserverDelete(); exit; } if (isset($_GET["PostfixAddFallBackServerMove"])) { PostfixAddFallBackServerMove(); exit; } if (isset($_GET["popup-index"])) { popup_index(); exit; } js();