diff --git a/e107_plugins/rss_menu/languages/English_admin_rss_menu.php b/e107_plugins/rss_menu/languages/English_admin_rss_menu.php index e617c41e0..4b80fb99c 100644 --- a/e107_plugins/rss_menu/languages/English_admin_rss_menu.php +++ b/e107_plugins/rss_menu/languages/English_admin_rss_menu.php @@ -45,9 +45,9 @@ define("RSS_LAN_ADMINMENU_1", "RSS Options"); define("RSS_LAN_ADMINMENU_2", "Listing"); define("RSS_LAN_ADMINMENU_4", "Import"); -define("RSS_LAN_ERROR_1", "This is not a valid rss feed

<< return to rss feed list"); +define("RSS_LAN_ERROR_1", "This is not a valid rss feed.[br][br][Return to rss feed list]"); define("RSS_LAN_ERROR_2", "Your e107_config.php file or your language files contain spaces or  characters before the <? characters. You should remove this with a non-utf8 text-editor if you wish to have a valid RSS feed."); -define("RSS_LAN_ERROR_3", "No rss feeds are present yet
please use the import feature to import available rss feeds or create a rss feed manually."); +define("RSS_LAN_ERROR_3", "No rss feeds are present yet[br]please use the import feature to import available rss feeds or create a rss feed manually."); define("RSS_LAN_ERROR_4", "No rss feeds are available yet"); define("RSS_LAN_ERROR_5", "This rss entry does not exist"); define("RSS_LAN_ERROR_6", "There are no rss feeds to import"); diff --git a/e107_plugins/rss_menu/rss.php b/e107_plugins/rss_menu/rss.php index 53ac1c417..81e50a2af 100644 --- a/e107_plugins/rss_menu/rss.php +++ b/e107_plugins/rss_menu/rss.php @@ -135,7 +135,9 @@ if(!$sql->select('rss', '*', "rss_class!=2 AND rss_url='".$content_type."' ".$ch if(!$sql->select('rss', '*', "rss_class!=2 AND rss_url='".$content_type."' ".$check_topic." AND rss_limit>0 ")) { require_once(HEADERF); - $ns->tablerender('', RSS_LAN_ERROR_1); + $repl = array("", ""); + $message = str_replace(array("[","]"), $repl, RSS_LAN_ERROR_1); + $ns->tablerender('', $message); require_once(FOOTERF); exit; }