implemented editing of list credentials for admin/owner, fixed bug:
if login fails due to wrong auth, it is no longer repeated. instead, the list is disabeld
This commit is contained in:
@@ -9,66 +9,8 @@
|
||||
<body id="add_list">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
<h1>Widerhall List Creation</h1>
|
||||
«messages()»
|
||||
<form method="POST" action="add_list">
|
||||
<fieldset>
|
||||
<legend>List configuration</legend>
|
||||
<fieldset>
|
||||
<legend>Basic data</legend>
|
||||
<label>
|
||||
<input type="text" name="name" value="«data.name»" id="name" />
|
||||
List name
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="email" value="«data.email»" id="email" />
|
||||
List E-Mail Address
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>IMAP protocol</legend>
|
||||
<label>
|
||||
<input type="text" name="imap_host" value="«data.imap_host»" id="imap_host" />
|
||||
Hostname
|
||||
</label>
|
||||
<label>
|
||||
<input type="number" name="imap_port" value="«data.imap_port»" id="imap_port" />
|
||||
Port
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="imap_user" value="«data.imap_user»" id="imap_user" />
|
||||
Username
|
||||
</label>
|
||||
<label>
|
||||
<input type="password" name="imap_pass" value="«data.imap_pass»" id="imap_pass" />
|
||||
Password
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="inbox" value="«if(data.inbox)»«data.inbox»«else»INBOX«endif»" id="imap_inbox" />
|
||||
Inbox name
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>SMTP protocol</legend>
|
||||
<label>
|
||||
<input type="text" name="smtp_host" value="«data.smtp_host»" id="smtp_host" />
|
||||
Hostname
|
||||
</label>
|
||||
<label>
|
||||
<input type="number" name="smtp_port" value="«data.smtp_port»" id="smtp_port" />
|
||||
Port
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="smtp_user" value="«data.smtp_user»" id="smtp_user" />
|
||||
Username
|
||||
</label>
|
||||
<label>
|
||||
<input type="password" name="smtp_pass" value="«data.smtp_pass»" id="smtp_pass" />
|
||||
Password
|
||||
</label>
|
||||
</fieldset>
|
||||
<button type="submit">Save new mailing list</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
<h1>Widerhall List Creation</h1>
|
||||
«list_data_form()»
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user