예제 #1
0


</script>


<form action="index.php" name="mainForm" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_rule_save");
PrintHidden("savetype", "action");
PrintHidden("action", $action);
PrintHidden("domainid", $domainid);
PrintHidden("accountid", $accountid);
PrintHidden("ruleid", $ruleid);
PrintHidden("actionid", $actionid);
?>
      
   
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
               <td>
                   <select name="Type" id="Type" onchange="togglePanel()" onkeyup="togglePanel(this)">
예제 #2
0
?>
             
         </form>
      </div>
      
      <div class="tabbertab">
          <h2><?php 
EchoTranslation("Actions");
?>
</h2>      
          
         <form action="index.php" method="post" onSubmit="return formCheck(this);">
           
            <?php 
PrintHidden("page", "backup");
PrintHidden("action", "startbackup");
?>
   
            
            <table border="0" width="100%" cellpadding="5">
         	<tr>
         		<td colspan="1">  
         		   <br/>
         		   <input type="submit" value="Start">
         		</td>
         	</tr>		
         	</table>
         </form>
      </div>
   </div>
        
}
?>

<h1><?php 
EchoTranslation("External account");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">
	
   <?php 
PrintHidden("page", "background_account_externalaccount_save");
PrintHidden("action", $action);
PrintHidden("faid", $faid);
PrintHidden("domainid", $domainid);
PrintHidden("accountid", $accountid);
?>
   
   <div class="tabber">
      <div class="tabbertab">
          <h2><?php 
EchoTranslation("General");
?>
</h2>            
   
         	<table border="0" width="100%" cellpadding="5">
         		<tr>
         			<td width="30%"><?php 
EchoTranslation("Enabled");
?>
</td>
예제 #4
0
$MaxNumberOfAccountsEnabledChecked = hmailCheckedIf1($MaxNumberOfAccountsEnabled);
$MaxNumberOfAliasesEnabledChecked = hmailCheckedIf1($MaxNumberOfAliasesEnabled);
$MaxNumberOfDistributionListsEnabledChecked = hmailCheckedIf1($MaxNumberOfDistributionListsEnabled);
?>

     
<h1><?php 
EchoTranslation("Domain");
?>
</h1>
<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_domain_save");
PrintHidden("action", $action);
PrintHidden("domainid", $DomainID);
?>
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>
   
      	<table border="0" width="100%" cellpadding="5">
            <tr>
      			<td width="30%"><?php 
EchoTranslation("Name");
?>
</td>
예제 #5
0
$IMAPACLEnabled = $obSettings->IMAPACLEnabled;
$IMAPSASLPlainEnabled = $obSettings->IMAPSASLPlainEnabled;
$IMAPSASLInitialResponseEnabled = $obSettings->IMAPSASLInitialResponseEnabled;
$IMAPMasterUser = $obSettings->IMAPMasterUser;
$IMAPHierarchyDelimiter = $obSettings->IMAPHierarchyDelimiter;
?>

<h1><?php 
EchoTranslation("IMAP");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">
   <?php 
PrintHidden("page", "imap");
PrintHidden("action", "save");
?>
   
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>       

      	<table border="0" width="100%" cellpadding="5">
            <tr>
               <th width="30%"></th>
               <th width="70%"></th>
            </tr>   
예제 #6
0
// Only server can change these settings.
$domainid = hmailGetVar("domainid", 0);
$action = hmailGetVar("action", "");
?>

<h1><?php 
EchoTranslation("Alias");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_domain_name_save");
PrintHidden("action", $action);
PrintHidden("domainid", $domainid);
?>
      
   
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>    
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
      			<td width="30%"><?php 
EchoTranslation("Name");
예제 #7
0
<h1><?php 
EchoTranslation("Diagnostics");
?>
</h1>

   <div class="tabber">
      <div class="tabbertab">
          <h2><?php 
EchoTranslation("General");
?>
</h2>            
   
         <form action="index.php" method="post" onSubmit="return formCheck(this);">
            <?php 
PrintHidden("page", "diagnostics");
PrintHidden("action", "performTests");
EchoTranslation("This tool lets you perform diagnostics on your hMailServer installation.");
echo "<br/><br/>";
EchoTranslation("Select the domain you want to run tests on.");
echo "<br/><br/>";
echo '<select name="LocalDomainName">';
$obDomains = $obBaseApp->Domains;
for ($i = 0; $i < $obDomains->Count; $i++) {
    $domain = $obDomains[$i];
    echo '<option value="' . $domain->Name . '">' . $domain->Name . '</option>';
}
echo "</select>";
?>
               
            
            <br/><br/><br/>
