diff options
| author | Christian Fowler <spider@viovio.com> | 2006-06-30 14:16:09 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-06-30 14:16:09 +0000 |
| commit | 4675cc425acdc1432ab37b228f0273dd45be16c2 (patch) | |
| tree | e4c4dc9b46c2cbc994c347436bb2cf84e7e19452 /templates | |
| parent | 52c3ae75fe0ce196368b98eebb8cb1509eff953b (diff) | |
| download | newsletters-4675cc425acdc1432ab37b228f0273dd45be16c2.tar.gz newsletters-4675cc425acdc1432ab37b228f0273dd45be16c2.tar.bz2 newsletters-4675cc425acdc1432ab37b228f0273dd45be16c2.zip | |
add listing of queued mail. not done yet...
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mail_queue.tpl | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/templates/mail_queue.tpl b/templates/mail_queue.tpl new file mode 100644 index 0000000..9e06320 --- /dev/null +++ b/templates/mail_queue.tpl @@ -0,0 +1,43 @@ +<h1>Queued Mails</h1> + +{form} +{if $queue} + <table class="data"> + <tr> + <th class="item">{smartlink ititle="Email" isort="email" offset=$offset}</th> + <th class="item">{smartlink ititle="Content Title" isort="title" offset=$offset}</th> + <th class="item">{smartlink ititle="Newsletter" isort="newsletter" offset=$offset}</th> + <th class="item">{smartlink ititle="Queue Date" isort="queue_date" offset=$offset}</th> + <th class="item">{smartlink ititle="Sent Date" isort="sent_date" offset=$offset}</th> + <th class="item"></th> + </tr> + {foreach from=$queue item=q key=qId} + <tr class="item"> + <td>{$q.email}</td> + <td><a href="{$smarty.const.BIT_ROOT_URL}?content_id={$q.content_id}">{$q.title}</a></td> + <td><a href="{$smarty.const.BIT_ROOT_URL}?content_id={$q.nl_content_id}">{$q.newsletter_title}</a></td> + <td>{$q.queue_date|bit_short_datetime}</a></td> + <td>{$q.sent_date}</td> + <td><input type="checkbox" name="queue_id[]" value="{$qId}" /></td> + </tr> + {/foreach} + </table> +{/if} + +<div style="float:right"> +<div class="row"> + With checked: + <select> + <option></option> + <option>{tr}Delete{/tr}</option> + <option>{tr}Send Immediately{/tr}</option> + </select> +</div> + +<div class="row input"> + <input type="submit" name="Submit" value="Submit"/> +</div> +</div> + + +{/form} |
