diff options
author | mrjive <mrjive@mrjive.it> | 2015-09-17 09:27:13 +0200 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2015-09-17 09:27:13 +0200 |
commit | 024af91df82b4bb14983c53ae319ba9d348773d6 (patch) | |
tree | e2c0fa8ae7827ebea20db24264dbacbcd1495edd /view/tpl | |
parent | 4c5a74284bb1c2e23ef1e40c09d10f3449f8c853 (diff) | |
parent | 5d33b34be7fe1a4c89d43a4bdab5c4e6b35a61bc (diff) | |
download | volse-hubzilla-024af91df82b4bb14983c53ae319ba9d348773d6.tar.gz volse-hubzilla-024af91df82b4bb14983c53ae319ba9d348773d6.tar.bz2 volse-hubzilla-024af91df82b4bb14983c53ae319ba9d348773d6.zip |
Merge pull request #1 from redmatrix/master
updating from original codebase
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/admin_users.tpl | 10 | ||||
-rwxr-xr-x | view/tpl/settings.tpl | 12 |
2 files changed, 10 insertions, 12 deletions
diff --git a/view/tpl/admin_users.tpl b/view/tpl/admin_users.tpl index f372911a0..8a4b772a8 100755 --- a/view/tpl/admin_users.tpl +++ b/view/tpl/admin_users.tpl @@ -5,8 +5,8 @@ function confirm_delete_multi(){ return confirm("{{$confirm_delete_multi}}"); } - function selectall(cls){ - $("."+cls).attr('checked','checked'); + function toggle_selectall(cls){ + $("."+cls).prop("checked", !$("."+cls).prop("checked")); return false; } </script> @@ -40,7 +40,7 @@ {{/foreach}} </tbody> </table> - <div class="selectall"><a href="#" onclick="return selectall('pending_ckbx');">{{$select_all}}</a></div> + <div class="selectall"><a href="#" onclick="return toggle_selectall('pending_ckbx');">{{$select_all}}</a></div> <div class="submit"><input type="submit" name="page_users_deny" value="{{$deny}}"> <input type="submit" name="page_users_approve" value="{{$approve}}"></div> {{else}} <p>{{$no_pending}}</p> @@ -79,10 +79,10 @@ {{/foreach}} </tbody> </table> - <div class="selectall"><a href="#" onclick="return selectall('users_ckbx');">{{$select_all}}</a></div> + <div class="selectall"><a href="#" onclick="return toggle_selectall('users_ckbx');">{{$select_all}}</a></div> <div class="submit"><input type="submit" name="page_users_block" value="{{$block}}/{{$unblock}}"> <input type="submit" name="page_users_delete" value="{{$delete}}" onclick="return confirm_delete_multi()"></div> {{else}} NO USERS?!? {{/if}} </form> -</div>
\ No newline at end of file +</div> diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index ab62ede45..3a6e8b7a3 100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -26,9 +26,6 @@ {{include file="field_input.tpl" field=$photo_path}} {{include file="field_input.tpl" field=$attach_path}} - <div class="settings-submit-wrapper" > - <button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button> - </div> </div> </div> </div> @@ -78,9 +75,6 @@ {{include file="field_checkbox.tpl" field=$blocktags}} {{include file="field_input.tpl" field=$expire}} </div> - <div class="settings-submit-wrapper" > - <button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button> - </div> </div> </div> </div> @@ -130,10 +124,14 @@ {{include file="field_input.tpl" field=$evdays}} </div> </div> + </div> + </div> + </div> + <div class="panel"> + <div class"section-subtitle-wrapper" role="tab" id="form-buttons"> <div class="settings-submit-wrapper" > <button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button> </div> - </div> </div> </div> {{if $menus}} |