From 11b9d0becdfc894c04afaa912798917911ff35a8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 Nov 2010 21:06:36 +0300 Subject: refactor feed subscription/browser dialogs --- modules/popup-dialog.php | 102 +++++++++++++++++++++-------------------------- modules/pref-feeds.php | 22 +++++----- 2 files changed, 59 insertions(+), 65 deletions(-) (limited to 'modules') diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 2f339e669..351d4b0f9 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -240,109 +240,101 @@ if ($id == "quickAddFeed") { - print "".__('Subscribe to Feed').""; - print ""; - - print ""; - print ""; - //print ""; + print ""; + print ""; print "
".__("Feed")."
"; print "
"; - print __("URL:") . " "; - - print ""; + print ""; print "
"; if (get_pref($link, 'ENABLE_FEED_CATS')) { print __('Place in category:') . " "; - print_feed_cat_select($link, "cat"); + print_feed_cat_select($link, "cat", false, 'dojoType="dijit.form.Select"'); } print "
"; - print '"; print "
".__("Options")."
"; @@ -613,7 +617,7 @@ + onclick=\"return closeInfoBox()\" value=\"".__('Cancel')."\"> "; print "]]>
"; @@ -1411,7 +1415,7 @@ $check_box = ""; + type=\"checkbox\" \">"; $class = ($feedctr % 2) ? "even" : "odd"; @@ -1449,8 +1453,8 @@ $feed_icon = ""; } - $check_box = ""; + $check_box = ""; $class = ($feedctr % 2) ? "even" : "odd"; -- cgit v1.2.3