Changed README, disabled unneded features, Hiding some features from the GUI

This commit is contained in:
mlmmj mailinglist daemon and simple webinterface
2021-07-23 15:29:31 +02:00
parent 1e0a17e6cf
commit 81d0c6e6ef
66 changed files with 2143 additions and 34 deletions

View File

@@ -0,0 +1,90 @@
<?php
/* Smarty version 3.1.31, created on 2021-07-23 15:15:40
from "/home/pacs/ecg00/users/mlmmj/doms/list.ecogood.org/htdocs-ssl/mlmmj-light-web-ecg/misc/smarty/templates_en/login.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.31',
'unifunc' => 'content_60fac0fc392119_19400816',
'has_nocache_code' => false,
'file_dependency' =>
array (
'bebbc40e386876d1f34a8c037161406e34f7e878' =>
array (
0 => '/home/pacs/ecg00/users/mlmmj/doms/list.ecogood.org/htdocs-ssl/mlmmj-light-web-ecg/misc/smarty/templates_en/login.tpl',
1 => 1485892620,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_60fac0fc392119_19400816 (Smarty_Internal_Template $_smarty_tpl) {
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<?php echo '<script'; ?>
>
function validate_form()
{
var domain = document.getElementById('domain_input').value;
var password = document.getElementById('password_input').value;
if (domain == "")
{
alert("Enter domain.");
return false;
}
if (password == "")
{
alert("Enter password.");
return false;
}
if ( domain.match(/[^A-Za-z0-9\-\.]/) )
{
alert("Domain can contain only english letters, dots, hyphens and digits.");
return false;
}
if ( password.match(/[^A-Za-z0-9]/) )
{
alert("Password can contain only english letters and digits.");
return false;
}
}
<?php echo '</script'; ?>
>
</head>
<body>
<div id="header">Mailing lists service</div>
<div id="login">
<div id="login_form">
<form method="post" action="login.php" onsubmit="return validate_form()">
<div id="domain">
<div id="domain_left">
Domain:
</div>
<div id="domain_right">
<input type="text" name="login_domain" id="domain_input">
</div>
</div>
<div id="password">
<div id="password_left">
Password:
</div>
<div id="password_right">
<input type="password" name="login_pass" id="password_input">
</div>
</div>
<div id="enter">
<input type="submit" name="submit" value="Enter">
</div>
</form>
</div>
</div>
</body>
</html>
<?php }
}