aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-10-03 17:16:24 -0700
committerredmatrix <mike@macgirvin.com>2016-10-03 17:16:24 -0700
commitcef1aa6d1b21b15458783661ed4c7e6fe8a99011 (patch)
treed1347dc658e7d71ad44abd4fdb691a31e219c364 /view
parent5b10db6f91f4bb876bbadbc9602c68762a3c9b71 (diff)
downloadvolse-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')
-rw-r--r--view/en-au/hstrings.php5
-rw-r--r--view/en-gb/hstrings.php31
-rw-r--r--view/tpl/admin_account_edit.tpl9
3 files changed, 45 insertions, 0 deletions
diff --git a/view/en-au/hstrings.php b/view/en-au/hstrings.php
new file mode 100644
index 000000000..95f8c4e00
--- /dev/null
+++ b/view/en-au/hstrings.php
@@ -0,0 +1,5 @@
+<?php
+require_once('view/en-gb/strings.php');
+App::$strings['Welcome %s. Remote authentication successful.'] = "G'day %s. Remote authentication successful";
+
+
diff --git a/view/en-gb/hstrings.php b/view/en-gb/hstrings.php
new file mode 100644
index 000000000..e856c1af9
--- /dev/null
+++ b/view/en-gb/hstrings.php
@@ -0,0 +1,31 @@
+<?php
+App::$strings["Set shadow color, default #000"] = "Set shadow colour, default #000";
+App::$strings["Set background color"] = "Set background colour";
+App::$strings["Set section background color"] = "Set section background colour";
+App::$strings["Set color of items - use hex"] = "Set colour of items - use hex";
+App::$strings["Set color of links - use hex"] = "Set colour of links - use hex";
+App::$strings["Set color of fonts - use hex"] = "Set colour of fonts - use hex";
+App::$strings["Navigation bar background color"] = "Navigation bar background colour";
+App::$strings["Navigation bar gradient top color"] = "Navigation bar gradient top colour";
+App::$strings["Navigation bar gradient bottom color"] = "Navigation bar gradient bottom colour";
+App::$strings["Navigation active button gradient top color"] = "Navigation active button gradient top colour";
+App::$strings["Navigation active button gradient bottom color"] = "Navigation active button gradient bottom colour";
+App::$strings["Navigation bar border color "] = "Navigation bar border colour ";
+App::$strings["Navigation bar icon color "] = "Navigation bar icon colour ";
+App::$strings["Navigation bar active icon color "] = "Navigation bar active icon colour ";
+App::$strings["link color"] = "link colour";
+App::$strings["Set font-color for banner"] = "Set font-colour for banner";
+App::$strings["Set the background color"] = "Set the background colour";
+App::$strings["Set the background color of items"] = "Set the background colour of items";
+App::$strings["Set the background color of comments"] = "Set the background colour of comments";
+App::$strings["Set the border color of comments"] = "Set the border colour of comments";
+App::$strings["Set the basic color for item icons"] = "Set the basic colour for item icons";
+App::$strings["Set the hover color for item icons"] = "Set the hover colour for item icons";
+App::$strings["Set font-color for posts and comments"] = "Set font-colour for posts and comments";
+App::$strings["Authorize application connection"] = "Authorise application connection";
+App::$strings["Do you want to authorize this application to access your posts and contacts, and/or create new posts for you?"] = "Do you want to authorise this application to access your posts and contacts, and/or create new posts for you?";
+App::$strings["If your certificate is not recognized, members of other sites (who may themselves have valid certificates) will get a warning message on their own site complaining about security issues."] = "If your certificate is not recognised, members of other sites (who may themselves have valid certificates) will get a warning message on their own site complaining about security issues.";
+App::$strings["This is a hub of the Hubzilla - a global cooperative network of decentralized privacy enhanced websites."] = "This is a hub of the Hubzilla - a global cooperative network of decentralised privacy enhanced websites.";
+App::$strings["You are cordially invited to join me and some other close friends on the Hubzilla - a revolutionary new decentralized communication and information tool."] = "You are cordially invited to join me and some other close friends on the Hubzilla - a revolutionary new decentralised communication and information tool.";
+App::$strings["l F d, Y \\@ g:i A"] = "l j F, Y \\@ G:i";
+App::$strings["D, d M Y - g:i A"] = "D, d M Y - G:i";
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>