From 11cd550cdb3c45cd7cf76a4ad29b99de426e18ec Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 9 Feb 2010 23:50:50 -0700 Subject: [PATCH] Modest improvements to the prefs UI templates --- horde/templates/prefs/app.inc | 24 +++++++++++++++--------- horde/templates/prefs/checkbox.inc | 8 +++++--- horde/templates/prefs/deleteidentity.inc | 3 +-- horde/templates/prefs/end.inc | 4 +++- horde/templates/prefs/enum.inc | 20 ++++++++++++++------ horde/templates/prefs/link.inc | 6 +++++- horde/templates/prefs/multienum.inc | 25 +++++++++++++++++++------ horde/templates/prefs/number.inc | 9 +++++++-- horde/templates/prefs/overview.inc | 9 ++++----- horde/templates/prefs/password.inc | 9 +++++++-- horde/templates/prefs/select.inc | 20 ++++++++++++++------ horde/templates/prefs/text.inc | 9 +++++++-- horde/templates/prefs/textarea.inc | 6 ++++-- 13 files changed, 105 insertions(+), 47 deletions(-) diff --git a/horde/templates/prefs/app.inc b/horde/templates/prefs/app.inc index af364149e..3d579ea71 100644 --- a/horde/templates/prefs/app.inc +++ b/horde/templates/prefs/app.inc @@ -1,22 +1,28 @@ -
+
" /> - getApp() == 'horde') echo _("Global Options"); else printf(_("Options for %s"), $registry->get('name')) ?> + +getApp() == 'horde'): ?> + + + get('name')) ?> + +
diff --git a/horde/templates/prefs/checkbox.inc b/horde/templates/prefs/checkbox.inc index 425db4af5..9ff62d112 100644 --- a/horde/templates/prefs/checkbox.inc +++ b/horde/templates/prefs/checkbox.inc @@ -1,3 +1,5 @@ -getValue($pref) ? ' checked="checked"' : '' ?> /> -  -
+
+ getValue($pref) ? ' checked="checked"' : '' ?> /> + + +
diff --git a/horde/templates/prefs/deleteidentity.inc b/horde/templates/prefs/deleteidentity.inc index df1b23a11..6fca6350a 100644 --- a/horde/templates/prefs/deleteidentity.inc +++ b/horde/templates/prefs/deleteidentity.inc @@ -3,8 +3,7 @@