blob: 50a023afcf75fad4899b9b7bdaba23ba01e0e3ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<div class="display newsletters">
{if !$sending}
<div class="floaticon">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon'}
{if $gBitUser->hasPermission('p_newsletters_admin')}
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/send.php?edition_id={$gContent->mEditionId}">{biticon ipackage="icons" iname="mail-forward" iexplain="email this post"}</a>
{/if}
{if $gContent->isOwner() || $gBitUser->hasPermission( 'bit_p_admin_newsletters' )}
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}edition_edit.php?edition_id={$gContent->mEditionId}">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="edit"}</a>
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}edition.php?edition_id={$gContent->mEditionId}&remove=1">{biticon ipackage="icons" iname="edit-delete" iexplain="delete"}</a>
{/if}
</div>
{else}
<div><small>{tr}This newsletter can be viewed on the web at{/tr} <a href="{$gContent->getDisplayUrl()}">{$gContent->getDisplayUrl()}</a></small></div>
{/if}
<div class="header">
{if $gContent->mNewsletter}
<p>{$gContent->mNewsletter->getTitle()}</p>
{/if}
<h1>{$gContent->getTitle()}</h1>
</div>
{if !$sending}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='nav'}
{/if}
<div class="body">
<div class="content">
{$gContent->parseData()}
</div> <!-- end .content -->
</div> <!-- end .body -->
</div><!-- end .newsletters -->
|