示例#1
0
function Page_mime()
{
    $toolbar = ToolBarr();
    $html = "{$toolbar}<p>{mime_attachments_explain}</p>\n<table '>\n\t<tr class='rowB'>\n\t\t<td>{mime_attachments_add}</td>\n\t\t<td ><input type='text' id='extension' value=''></td>\n\t\t<td ><input type='button' value='Submit&nbsp;&raquo;' OnClick=\"javascript:add_filter_extension();\"></td>\n\t</tr>\t\n\t\n\t\n</tr>\n</table>\t\n<div id='extension_list'>" . ExtensionsList() . "</div>\n\n\n\n";
    $tpl = new templates('{title_mime}', $html);
    echo $tpl->web_page;
}
示例#2
0
    xdelete_domain_text();
    exit;
}
if (isset($_GET["delete_domain_confirm"])) {
    delete_domain_confirm();
    exit;
}
if (isset($_GET["MailBoxStorage"])) {
    MailBoxStorage();
    exit;
}
if (isset($_GET["add_storage_mailbox"])) {
    add_storage_mailbox();
    exit;
}
$toolbarr = ToolBarr() . "{PAGE_TEXT}<br><div id='domain_list'>" . List_domains() . "</div>";
$html = $toolbarr;
$tpl = new templates('{title}', $html);
echo $tpl->web_page;
function ToolBarr()
{
    $page = CurrentPageName();
    $html = "\n<div id=\"green_top_list_container\">\n<ul id=\"green_top_list\">\n<li><a href=\"javascript:AddDomain();\">{bt_add_domain}</a></li>\n</ul>\n</div>\n<div style='clear:both;margin:4px'>&nbsp;</div>\n\t\n\t";
    return $html;
}
function AddDomain()
{
    $boxes = new MailBoxes();
    $boxes->add_domain($_GET["AddDomain"]);
    echo List_domains();
}