Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
coax committed Mar 12, 2017
1 parent 48bde7c commit f06082b
Show file tree
Hide file tree
Showing 297 changed files with 759 additions and 461 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ Common issues: https://www.hmailserver.com/documentation/latest/?page=ts_setup_p

Changelog
-----
Version 1.1 (2017-03-12)
- [new] country name and flag in auto-ban info
- [tweak] navigation UI improvements
- [tweak] CSS revamp
- [tweak] selected domain shows all submenus
- [fix] typos in hm_account_externalaccount.php

Version 1.0 (2017-02-08)
- stable release
- minor tweaks and improvements
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_account.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
?>
<div class="box medium">
<h2><?php EchoTranslation("Account") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
if (strlen($error_message) > 0) {
$error_message = PreprocessOutput($obLanguage->String($error_message));
Expand Down
10 changes: 5 additions & 5 deletions hMailAdmin/hm_account_externalaccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
if ($DaysToKeepMessages > 0)
$DaysToKeepMessagesValue = $DaysToKeepMessages;
?>
<div class="box">
<div class="box medium">
<h2><?php EchoTranslation("External account") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_account_externalaccount_save");
Expand All @@ -82,8 +82,8 @@
<option value="0" selected>POP3</option>
</select>
<?php
PrintPropertyEditRow("ServerAddress", "Server address", $Name, 255);
PrintPropertyEditRow("Port", "TCP/IP port", $Name, 25, "number");
PrintPropertyEditRow("ServerAddress", "Server address", $ServerAddress, 255);
PrintPropertyEditRow("Port", "TCP/IP port", $Port, 25, "number");
?>
<p><?php EchoTranslation("Connection security")?></p>
<select name="ConnectionSecurity" class="medium">
Expand All @@ -92,7 +92,7 @@
<option value="<?php echo CONNECTION_SECURITY_TLS?>" <?php if ($ConnectionSecurity == CONNECTION_SECURITY_TLS) echo "selected";?> ><?php EchoTranslation("SSL/TLS")?></a>
</select>
<?php
PrintPropertyEditRow("Username", "User name", $Name, 255);
PrintPropertyEditRow("Username", "User name", $Username, 255);
PrintPasswordEntry("Password", "Password", 255);
?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_account_externalaccounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<td><a href="?page=account_externalaccount&action=edit&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $Name . '</a></td>
<td><a href="?page=account_externalaccount&action=edit&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $ServerAddress . '</a></td>
<td><a href="#" onclick="return Confirm(\'Confirm delete <b>' . $Name . '</b>:\',\'Yes\',\'?page=background_account_externalaccount_save&csrftoken=' . $csrftoken . '&action=delete&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '\');" class="delete">Delete</a></td>
<td><a href="?page=background_account_externalaccount_save&csrftoken=' . $csrftoken& . 'action=downloadnow&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $str_downloadnow . '</a></td>
<td><a href="?page=background_account_externalaccount_save&csrftoken=' . $csrftoken . 'action=downloadnow&domainid=' . $domainid . '&accountid=' . $accountid . '&faid=' . $FAID . '">' . $str_downloadnow . '</a></td>
</tr>' . PHP_EOL;
}
?>
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_alias.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
?>
<div class="box medium">
<h2><?php EchoTranslation("Alias") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
if (strlen($error_message) > 0) {
$error_message = $obLanguage->String($error_message);
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_autoban.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("Auto-ban") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "autoban");
Expand Down
4 changes: 2 additions & 2 deletions hMailAdmin/hm_backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("Backup") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "backup");
Expand All @@ -55,7 +55,7 @@

<div class="box">
<h2><?php EchoTranslation("Actions") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "backup");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_blocked_attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("Blocked attachment") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_blocked_attachment_save");
Expand Down
4 changes: 2 additions & 2 deletions hMailAdmin/hm_diagnostics.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
$resultString .= "<br/><br/>";
}
?>
<div class="box">
<div class="box medium">
<h2><?php EchoTranslation("Diagnostics") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "diagnostics");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_distributionlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
?>
<div class="box medium">
<h2><?php EchoTranslation("Distribution list") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
if (strlen($error_message) > 0) {
$error_message = $obLanguage->String($error_message);
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_distributionlist_recipient.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("Address") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_distributionlist_recipient_save");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_dnsblacklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("DNS blacklist") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_dnsblacklist_save");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
?>
<div class="box medium">
<h2><?php EchoTranslation("Domain") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_domain_save");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_domain_aliasname.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("Alias") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_domain_name_save");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_greylisting.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
?>
<div class="box medium">
<h2><?php EchoTranslation("Greylisting") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "greylisting");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
?>
<div class="box medium">
<h2><?php EchoTranslation("IMAP") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "imap");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_incomingrelay.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("Incoming relay") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_incomingrelay_save");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
?>
<div class="box">
<h2><?php EchoTranslation("Logging") ?></h2>
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="cd-form">
<form action="index.php" method="post" onsubmit="return $(this).validation();" class="form">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "logging");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_login.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
?>
<div class="box" style="margin:auto; float:none; margin-top:10%;">
<div style="width:100%; margin-bottom:18px; font-size:11pt; color:#fff; line-height:45px; text-indent:62px; background:url(modern/css/paperplane.svg) 3% 40% no-repeat #1784c7; background-size:auto 63%;">hMailServer</div>
<form action="<?php echo $hmail_config['rooturl']; ?>index.php" method="post" onsubmit="return $(this).validation();" class="cd-form" name="mainform">
<form action="<?php echo $hmail_config['rooturl']; ?>index.php" method="post" onsubmit="return $(this).validation();" class="form" name="mainform">
<?php
PrintHiddenCsrfToken();
PrintHidden("page", "background_login");
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_logviewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="box large">
<h2><?php EchoTranslation("hMailServer Log Parser") ?></h2>
<div style="margin:0 18px 18px;">
<form action="" class="cd-form" id="log-parser">
<form action="" class="form" id="log-parser">
<?php
PrintHiddenCsrfToken();
?>
Expand Down
Loading

0 comments on commit f06082b

Please sign in to comment.