Kleinere Bugfixes und Maillistenadministration (über virtualalias) hinzugefügt.

This commit is contained in:
hmrhkr committed 2019-08-31 17:11:55 +02:00
1 parent 54cd16953b
commit cb81230798
13 files changed
+388 -137

No files matched your search

+7 -3
View File
@@ -15,6 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
session_start();
$config = parse_ini_file('../private/config.ini');
if (!isset($_SESSION['log']) OR $_SESSION['log'] != 1) {
echo '<html>
<head>
@@ -29,9 +30,12 @@ if (!isset($_SESSION['log']) OR $_SESSION['log'] != 1) {
<label>Nutzername<input name="username" type="text"/></label>
<label>Passwort<input name="password" type="password"/></label>
<input name="Submit" type="submit" value="Einloggen"/>
</form>
<h3>Neues Konto erstellen:</h3>
<a href="bin/createmailpre.php"><button>Kontoerstellung</button></a>
</form>';
if ($config['allowregistration']) {
echo '<h3>Neues Konto erstellen:</h3>
<a href="bin/createmailpre.php"><button>Kontoerstellung</button></a>';
}
echo '
</body>
</html>
';