From e7834e60f872f91954266a7bcc2b5adda3df8d00 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 6 Jul 2011 12:10:00 +0200 Subject: Update settings page to use field templates. Add tabs to switch user settings/plugin settings Add new field templates 'custom', 'password', radio' and 'yesno' Update main.js to support advanced fileds Update duepuntozero, dispy e loozah themes --- view/settings.tpl | 180 +++++++++++++++--------------------------------------- 1 file changed, 49 insertions(+), 131 deletions(-) (limited to 'view/settings.tpl') diff --git a/view/settings.tpl b/view/settings.tpl index ca30f5856..50b59cc91 100644 --- a/view/settings.tpl +++ b/view/settings.tpl @@ -1,37 +1,21 @@ +$tabs +

$ptitle

$nickname_block - - -$uexport +
-

$lbl_pass1

- - -
-

-$lbl_pass2 -

- - -
-
+

$h_pass

-
- - -
-
+{{inc field_password.tpl with $field=$password1 }}{{endinc}} +{{inc field_password.tpl with $field=$password2 }}{{endinc}} -
- $oidhtml -
-
+{{inc field_input.tpl with $field=$openid }}{{endinc}}
@@ -39,66 +23,27 @@ $lbl_pass2
-

$lbl_basic

- -
- - -
-
- -
- - -
-
- - - -
- -$zoneselect -
-
- -
- - -
-
- -
- - -
-
- - +

$h_basic

+{{inc field_input.tpl with $field=$username }}{{endinc}} +{{inc field_input.tpl with $field=$email }}{{endinc}} +{{inc field_custom.tpl with $field=$timezone }}{{endinc}} +{{inc field_input.tpl with $field=$defloc }}{{endinc}} +{{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}} +{{inc field_select.tpl with $field=$theme }}{{endinc}} -
- -$theme -
-
-

$lbl_prv

+

$h_prv

-
- - -
$lbl_maxrdesc
-
-
- +{{inc field_input.tpl with $field=$maxreq }}{{endinc}} $profile_in_dir @@ -112,7 +57,7 @@ $hide_wall
-