From fcef9eeae008bfb921614a55e6c3589a04ec06ec Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Mar 2013 14:01:25 +0400 Subject: remove dialogNotice; tweak dialog appearance a bit --- classes/backend.php | 8 ++++---- classes/dlg.php | 6 ++---- classes/pref/feeds.php | 9 ++++++--- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'classes') diff --git a/classes/backend.php b/classes/backend.php index 7848b0714..c03d583db 100644 --- a/classes/backend.php +++ b/classes/backend.php @@ -29,6 +29,10 @@ class Backend extends Handler { array_push($omap[$action], $sequence); } + print_notice("". + __("Other interface tips are available in the Tiny Tiny RSS wiki.") . + ""); + print ""; - - print "

". - __("Other interface tips are available in the Tiny Tiny RSS wiki.") . - "

"; } function help() { diff --git a/classes/dlg.php b/classes/dlg.php index 23b9c78fa..e03489505 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -557,7 +557,7 @@ class Dlg extends Handler_Protected { $url_path = htmlspecialchars($this->params[2]) . "&key=" . $key; - print "
" . __("You can view this feed as RSS using the following URL:") . "
"; + print "

".__("You can view this feed as RSS using the following URL:")."

"; print "
"; print "$url_path"; @@ -628,9 +628,7 @@ class Dlg extends Handler_Protected { $value = str_replace("
", "\n", $value); - print "
"; - print T_sprintf("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here. This file can be used as a baseline.", "tt-rss.css"); - print "
"; + print_notice(T_sprintf("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here. This file can be used as a baseline.", "tt-rss.css")); print ""; print ""; diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index cd208335b..362d046e8 100644 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -739,7 +739,9 @@ class Pref_Feeds extends Handler_Protected { $feed_ids = db_escape_string($this->link, $_REQUEST["ids"]); - print "
" . __("Enable the options you wish to apply using checkboxes on the right:") . "
"; + print_notice("Enable the options you wish to apply using checkboxes on the right:"); + + print "

"; print ""; print ""; @@ -1520,7 +1522,7 @@ class Pref_Feeds extends Handler_Protected { GROUP BY ttrss_feeds.title, ttrss_feeds.id, ttrss_feeds.site_url, ttrss_feeds.feed_url ORDER BY last_article"); - print "

" . __("These feeds have not been updated with new content for 3 months (oldest first):") . "
"; + print ""; print "
"; print "
". @@ -1586,7 +1588,8 @@ class Pref_Feeds extends Handler_Protected { } function feedsWithErrors() { - print "
" . __("These feeds have not been updated because of errors:") . "
"; + print "

" . __("These feeds have not been updated because of errors:") . + "

"; $result = db_query($this->link, "SELECT id,title,feed_url,last_error,site_url FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]); -- cgit v1.2.3-54-g00ecf