예제 #8
0
    $EmailAddress = "";
    $Description = "";
}
?>

<h1><?php 
EchoTranslation("White listing");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_whitelistaddress_save");
PrintHidden("action", "{$action}");
PrintHidden("ID", "{$ID}");
?>
	
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>             
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
      			<td width="30%"><?php 
EchoTranslation("Description");
?>
</td>
예제 #9
0
    $routeaddress = $obRouteAddress->Address;
}
?>

<h1><?php 
EchoTranslation("Address");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_route_address_save");
PrintHidden("action", $action);
PrintHidden("routeid", $routeid);
PrintHidden("routeaddressid", $routeaddressid);
?>
      
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>          
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
      			<td width="30%"><?php 
EchoTranslation("Address");
?>
예제 #10
0
    $RejectMessage = $dnsBlackList->RejectMessage;
    $Score = $dnsBlackList->Score;
}
?>

<h1><?php 
EchoTranslation("DNS blacklist");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_dnsblacklist_save");
PrintHidden("action", $action);
PrintHidden("id", $id);
?>
      
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
            <tr>
               <th width="30%"></th>
               <th width="70%"></th>
            </tr>           
}
?>

<h1><?php 
EchoTranslation("Address");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_distributionlist_recipient_save");
PrintHidden("action", $action);
PrintHidden("distributionlistid", $distributionlistid);
PrintHidden("domainid", $domainid);
PrintHidden("recipientid", $recipientid);
?>
      
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>          
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
      			<td width="30%"><?php 
EchoTranslation("Address");
?>
예제 #12
0
<?php

if (!defined('IN_WEBADMIN')) {
    exit;
}
?>
   <br/>
   <br/>
   <form action="<?php 
echo $hmail_config['rooturl'];
?>
index.php" method="post" onSubmit="return formCheck(this);" name="mainform">
   
      <?php 
PrintHidden("page", "background_login");
?>

      <br/><br/>
      <div align="center">
         <img src="images/hm_logotype.jpg" border="0" align="middle" alt="">  
      </div>
      
      <table width="250" align="center">
         <tr>
            <td>

            	<br/><br/>
            	<?php 
$error = hmailGetVar("error");
if ($error == "1") {
    EchoTranslation("Incorrect username or password.");
예제 #13
0
<h1><?php 
EchoTranslation("Criteria");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_rule_save");
PrintHidden("savetype", "criteria");
PrintHidden("action", $action);
PrintHidden("domainid", $domainid);
PrintHidden("accountid", $accountid);
PrintHidden("ruleid", $ruleid);
PrintHidden("criteriaid", $criteriaid);
?>
      
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
            <tr>
               <th width="30%"></th>
               <th width="70%"></th>
            </tr>            
예제 #14
0
         <form action="index.php" method="post" onSubmit="return formCheck(this);">
         
         <?php 
PrintHidden("page", "status");
PrintHidden("action", "control");
?>
         

         <tr>
            <td><?php 
EchoTranslation("Action");
?>
</td>
            <td>
               <?php 
PrintHidden("controlaction", $controlaction);
?>
               <input type="submit" value="<?php 
echo $controlbutton;
?>
">
            </td>
         </tr> 
         </form> 
         <tr>
            <td>
              <i><?php 
EchoTranslation("Server information");
?>
 </i>
            </td>
예제 #15
0
$messageid = hmailGetVar("messageid", 0);
$obServerMessage = $obBaseApp->Settings->ServerMessages->ItemByDBID($messageid);
$messagename = $obServerMessage->Name;
$messagetext = $obServerMessage->Text;
?>

<h1><?php 
EchoTranslation("Server message");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_servermessage_save");
PrintHidden("messageid", "{$messageid}");
?>
	
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
      			<td width="10%"><?php 
EchoTranslation("Name");
?>
</td>
예제 #16
0
?>

<h1><?php 
EchoTranslation("Rule");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_rule_save");
PrintHidden("savetype", "rule");
PrintHidden("action", $action);
PrintHidden("domainid", $domainid);
PrintHidden("accountid", $accountid);
PrintHidden("ruleid", $ruleid);
?>
      
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
            <?php 
PrintPropertyEditRow("Name", "Name", $Name);
PrintCheckboxRow("Active", "Active", $Active);
PrintCheckboxRow("UseAND", "Use a AND", $UseAND);
예제 #17
0
<?php 
if (strlen($error_message) > 0) {
    $error_message = $obLanguage->String($error_message);
    echo "<font color=\"red\"><b>{$error_message}</b></font><br><br>";
}
?>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

	
   <?php 
PrintHidden("page", "background_alias_save");
PrintHidden("action", $action);
PrintHidden("domainid", $domainid);
PrintHidden("aliasid", $aliasid);
?>
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>    
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
      			<td width="30%"><?php 
EchoTranslation("Redirect from");
?>
</td>
예제 #18
0
$allowremotetolocalchecked = hmailCheckedIf1($allowremotetolocal);
$allowremotetoremotechecked = hmailCheckedIf1($allowremotetoremote);
$IsForwardingRelayChecked = hmailCheckedIf1($IsForwardingRelay);
?>

<h1><?php 
EchoTranslation("IP range");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_securityrange_save");
PrintHidden("action", $action);
PrintHidden("securityrangeid", $securityrangeid);
?>
	
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
   
      	<table border="0" width="100%" cellpadding="5">
      		<tr>
      			<td width="30%"><?php 
EchoTranslation("Name");
?>
예제 #19
0
    $SSLCertificateID = $obTCPIPPort->SSLCertificateID;
    $Address = $obTCPIPPort->Address;
}
?>

