From cf9dc03257dd08df4b58ff476e6115666a6b7e12 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 12 Jan 2010 19:46:07 +0300 Subject: rework the way published feed is displayed; css cleanups --- modules/popup-dialog.php | 27 +++++++++++++++++++++++++++ modules/pref-feeds.php | 18 ++++++++++-------- 2 files changed, 37 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index ea3ff8135..e75d8a9ad 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -3,6 +3,33 @@ $id = $_REQUEST["id"]; $param = db_escape_string($_REQUEST["param"]); + if ($id == "pubUrl") { + + print "
".__('Published Articles')."
"; + print "
"; + + $url_path = article_publish_url($link); + + print __("Your Published articles feed URL is:"); + + print "
"; + print "$url_path"; + print "
"; + + print "
"; + + print " "; + + print ""; + + print "
"; + + return; + } + if ($id == "explainError") { print "
".__('Notice')."
"; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 452acde69..c1190b549 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1404,12 +1404,17 @@ print "

" . __("Firefox Integration") . "

"; - print "

" . __('This Tiny Tiny RSS site can be used as a Firefox Feed Reader by clicking the link below.'); - print "

"; + + print "" . - __('Click here to register this site as a feed reader.') . "

"; + __('Click here to register this site as a feed reader.') . + ""; + print "

"; print "

".__("Published articles")."

"; @@ -1419,12 +1424,9 @@ print "

".__('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the URL specified below.')."

"; - $url_path = article_publish_url($link); - - print "

".__("Link to published articles feed.")."

"; + print " "; - print ""; } -- cgit v1.2.3-54-g00ecf