diff options
Diffstat (limited to 'view/tpl/settings_addons.tpl')
-rwxr-xr-x | view/tpl/settings_addons.tpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/view/tpl/settings_addons.tpl b/view/tpl/settings_addons.tpl index f0d5195bf..a18f57658 100755 --- a/view/tpl/settings_addons.tpl +++ b/view/tpl/settings_addons.tpl @@ -1,10 +1,19 @@ <div class="generic-content-wrapper-styled"> <h1>{{$title}}</h1> - <form action="settings/featured" method="post" autocomplete="off"> <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> +{{if $diaspora_enabled}} +<div class="settings-block"> +<button class="btn btn-default" data-target="#settings-dspr-wrapper" data-toggle="collapse" type="button">{{$dsprtitle}}</button> +<div id="settings-dspr-wrapper" class="collapse well"> +<div id="dspr-settings-wrapper"> +<label id="dspr-pubcomment-label" for="dspr-pubcomment-checkbox">{{$dsprhelp}}</label> +<input id="dspr-pubcomment-checkbox" type="checkbox" name="dspr_pubcomment" value="1" ' . {{if $pubcomments}} checked="checked" {{/if}} /> +</div><div class="clear"></div> +<div class="settings-submit-wrapper" ><input type="submit" name="dspr-submit" class="settings-submit" value="{{$dsprsubmit}}" /></div></div></div> +{{/if}} {{$settings_addons}} </form> |