<h1><?php 
EchoTranslation("TCP/IP port");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_tcpipport_save");
PrintHidden("action", "{$action}");
PrintHidden("tcpipportid", "{$tcpipportid}");
?>

   
   <div class="tabber">
      <div class="tabbertab">
          <h2><?php 
EchoTranslation("General");
?>
</h2>            
      
         	<table border="0" width="100%" cellpadding="5">
         		<tr>
         			<td width="20%"><?php 
EchoTranslation("Protocols");
?>
예제 #20
0
    $CertificateFile = $sslCertificate->CertificateFile;
    $PrivateKeyFile = $sslCertificate->PrivateKeyFile;
}
?>

<h1><?php 
EchoTranslation("SSL certificate");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_sslcertificate_save");
PrintHidden("action", "{$action}");
PrintHidden("id", "{$id}");
?>

   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
            <tr>
               <th width="30%"></th>
               <th width="70%"></th>
            </tr>   
            <?php 
예제 #21
0
    $relaylowerip = $obIncomingRelay->LowerIP;
    $relayupperip = $obIncomingRelay->UpperIP;
}
?>

<h1><?php 
EchoTranslation("Incoming relay");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_incomingrelay_save");
PrintHidden("action", $action);
PrintHidden("relayid", $relayid);
?>
      
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("General");
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
         
      		<tr>
      			<td width="30%"><?php 
EchoTranslation("Name");
예제 #22
0
    $ConnectionSecurity = $obRoute->ConnectionSecurity;
    $AllAddresses = $obRoute->AllAddresses;
}
?>

<h1><?php 
EchoTranslation("Route");
?>
</h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">

   <?php 
PrintHidden("page", "background_route_save");
PrintHidden("action", $action);
PrintHidden("routeid", $routeid);
?>
      
   
   
      <div class="tabber">
         <div class="tabbertab">
            <h2><?php 
EchoTranslation("General");
?>
</h2>      
      
         	<table border="0" width="100%" cellpadding="5">
         		<tr>
         			<td width="30%"><?php 
EchoTranslation("Domain");
예제 #23
0
?>
               
         		   <input type="submit" value="<?php 
EchoTranslation("Check syntax");
?>
">
         		</td>
         	</tr>		
         	</table>
         </form>

         <form action="index.php" method="post" onSubmit="return formCheck(this);">
         
            <?php 
PrintHidden("page", "scripts");
PrintHidden("action", "reloadscripts");
?>
            

            <table border="0" width="100%" cellpadding="5">
         	<tr>
         		<td colspan="1">  
         		   <br/>
         		   <input type="submit" value="<?php 
EchoTranslation("Reload scripts");
?>
">
         		</td>
         	</tr>		
         	</table>
       </form>