mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Issue #6 Removed HTML from RSS_LAN_ERROR_1 and RSS_LAN_ERROR_3
This commit is contained in:
@@ -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<br /><br /><a href='".e_SELF."'><< return to rss feed list</a>");
|
||||
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<br />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");
|
||||
|
@@ -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("<a href='".e_REQUEST_SELF."'>", "</a>");
|
||||
$message = str_replace(array("[","]"), $repl, RSS_LAN_ERROR_1);
|
||||
$ns->tablerender('', $message);
|
||||
require_once(FOOTERF);
|
||||
exit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user