Merge pull request #626 from fermionic/20130223-disable-content-in-notifications
admin option to disable content in email notifications
This commit is contained in:
commit
c83b82ee2b
14 changed files with 36 additions and 7 deletions
|
@ -84,6 +84,7 @@
|
|||
{{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$enotify_no_content }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
|
|
|
@ -13,10 +13,12 @@
|
|||
<tr><td style="padding-top:22px;" colspan="2">$preamble</td></tr>
|
||||
|
||||
|
||||
{{ if $content_allowed }}
|
||||
<tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="$source_link"><img style="border:0px;width:48px;height:48px;" src="$source_photo"></a></td>
|
||||
<td style="padding-top:22px;"><a href="$source_link">$source_name</a></td></tr>
|
||||
<tr><td style="font-weight:bold;padding-bottom:5px;">$title</td></tr>
|
||||
<tr><td style="padding-right:22px;">$htmlversion</td></tr>
|
||||
{{ endif }}
|
||||
<tr><td style="padding-top:11px;" colspan="2">$hsitelink</td></tr>
|
||||
<tr><td style="padding-bottom:11px;" colspan="2">$hitemlink</td></tr>
|
||||
<tr><td></td><td>$thanks</td></tr>
|
||||
|
@ -25,3 +27,4 @@
|
|||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
|
||||
$preamble
|
||||
|
||||
|
||||
{{ if $content_allowed }}
|
||||
$title
|
||||
|
||||
$textversion
|
||||
|
||||
|
||||
{{ endif }}
|
||||
$tsitelink
|
||||
$titemlink
|
||||
|
||||
$thanks
|
||||
$site_admin
|
||||
|
||||
|
||||
|
|
|
@ -52,12 +52,12 @@
|
|||
{{include file="field_input.tpl" field=$sitename}}
|
||||
{{include file="field_textarea.tpl" field=$banner}}
|
||||
{{include file="field_select.tpl" field=$language}}
|
||||
{{include file="field_select.tpl" field=$theme}}
|
||||
{{include file="field_select.tpl" field=$theme}}
|
||||
{{include file="field_select.tpl" field=$theme_mobile}}
|
||||
{{include file="field_select.tpl" field=$ssl_policy}}
|
||||
{{include file="field_checkbox.tpl" field=$new_share}}
|
||||
{{include file="field_checkbox.tpl" field=$hide_help}}
|
||||
{{include file="field_select.tpl" field=$singleuser}}
|
||||
{{include file="field_select.tpl" field=$singleuser}}
|
||||
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
@ -89,6 +89,7 @@
|
|||
{{include file="field_input.tpl" field=$global_directory}}
|
||||
{{include file="field_checkbox.tpl" field=$thread_allow}}
|
||||
{{include file="field_checkbox.tpl" field=$newuser_private}}
|
||||
{{include file="field_checkbox.tpl" field=$enotify_no_content}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
|
|
|
@ -18,10 +18,12 @@
|
|||
<tr><td style="padding-top:22px;" colspan="2">{{$preamble}}</td></tr>
|
||||
|
||||
|
||||
{{if $content_allowed}}
|
||||
<tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$source_link}}"><img style="border:0px;width:48px;height:48px;" src="{{$source_photo}}"></a></td>
|
||||
<td style="padding-top:22px;"><a href="{{$source_link}}">{{$source_name}}</a></td></tr>
|
||||
<tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
|
||||
<tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
|
||||
{{/if}}
|
||||
<tr><td style="padding-top:11px;" colspan="2">{{$hsitelink}}</td></tr>
|
||||
<tr><td style="padding-bottom:11px;" colspan="2">{{$hitemlink}}</td></tr>
|
||||
<tr><td></td><td>{{$thanks}}</td></tr>
|
||||
|
@ -30,3 +32,4 @@
|
|||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -5,14 +5,17 @@
|
|||
*}}
|
||||
|
||||
{{$preamble}}
|
||||
|
||||
|
||||
{{if $content_allowed}}
|
||||
{{$title}}
|
||||
|
||||
{{$textversion}}
|
||||
|
||||
|
||||
{{/if}}
|
||||
{{$tsitelink}}
|
||||
{{$titemlink}}
|
||||
|
||||
{{$thanks}}
|
||||
{{$site_admin}}
|
||||
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
{{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$enotify_no_content }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
{{include file="field_input.tpl" field=$global_directory}}
|
||||
{{include file="field_checkbox.tpl" field=$thread_allow}}
|
||||
{{include file="field_checkbox.tpl" field=$newuser_private}}
|
||||
{{include file="field_checkbox.tpl" field=$enotify_no_content}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
{{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$enotify_no_content }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
{{include file="field_input.tpl" field=$global_directory}}
|
||||
{{include file="field_checkbox.tpl" field=$thread_allow}}
|
||||
{{include file="field_checkbox.tpl" field=$newuser_private}}
|
||||
{{include file="field_checkbox.tpl" field=$enotify_no_content}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
{{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$enotify_no_content }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
{{include file="field_input.tpl" field=$global_directory}}
|
||||
{{include file="field_checkbox.tpl" field=$thread_allow}}
|
||||
{{include file="field_checkbox.tpl" field=$newuser_private}}
|
||||
{{include file="field_checkbox.tpl" field=$enotify_no_content}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue