diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-06-18 08:29:59 +0200 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-06-18 08:29:59 +0200 |
commit | 23931ab719ca30ce0a5de4c04fd3bd83ecc9937f (patch) | |
tree | 64c9174c21ea4c6180220cfc907326bba817a74b /view | |
parent | 484b248f735b22e7a28f4720c3997746f5c10ced (diff) | |
download | volse-hubzilla-23931ab719ca30ce0a5de4c04fd3bd83ecc9937f.tar.gz volse-hubzilla-23931ab719ca30ce0a5de4c04fd3bd83ecc9937f.tar.bz2 volse-hubzilla-23931ab719ca30ce0a5de4c04fd3bd83ecc9937f.zip |
Admin: add translatable strings, remove 'rino' settings, invert 'no'-setings, add "plugin_admin" hook for global plugins settings. add settings to twitter connector as example.
Diffstat (limited to 'view')
-rw-r--r-- | view/admin_plugins_details.tpl | 8 | ||||
-rw-r--r-- | view/admin_site.tpl | 11 |
2 files changed, 12 insertions, 7 deletions
diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl index e2c611b23..4bce1dda2 100644 --- a/view/admin_plugins_details.tpl +++ b/view/admin_plugins_details.tpl @@ -10,7 +10,13 @@ {{ endfor }} </p> - + + {{ if $admin_form }} + <h3>Settings</h3> + <form method="post" action="$baseurl/admin/plugins/$plugin/"> + $admin_form + </form> + {{ endif }} {{ if $readme }} <h3>Readme</h3> diff --git a/view/admin_site.tpl b/view/admin_site.tpl index dba29f11c..525dd14ae 100644 --- a/view/admin_site.tpl +++ b/view/admin_site.tpl @@ -10,7 +10,7 @@ <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> - <h3>Registration</h3> + <h3>$registration</h3> {{ inc field_input.tpl with $field=$register_text }}{{ endinc }} {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }} @@ -18,14 +18,13 @@ {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }} {{ inc field_checkbox.tpl with $field=$no_gravatar }}{{ endinc }} {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }} <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> - <h3>Upload</h3> + <h3>$upload</h3> {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }} - <h3>Corporate/Edu</h3> + <h3>$corporate</h3> {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }} {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }} {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }} @@ -35,8 +34,8 @@ <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> - <h3>Advanced</h3> - {{ inc field_checkbox.tpl with $field=$rino_enc }}{{ endinc }} + <h3>$advanced</h3> + {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }} {{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }} {{ inc field_input.tpl with $field=$proxy }}{{ endinc }} {{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }} |