From ecace165c18da3e55c7bba759f5bc89503b7da86 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 6 Aug 2008 08:51:28 +0100 Subject: rework feed dialog layouts --- modules/popup-dialog.php | 72 +++++++++++++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 28 deletions(-) (limited to 'modules/popup-dialog.php') diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index baead1c37..bdfc62b9f 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -58,30 +58,36 @@ if ($id == "quickAddFeed") { - print "
".__('Subscribe to feed')."
"; + print "
".__('Subscribe to Feed')."
"; print "
"; print "
"; print ""; - /* print ""; */ print ""; print ""; - print " - "; - + + print "
"; + if (get_pref($link, 'ENABLE_FEED_CATS')) { - print ""; } + print ""; + + /* print ""; */ - print "
".__('Feed URL:')." - ".__("Feed").""; + print "
"; + + print __("URL:") . " "; + + print "
".__('Category:').""; + print __('Place in category:') . " "; print_feed_cat_select($link, "cat_id"); - print "
"; print __("Some feeds require authentication. If you subscribe to such @@ -89,36 +95,43 @@ print "
"; - /* print ""; */ print ""; + +
".__("Authentication")."
+
". + + __('Login:') . " ". + __('Password:') . " +
"; + + + print "
+ +
"; print ""; - print "
+ print "
- -
- -
"; - + value=\"".__('Cancel')."\">
"; + return; } @@ -205,7 +218,7 @@ } if ($id == "quickAddLabel") { - print "
".__('Create label')."
"; + print "
".__('Create Label')."
"; print "
"; print "
"; @@ -264,7 +277,7 @@ $active_feed_id = db_escape_string($_GET["param"]); - print "
".__('Create filter')."
"; + print "
".__('Create Filter')."
"; print "
"; print ""; @@ -352,7 +365,7 @@ print "
"; - print "
".__("Perform action")."
"; + print "
".__("Perform Action")."
"; print "
"; @@ -378,6 +391,8 @@ print "
".__("Options")."
"; print "
"; + print "
"; + print "
"; @@ -385,6 +400,7 @@ "; print "
"; + print "
"; print ""; -- cgit v1.2.3-54-g00ecf