registration: added display of privacy statement if enabled

This commit is contained in:
Tobias Diekershoff 2018-05-19 18:53:54 +02:00
parent ae62c1d1ea
commit dd629d5fa4
3 changed files with 17 additions and 0 deletions

View file

@ -63,6 +63,12 @@
{{if $showtoslink}}
<p><a href="{{$baseurl}}/tos">{{$tostext}}</a></p>
{{/if}}
{{if $showprivstatement}}
<h4>{{$privstatement.0}}</h4>
{{for $i=1 to 3}}
<p>{{$privstatement[$i]}}</p>
{{/for}}
{{/if}}
<div id="register-submit-wrapper" class="pull-right">
<button type="submit" name="submit" id="register-submit-button" class="btn btn-primary" value="{{$regbutt|escape:'html'}}">{{$regbutt|escape:'html'}}</button>