working on dropping old mails
This commit is contained in:
@@ -17,43 +17,48 @@
|
||||
</p>
|
||||
✓ Oweners and Moderators
|
||||
<label>
|
||||
<input type="checkbox" name="open_for_subscribers">
|
||||
<input type="checkbox" name="open_for_subscribers" />
|
||||
All subscribers
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="open_for_guests">
|
||||
<input type="checkbox" name="open_for_guests" />
|
||||
Everyone (i.e. non members, DANGER!)
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Forward options</legend>
|
||||
<label>
|
||||
<input type="checkbox" name="forward_from">
|
||||
<input type="checkbox" name="forward_from" />
|
||||
Forward using original sender
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="reply_to_list">
|
||||
<input type="checkbox" name="reply_to_list" />
|
||||
Set list adddress in "ReplyTo" header
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="forward_attached">
|
||||
<input type="checkbox" name="forward_attached" />
|
||||
Append original message as attachment
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="hide_receivers">
|
||||
<input type="checkbox" name="hide_receivers" />
|
||||
Hide receivers (using BCC)
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Other options</legend>
|
||||
<label>
|
||||
<input type="checkbox" name="archive">
|
||||
<input type="checkbox" name="archive" />
|
||||
Collect messages in public archive
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="edit_mods">
|
||||
<input type="checkbox" name="edit_mods" />
|
||||
Moderators may edit list of moderators
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="delete_messages" />
|
||||
Delete messages after
|
||||
<input type="number" name="hold_time" /> days.
|
||||
</label>
|
||||
</fieldset>
|
||||
<button type="submit">Save</button>
|
||||
</fieldset>
|
||||
|
||||
@@ -103,7 +103,7 @@ function showListArchiveSummary(data){
|
||||
}
|
||||
|
||||
function showListDetail(data){
|
||||
var options = ['forward_from','forward_attached','hide_receivers','reply_to_list','open_for_guests','open_for_subscribers','archive','edit_mods'];
|
||||
var options = ['forward_from','forward_attached','hide_receivers','reply_to_list','open_for_guests','open_for_subscribers','archive','edit_mods','delete_messages'];
|
||||
options.forEach(function(option,index,array){
|
||||
console.log(option,'→',data[option]);
|
||||
if (data[option]) $('input[name="'+option+'"]').prop('checked',true);
|
||||
|
||||
Reference in New Issue
Block a user