diff options
author | redmatrix <mike@macgirvin.com> | 2016-10-03 17:16:24 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-10-03 17:16:24 -0700 |
commit | cef1aa6d1b21b15458783661ed4c7e6fe8a99011 (patch) | |
tree | d1347dc658e7d71ad44abd4fdb691a31e219c364 /view/tpl | |
parent | 5b10db6f91f4bb876bbadbc9602c68762a3c9b71 (diff) | |
download | volse-hubzilla-cef1aa6d1b21b15458783661ed4c7e6fe8a99011.tar.gz volse-hubzilla-cef1aa6d1b21b15458783661ed4c7e6fe8a99011.tar.bz2 volse-hubzilla-cef1aa6d1b21b15458783661ed4c7e6fe8a99011.zip |
add some more stuff to admin/account_edit (service class, language, and techlevel if appropriate). Fix en-au and en-gb so they are listed as languages, and move language selector stuff to include/language.php instead of include/text.php; new file Zotlabs/Lib/Techlevels.php so we only need to write the selection array once.
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/admin_account_edit.tpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/view/tpl/admin_account_edit.tpl b/view/tpl/admin_account_edit.tpl index 5e8cb5f47..82d137de4 100644 --- a/view/tpl/admin_account_edit.tpl +++ b/view/tpl/admin_account_edit.tpl @@ -9,6 +9,15 @@ {{include file="field_password.tpl" field=$pass1}} {{include file="field_password.tpl" field=$pass2}} +{{if $z_server_role == 'pro'}} +{{include file="field_select.tpl" field=$account_level}} +{{else}} +<input type="hidden" name="account_level" value="{{$account_level.2}}" /> +{{/if}} +{{include file="field_select.tpl" field=$account_language}} +{{include file="field_input.tpl" field=$service_class}} + + <input type="submit" name="submit" value="{{$submit}}" /> </form> |