blob: e432bfefaaa75371de93518ba662c6673db51dc7 (
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
36
37
38
39
40
41
|
{strip}
<div class="floaticon">{bithelp}</div>
<div class="admin wiki">
<div class="header">
<h1>{tr}Permissions for{/tr} <a href="{$gContent->mInfo.display_url}">{$gContent->mInfo.title|escape}</a></h1>
</div>
<div class="body">
{form legend="Notify via email when updated"}
<input type="hidden" name="page_id" value="{$gContent->mInfo.page_id}" />
<input type="hidden" name="tab" value="email" />
<div class="form-group">
{formlabel label="Email"}
{forminput}
<input type="text" name="email" size="35" />
{formhelp note="Enter the email address where you want to have notifications sent, as soon as there are changes made to this page."}
{/forminput}
</div>
<div class="form-group submit">
<input type="submit" class="btn btn-default" name="addemail" value="{tr}Add email address{/tr}" />
</div>
{/form}
{if count( $emails ) gt 0 }
<h2>{tr}Existing requests for email notification{/tr}</h2>
<ul>
{section name=ix loop=$emails}
<li>{$emails[ix]} <a href="{$smarty.const.WIKI_PKG_URL}page_permissions.php?page_id={$gContent->mInfo.page_id}&removeemail={$emails[ix]}&tab=email">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a></li>
{/section}
</ul>
{/if}
{include file="bitpackage:liberty/content_permissions_inc.tpl"}
</div><!-- end .body -->
</div><!-- end .wiki -->
{include file="bitpackage:wiki/page_action_bar.tpl"}
{/strip}
|