summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-11 17:52:10 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-11 17:52:10 +0000
commitf2b8c31fc6f3c141a74bbf4cb739967ffa6e7682 (patch)
treed582d639d9a018fce09c5b4a1a4b241118a9f4ce /templates
parent75ea365cb9693ea4cec75b0a459c6a8fdbf147f0 (diff)
downloadnewsletters-f2b8c31fc6f3c141a74bbf4cb739967ffa6e7682.tar.gz
newsletters-f2b8c31fc6f3c141a74bbf4cb739967ffa6e7682.tar.bz2
newsletters-f2b8c31fc6f3c141a74bbf4cb739967ffa6e7682.zip
more permissions housekeeping and tidyup
Diffstat (limited to 'templates')
-rw-r--r--templates/newsletters.tpl79
1 files changed, 0 insertions, 79 deletions
diff --git a/templates/newsletters.tpl b/templates/newsletters.tpl
index 6ee896a..52a5893 100644
--- a/templates/newsletters.tpl
+++ b/templates/newsletters.tpl
@@ -77,82 +77,3 @@
</div><!-- end .body -->
</div><!-- end .newsletters -->
{/strip}
-
-
-{* original code
-{if $subscribe eq 'y'}
-<form method="post" action="{$smarty.const.NEWSLETTERS_PKG_URL}index.php">
-<input type="hidden" name="nl_id" value="{$nl_id|escape}" />
-<table class="panel">
-<caption>{tr}Subscribe to newsletter{/tr}</caption>
-<tr>
- <td>{tr}Name{/tr}:</td>
- <td>{$nl_info.name}</td>
-</tr>
-<tr>
- <td>{tr}Description{/tr}:</td>
- <td>{$nl_info.description}</td>
-</tr>
-{if ($nl_info.allow_user_sub eq 'y') or ($p_newsletters_admin eq 'y')}
-{if $p_newsletters_subscribe_email eq 'y'}
-<tr>
- <td>{tr}Email:{/tr}</td>
- <td><input type="text" name="email" value="{$email|escape}" /></td>
-</tr>
-{else}
- <input type="hidden" name="email" value="{$email|escape}" />
-{/if}
-<tr class="panelsubmitrow">
- <td colspan="2"><input type="submit" name="subscribe" value="{tr}Subscribe{/tr}" /></td>
-</tr>
-{/if}
-</table>
-</form>
-{/if}
-
-<h2>{tr}Newsletters{/tr}</h2>
-<table class="find">
-<tr><td>{tr}Find{/tr}</td>
- <td>
- <form method="get" action="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php">
- <input type="text" name="find" value="{$find|escape}" />
- <input type="submit" value="{tr}find{/tr}" name="search" />
- <input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
- </form>
- </td>
-</tr>
-</table>
-
-<table>
-<tr>
-<th><a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}name{/tr}</a></th>
-<th><a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'description_desc'}description_asc{else}description_desc{/if}">{tr}description{/tr}</a></th>
-</tr>
-{cycle values="even,odd" print=false}
-{section name=user loop=$newsletters}
-{if $newsletters.individual ne 'y' or $newsletters.individual_bit_p_subscribe_newsletters eq 'y'}
-<tr class="{cycle}">
-<td><a href="{$smarty.const.NEWSLETTERS_PKG_URL}index.php?nl_id={$nl.nl_id}&amp;info=1">{$nl.name}</a></td>
-<td>{$nl.description}</td>
-</tr>
-{/if}
-{/section}
-</table>
-
-<div class="pagination">
-{if $prev_offset >= 0}
-[<a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
-{/if}
-{tr}Page{/tr}: {$actual_page}/{$cant_pages}
-{if $next_offset >= 0}
-&nbsp;[<a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
-{/if}
-{if $direct_pagination eq 'y'}
-<br />
-{section loop=$cant_pages name=foo}
-{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords}
-<a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php?find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">{$smarty.section.foo.index_next}</a>&nbsp;
-{/section}
-{/if}
-</div>
-*}