mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Merge pull request #3479 from yesszus/patch-1
Update English_admin_rss_menu.php
This commit is contained in:
@@ -48,7 +48,7 @@ define("RSS_LAN_ADMINMENU_1", "RSS Options");
|
|||||||
define("RSS_LAN_ADMINMENU_2", "Listing");
|
define("RSS_LAN_ADMINMENU_2", "Listing");
|
||||||
define("RSS_LAN_ADMINMENU_4", "Import");
|
define("RSS_LAN_ADMINMENU_4", "Import");
|
||||||
|
|
||||||
define("RSS_LAN_ERROR_1", "This is not a valid rss feed.[br][br][Return to rss feed list]");
|
define("RSS_LAN_ERROR_1", "This is not a valid rss feed. [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_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_4", "No rss feeds are available yet");
|
||||||
@@ -104,4 +104,4 @@ define("LAN_AL_RSS_05","RSS limits updated");
|
|||||||
define("LAN_AL_RSS_06","RSS settings updated");
|
define("LAN_AL_RSS_06","RSS settings updated");
|
||||||
define("LAN_AL_RSS_07","");
|
define("LAN_AL_RSS_07","");
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
@@ -137,7 +137,7 @@ 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 "))
|
if(!$sql->select('rss', '*', "rss_class!=2 AND rss_url='".$content_type."' ".$check_topic." AND rss_limit>0 "))
|
||||||
{
|
{
|
||||||
require_once(HEADERF);
|
require_once(HEADERF);
|
||||||
$repl = array("<a href='".e_REQUEST_SELF."'>", "</a>");
|
$repl = array("<br /><br /><a href='".e_REQUEST_SELF."'>", "</a>");
|
||||||
$message = str_replace(array("[","]"), $repl, RSS_LAN_ERROR_1);
|
$message = str_replace(array("[","]"), $repl, RSS_LAN_ERROR_1);
|
||||||
$ns->tablerender('', $message);
|
$ns->tablerender('', $message);
|
||||||
require_once(FOOTERF);
|
require_once(FOOTERF);
|
||||||
@@ -809,4 +809,4 @@ class rssCreate
|
|||||||
$tmp = explode("@",$text);
|
$tmp = explode("@",$text);
|
||||||
return ($tmp[0] != "") ? $tmp[0].RSS_LAN_2 : RSS_LAN_3;
|
return ($tmp[0] != "") ? $tmp[0].RSS_LAN_2 : RSS_LAN_3;
|
||||||
}
|
}
|
||||||
} // End class rssCreate
|
} // End class rssCreate
|
||||||
|
@@ -9,6 +9,7 @@
|
|||||||
* Custom FAQ install/uninstall/update routines
|
* Custom FAQ install/uninstall/update routines
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
e107::includeLan(e_PLUGIN.'rss_menu/languages/'.e_LANGUAGE.'_admin_rss_menu.php');
|
||||||
|
|
||||||
class rss_menu_setup
|
class rss_menu_setup
|
||||||
{
|
{
|
||||||
@@ -26,11 +27,11 @@ class rss_menu_setup
|
|||||||
|
|
||||||
$insert = array(
|
$insert = array(
|
||||||
'rss_id' => 0,
|
'rss_id' => 0,
|
||||||
'rss_name' => 'News',
|
'rss_name' => RSS_NEWS,
|
||||||
'rss_url' => 'news',
|
'rss_url' => 'news',
|
||||||
'rss_topicid' => '',
|
'rss_topicid' => '',
|
||||||
'rss_path' => 'news',
|
'rss_path' => 'news',
|
||||||
'rss_text' => 'The rss feed of the news',
|
'rss_text' => RSS_PLUGIN_LAN_7,
|
||||||
'rss_datestamp' => time(),
|
'rss_datestamp' => time(),
|
||||||
'rss_class' => '0',
|
'rss_class' => '0',
|
||||||
'rss_limit' => '9'
|
'rss_limit' => '9'
|
||||||
|
Reference in New Issue
Block a user