Added /tos module
This commit is contained in:
parent
348ee3625d
commit
6c20b4507d
6 changed files with 126 additions and 1 deletions
12
view/templates/admin/tos.tpl
Normal file
12
view/templates/admin/tos.tpl
Normal file
|
@ -0,0 +1,12 @@
|
|||
<div id="adminpage">
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
<p>{{$intro}}</p>
|
||||
<form action="{{$baseurl}}/admin/tos" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
{{include file="field_checkbox.tpl" field=$displaytos}}
|
||||
{{include file="field_checkbox.tpl" field=$displayprivstatement}}
|
||||
{{include file="field_textarea.tpl" field=$tostext}}
|
||||
<div class="submit"><input type="submit" name="page_tos" value="{{$submit|escape:'html'}}" /></div>
|
||||
</form>
|
||||
</div>
|
||||
|
10
view/templates/tos.tpl
Normal file
10
view/templates/tos.tpl
Normal file
|
@ -0,0 +1,10 @@
|
|||
<h1>{{$title}}</h1>
|
||||
|
||||
{{$tostext}}
|
||||
|
||||
{{if $displayprivstatement}}
|
||||
<h2>{{$privstatementtitle}}</h2>
|
||||
<p>{{$privoperate}}</p>
|
||||
<p>{{$privdelete}}</p>
|
||||
{{/if}}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue