diff options
author | Andrew Dolgov <[email protected]> | 2012-06-14 21:23:09 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-06-14 21:23:09 +0400 |
commit | ca6a0741b4819207e19d1afca02044db9885b94d (patch) | |
tree | 334e2c13b0ac6eb3804e034a3892968316a2b619 /classes/dlg.php | |
parent | ddb575c744e2740611fd51d11492a5bdc6265caf (diff) |
tweak dialog topmost notices; add an explanation for the batch feed editor
Diffstat (limited to 'classes/dlg.php')
-rw-r--r-- | classes/dlg.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/classes/dlg.php b/classes/dlg.php index 345e0c3ef..0a5412fb5 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -590,7 +590,7 @@ class Dlg extends Protected_Handler { 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 "<div class=\"dialogNotice\">" . __("These feeds have not been updated with new content for 3 months (oldest first):") . "</div>"; print "<div dojoType=\"dijit.Toolbar\">"; print "<div dojoType=\"dijit.form.DropDownButton\">". @@ -656,7 +656,7 @@ class Dlg extends Protected_Handler { } function feedsWithErrors() { - print __("These feeds have not been updated because of errors:"); + print "<div class=\"dialogNotice\">" . __("These feeds have not been updated because of errors:") . "</div>"; $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"]); @@ -871,7 +871,7 @@ class Dlg extends Protected_Handler { $url_path = htmlspecialchars($this->params[2]) . "&key=" . $key; - print __("You can view this feed as RSS using the following URL:"); + print "<div class=\"dialogNotice\">" . __("You can view this feed as RSS using the following URL:") . "</div>"; print "<div class=\"tagCloudContainer\">"; print "<a id='gen_feed_url' href='$url_path' target='_blank'>$url_path</a>"; @@ -924,7 +924,9 @@ class Dlg extends Protected_Handler { $value = str_replace("<br/>", "\n", $value); + print "<div class=\"dialogNotice\">"; print T_sprintf("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here. <a target=\"_blank\" class=\"visibleLink\" href=\"%s\">This file</a> can be used as a baseline.", "tt-rss.css"); + print "</div>"; print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">"; print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"setpref\">"; |