From 0a00c730b3ddc077ee448cab9e0dfb8d8e666e86 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 12 Apr 2010 12:40:50 -0600 Subject: [PATCH] Turba prefs UI fixes --- turba/lib/Application.php | 6 ++++-- turba/templates/prefs/column.html | 36 ++++++++++++++++++++---------------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/turba/lib/Application.php b/turba/lib/Application.php index aba907359..89c7df89c 100644 --- a/turba/lib/Application.php +++ b/turba/lib/Application.php @@ -231,9 +231,11 @@ class Turba_Application extends Horde_Registry_Application return Horde_Core_Prefs_Ui_Widgets::source(array( 'mainlabel' => _("Choose which address books to display, and in what order:"), - 'selected' => $selected, 'selectlabel' => _("These addressbooks will display in this order:"), - 'unselected' => $unselected, + 'sources' => array(array( + 'selected' => $selected, + 'unselected' => $unselected + )), 'unselectlabel' => _("Address books that will not be displayed:") )); diff --git a/turba/templates/prefs/column.html b/turba/templates/prefs/column.html index 30e1ab3ed..31fa0bf37 100644 --- a/turba/templates/prefs/column.html +++ b/turba/templates/prefs/column.html @@ -3,29 +3,33 @@
-

Click an address book to sort its columns. Drag columns to re-arrange them. Check a column to enable it.

+
+ Click an address book to sort its columns. Drag columns to re-arrange them. Check a column to enable it. +
-
-
    +

    +

    +
      - class="active"> + class="active"> -
    -
    +
+
-
+
-
-
    - -
  1. - checked="checked" /> -
  2. +
    +
      + +
    1. + checked="checked" /> +
    2. -
    -
    +
+
-
+
+


-- 2.11.0