diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-29 13:50:02 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-05-29 13:50:02 -0700 |
commit | 4fcfcc81172ebdfa4a27d3bca94bffe97356f600 (patch) | |
tree | 78a53b004556fa1064e9213008e68d897a296fe2 /view/tpl | |
parent | b15a5f03e61eeef2086d87f497464b00ada3798e (diff) | |
download | volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.gz volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.bz2 volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.zip |
start deprecation of server_role
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/admin_site.tpl | 3 | ||||
-rwxr-xr-x | view/tpl/settings.tpl | 9 |
2 files changed, 3 insertions, 9 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index 6fd0fd9ce..e995f82b2 100755 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -41,12 +41,9 @@ <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> {{include file="field_input.tpl" field=$sitename}} - {{include file="field_select.tpl" field=$server_role}} - {{if $z_server_role == 'pro'}} {{include file="field_select.tpl" field=$techlevel}} {{include file="field_checkbox.tpl" field=$techlock}} - {{/if}} {{include file="field_textarea.tpl" field=$banner}} {{include file="field_textarea.tpl" field=$siteinfo}} diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index dd5fecb43..6673e5815 100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -1,6 +1,6 @@ <div class="generic-content-wrapper"> <div class="section-title-wrapper"> - {{if $server_role != 'basic'}}<a title="{{$removechannel}}" class="btn btn-danger btn-sm pull-right" href="removeme"><i class="fa fa-trash-o"></i> {{$removeme}}</a>{{/if}} + <a title="{{$removechannel}}" class="btn btn-danger btn-sm pull-right" href="removeme"><i class="fa fa-trash-o"></i> {{$removeme}}</a> <h2>{{$ptitle}}</h2> <div class="clear"></div> </div> @@ -44,12 +44,9 @@ </div> <div id="privacy-settings-collapse" class="collapse" role="tabpanel" aria-labelledby="privacy-settings"> <div class="section-content-tools-wrapper"> - {{if $server_role != 'basic'}} {{include file="field_select_grouped.tpl" field=$role}} - {{/if}} - <div id="advanced-perm" style="display:{{if $permissions_set && $server_role != 'basic' }}none{{else}}block{{/if}};"> + <div id="advanced-perm" style="display:{{if $permissions_set}}none{{else}}block{{/if}};"> - {{if $server_role != 'basic'}} <div class="form-group"> <button type="button" class="btn btn-outline-secondary" data-toggle="modal" data-target="#apsModal">{{$lbl_p2macro}}</button> </div> @@ -71,7 +68,7 @@ </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> - {{/if}} + <div id="settings-default-perms" class="form-group" > <button type="button" class="btn btn-outline-secondary" data-toggle="modal" data-target="#aclModal"><i id="jot-perms-icon" class="fa"></i> {{$permissions}}</button> </div> |