";
- 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"]);
diff --git a/include/functions.php b/include/functions.php
index dcaa67e56..c5017cbce 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2894,19 +2894,19 @@
function format_warning($msg, $id = "") {
global $link;
return "
- $msg
";
+
$msg
";
}
function format_notice($msg, $id = "") {
global $link;
return "
- $msg
";
+
$msg
";
}
function format_error($msg, $id = "") {
global $link;
return "
- $msg
";
+
$msg
";
}
function print_notice($msg) {
diff --git a/plugins/share/init.php b/plugins/share/init.php
index a3dc35224..4d7e0437c 100644
--- a/plugins/share/init.php
+++ b/plugins/share/init.php
@@ -46,7 +46,7 @@ class Share extends Plugin {
AND owner_uid = " . $_SESSION['uid']);
}
- print __("You can share this article by the following unique URL:");
+ print "
". __("You can share this article by the following unique URL:") . "