diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/js/acl.js | 4 | ||||
-rw-r--r-- | view/php/theme_init.php | 2 | ||||
-rwxr-xr-x | view/tpl/acl_selector.tpl | 4 | ||||
-rw-r--r-- | view/tpl/app.tpl | 2 |
4 files changed, 2 insertions, 10 deletions
diff --git a/view/js/acl.js b/view/js/acl.js index 92a80e3d1..79699c589 100644 --- a/view/js/acl.js +++ b/view/js/acl.js @@ -20,7 +20,6 @@ function ACL(backend_url, preset) { that.onlyme = $("#acl-onlyme"); that.showlimited = $("#acl-showlimited"); that.acl_select = $("#acl-select"); - that.showacl = $("#show-acl"); that.preset = preset; that.self = []; @@ -250,7 +249,6 @@ ACL.prototype.update_view = function(value) { if (that.allow_gid.length === 0 && that.allow_cid.length === 0 && that.deny_gid.length === 0 && that.deny_cid.length === 0) { that.list.hide(); //hide acl-list - that.showacl.hide(); //hide showacl button that.info.show(); //show acl-info that.update_select('public'); @@ -263,7 +261,6 @@ ACL.prototype.update_view = function(value) { // if value != 'onlyme' we should fall through this one else if (that.allow_gid.length === 0 && that.allow_cid.length === 1 && that.allow_cid[0] === that.self[0] && that.deny_gid.length === 0 && that.deny_cid.length === 0 && value === 'onlyme') { that.list.hide(); //hide acl-list if - that.showacl.show(); //show showacl button that.info.hide(); //show acl-info that.update_select('onlyme'); @@ -274,7 +271,6 @@ ACL.prototype.update_view = function(value) { else { that.list.show(); //show acl-list - that.showacl.hide(); //hide showacl button that.info.hide(); //hide acl-info that.update_select('limited'); diff --git a/view/php/theme_init.php b/view/php/theme_init.php index 7c020a51f..648b144b3 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -21,7 +21,7 @@ head_add_js('spin.js'); head_add_js('jquery.spin.js'); head_add_js('jquery.textinputs.js'); head_add_js('autocomplete.js'); -head_add_js('library/jquery-textcomplete/jquery.textcomplete.min.js'); +head_add_js('library/jquery-textcomplete/jquery.textcomplete.js'); //head_add_js('library/colorbox/jquery.colorbox.js'); head_add_js('library/jquery.timeago.js'); head_add_js('library/readmore.js/readmore.js'); diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl index 1711cee8a..60fae0a29 100755 --- a/view/tpl/acl_selector.tpl +++ b/view/tpl/acl_selector.tpl @@ -19,10 +19,6 @@ <option id="acl-showlimited" value="limited">{{$showlimited}}</option> </select> - <div id="show-acl" class="form-group"> - <button type="button" class="btn btn-success form-group" onclick="openClose('acl-list'); closeOpen('show-acl');"><i class="fa fa-user-plus"></i> {{$add_others}}</button> - </div> - {{if $showallOrigin}} <div id="acl-info" class="form-group"> <i class="fa fa-info-circle"></i> {{$showallOrigin}} diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index 20a1337c7..3e6b71b29 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -14,7 +14,7 @@ <div class="app-tools"> <form action="{{$hosturl}}appman" method="post"> <input type="hidden" name="papp" value="{{$app.papp}}" /> - {{if $install}}<button type="submit" name="install" value="{{$install}}" class="btn btn-default" title="{{$install}}" ><i class="fa fa-arrow-circle-o-down-alt" ></i></button>{{/if}} + {{if $install}}<button type="submit" name="install" value="{{$install}}" class="btn btn-default" title="{{$install}}" ><i class="fa fa-arrow-circle-o-down" ></i></button>{{/if}} {{if $edit}}<input type="hidden" name="appid" value="{{$app.guid}}" /><button type="submit" name="edit" value="{{$edit}}" class="btn btn-default" title="{{$edit}}" ><i class="fa fa-pencil" ></i></button>{{/if}} {{if $delete}}<button type="submit" name="delete" value="{{$delete}}" class="btn btn-default" title="{{$delete}}" ><i class="fa fa-trash-o drop-icons"></i></button>{{/if}} </form> |