Mercurial > hg > mlmmj
view contrib/web/perl-admin/templates/subscribers.html @ 657:7fefd9a9fad5
Merged changes from Franky Van Liedekerke <liedekef@telenet.be>:
- bulk (file) upload of subscribers
- remove all subscribers (with double "are you sure" check)
- possibility to edit all texts
- README correction
author | xi |
---|---|
date | Thu, 02 Aug 2007 04:15:55 +1000 |
parents | fee753d23b25 |
children |
line wrap: on
line source
<html><head><title>mlmmj subscribers</title></head><body> <h1>mlmmj subscribers</h1> <p> <a href="index.cgi">Index</a> | <a href="subscribers.cgi?list=$LIST">Reload subscriber list</a> | <a href="edit.cgi?list=$LIST">Configuration</a> | <a href="edit_text.cgi?list=$LIST">Edit texts</a></td> </p> <p> $ACTION </p> <hr> <form action="subscribers.cgi" method="post" onSubmit="if (window.confirm('Are you sure you want to do this?')) this.submit(); else return false;"> <input type="hidden" name="list" value="$LIST"> <input type="hidden" name="maxid" value="$MAXID"> <input type="hidden" name="removeall" value="1"> <table><tr><td rowspan="5" valign="top">Remove all subscribers: </td> <td><input type="submit" name="remove" value="Remove all"></td></tr> <tr><td>Click this as extra safety check: <input type="checkbox" name="removeall_check" value="1" unchecked></td></tr> </table> </form> <hr> <form action="subscribers.cgi" method="post" enctype="multipart/form-data"> <input type="hidden" name="list" value="$LIST"> <input type="hidden" name="maxid" value="$MAXID"> <input type="hidden" name="page" value="$PAGE"> <table><tr><td rowspan="5" valign="top">Bulk add subscribers: </td> <td>File: <input type="FILE" name="file"></td></tr> <tr><td>Normal subscribers: <input type="checkbox" name="subscriber" value="1" checked></td></tr> <tr><td>Digest subscribers: <input type="checkbox" name="digester" value="1"></td></tr> <tr><td>No-mail subscribers: <input type="checkbox" name="nomailsub" value="1"></td></tr> <tr><td><input type="submit" name="subscribe" value="Subscribe"></td></tr> </table> </form> <form action="subscribers.cgi" method="post"> <input type="hidden" name="list" value="$LIST"> <input type="hidden" name="maxid" value="$MAXID"> <input type="hidden" name="page" value="$PAGE"> <table><tr><td rowspan="5" valign="top">Add subscriber: </td> <td>Email address: <input type="text" name="email"></td></tr> <tr><td>Normal subscriber: <input type="checkbox" name="subscriber" value="1" checked></td></tr> <tr><td>Digest subscriber: <input type="checkbox" name="digester" value="1"></td></tr> <tr><td>No-mail subscriber: <input type="checkbox" name="nomailsub" value="1"></td></tr> <tr><td><input type="submit" name="subscribe" value="Subscribe"></td></tr> <tr><td rowspan="2" valign="top">Search for subscriber:</td> <td>Email address: <input type="text" name="search" value="$SEARCH"></td></tr> <tr><td><input type="submit" name="searchsubmit" value="Search"></td></tr> </table> <hr> <p> List: $LIST<br> Subscribers: $SUBCOUNT </p> <hr> $PAGINATOR <table border="1"> <tr><th>Email address</th><th>Normal subscriber</th><th>Digest subscriber</th><th>No-mail subscriber</th></tr> $ROWS </table> $PAGINATOR <p><input type="submit" name="update" value="Update subscriptions"></p> </form> </body></html>