From d69fa6d66afc03115682840e71619914449a2abc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Nov 2010 21:39:51 +0300 Subject: [PATCH] further pref-pane updates --- functions.php | 2 +- modules/pref-feeds.php | 10 ++------ modules/pref-filters.php | 9 +++++++ modules/pref-labels.php | 17 ++++++++------ modules/pref-prefs.php | 2 +- modules/pref-users.php | 51 ++++++++++++++++++++++------------------ prefs.js | 2 ++ prefs.php | 2 +- 8 files changed, 54 insertions(+), 41 deletions(-) diff --git a/functions.php b/functions.php index 2282cb74..6fa9e9f2 100644 --- a/functions.php +++ b/functions.php @@ -1695,7 +1695,7 @@ $sel .= " value=\"0\""; } - print " $v "; } diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 783dd34a..c071ad38 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -992,19 +992,13 @@ "; */ print "
". - "" . __('Select').""; - + "" . __('Select').""; print "
"; print "
".__('All')."
"; print "
".__('None')."
"; - print "
"; - - /* print "
".__('All')."
, -
".__('None')."
"; */ - - print "
"; + print ""; print " "; diff --git a/modules/pref-filters.php b/modules/pref-filters.php index d21f3533..153707f6 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -306,6 +306,15 @@ "; + print "
". + "" . __('Select').""; + print "
"; + print "
".__('All')."
"; + print "
".__('None')."
"; + print "
"; + print " "; diff --git a/modules/pref-labels.php b/modules/pref-labels.php index c794e023..cc92985a 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -115,7 +115,7 @@ if (label_create($link, $caption)) { if (!$output) { - //print T_sprintf("Created label %s", htmlspecialchars($caption)); + print T_sprintf("Created label %s", htmlspecialchars($caption)); } } @@ -163,6 +163,15 @@ "; + print "
". + "" . __('Select').""; + print "
"; + print "
".__('All')."
"; + print "
".__('None')."
"; + print "
"; + print" "; @@ -209,12 +218,6 @@ print "

"; - print "
- ".__('Select:')." - ".__('All').", - ".__('None')." - "; - $lnum = 0; while ($line = db_fetch_assoc($result)) { diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 18a33639..d8a1cb13 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -346,7 +346,7 @@ $themes = get_all_themes(); print " - "; @@ -376,21 +377,31 @@ $sort = "login"; } - print ""; + print "
". + "" . __('Select').""; + print "
"; + print "
".__('All')."
"; + print "
".__('None')."
"; + print "
"; + + print ""; print " - - - - "; + + + + "; print ""; #toolbar print ""; #pane print "
"; + print "

$status_msg"; if ($user_search) { @@ -424,12 +435,6 @@ print "

"; - print " diff --git a/prefs.js b/prefs.js index 3bdf36bc..e4e002c1 100644 --- a/prefs.js +++ b/prefs.js @@ -1165,6 +1165,8 @@ function init() { dojo.require("dijit.Dialog"); dojo.require("dijit.form.Button"); dojo.require("dijit.form.TextBox"); + dojo.require("dijit.form.RadioButton"); + dojo.require("dijit.form.Select"); dojo.require("dijit.Toolbar"); dojo.require("dojo.data.ItemFileWriteStore"); dojo.require("dijit.Tree"); diff --git a/prefs.php b/prefs.php index eda3cd0f..0e48665b 100644 --- a/prefs.php +++ b/prefs.php @@ -118,7 +118,7 @@ href="backend.php?op=pref-labels" title="">= 10) { ?> -
-- 2.39.5
- ".__('Select:')." - ".__('All').", - ".__('None')." - "; - print "
  ".__('Login')."