From 0d32b41e36fffa800991267b637d9344cb88fd2e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Mar 2007 20:16:45 +0100 Subject: interface tweaks, add info/question/exclamation pics --- modules/pref-feeds.php | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'modules/pref-feeds.php') diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 3b5ed89d4..d1ef0eae0 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -35,14 +35,15 @@ } if (count($subscribed) > 0) { - print "
"; - print "Subscribed to feeds:"; - print "
"; + $msg .= ""; + + print format_notice($msg); } } @@ -442,11 +443,9 @@ } if (subscribe_to_feed($link, $feed_url, $cat_id)) { - print "Subscribed to $feed_url."; + print format_notice("Subscribed to $feed_url."); } else { - print "
- Already subscribed to $feed_url. -
"; + print format_warning("Already subscribed to $feed_url."); } if ($p_from != 'tt-rss') { @@ -548,9 +547,7 @@ } else { - print "
- Category $feed_cat already exists in the database. -
"; + print format_warning("Category $feed_cat already exists in the database."); } } @@ -577,8 +574,7 @@ WHERE id = '$id' AND owner_uid = " . $_SESSION["uid"]); } else { - print "
- Unable to delete non empty feed categories.
"; + print format_warning("Unable to delete non empty feed categories."); } -- cgit v1.2.3