1<?php 2/* 3 * e107 website system 4 * 5 * Copyright (C) 2008-2016 e107 Inc (e107.org) 6 * Released under the terms and conditions of the 7 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) 8 * 9 * Plugin - newsfeeds 10 * 11*/ 12 13 14//define("NFLAN_01", "Newsfeeds"); 15//define("NFLAN_02", "This plugin will retrieve rss feeds from other websites and display them according to your preferences"); 16//define("NFLAN_03", "Configure newsfeeds"); // not used 17//define("NFLAN_04", "Newsfeeds plugin has been successfully installed. To add newsfeeds and configure, return to the main admin page and click on the newsfeeds icon in the plugin section."); // FIX USE GENERIC 18//define("NFLAN_05", "Edit"); 19//define("NFLAN_06", "Delete"); 20//define("NFLAN_07", "Existing Newsfeeds");// not used 21//define("NFLAN_08", "Newsfeeds front page");// not used 22//define("NFLAN_09", "Create newsfeed");// not used 23//define("NFLAN_10", "URL to rss feed"); 24//define("NFLAN_10", "URL to the RSS feed.");// not used 25define("NFLAN_11", "Path to image"); 26define("NFLAN_12", "Activation"); 27define("NFLAN_13", "Nowhere (inactive)");// not used 28define("NFLAN_14", "In menu only"); 29//define("NFLAN_15", "Create Newsfeed"); 30//define("NFLAN_16", "Update Newsfeed"); 31//define("NFLAN_17", "Enter 'default' to use the image defined in the feed. To use your own image, enter full path. Leave blank for no image."); 32define("NFLAN_18", "Update interval in seconds"); 33define("NFLAN_19", "e.g. 3600: newsfeed will update every hour"); 34define("NFLAN_20", "On newsfeed main page only"); 35define("NFLAN_21", "In both menu and newsfeed page"); 36//define("NFLAN_22", "Choose where you want the newsfeed displayed."); 37//define("NFLAN_23", "Newsfeed added to database."); 38//define("NFLAN_24", "Required field(s) left blank."); 39//define("NFLAN_25", "Newsfeed updated in database."); 40define("NFLAN_26", "Update Interval"); 41//define("NFLAN_27", "Options"); 42//define("NFLAN_28", "URL"); 43//define("NFLAN_29", "Available newsfeeds"); 44//define("NFLAN_30", "Feed name"); 45//define("NFLAN_31", "Back to newsfeed list"); 46//define("NFLAN_32", "No feed with that identification number can be found."); 47//define("NFLAN_33", "Date published: "); 48//define("NFLAN_34", "not known"); 49//define("NFLAN_35", "posted by "); 50//define("NFLAN_36", "Description"); 51//define("NFLAN_37", "Short description of feed. Enter 'default' to use the description defined in the feed"); 52//define("NFLAN_38", "Headlines"); 53//define("NFLAN_39", "Details"); 54//define("NFLAN_40", "Newsfeed deleted"); 55//define("NFLAN_41", "No newsfeeds defined yet"); 56 57define("NFLAN_43", "Newsfeed Help"); 58define("NFLAN_42", "[h=4]Newsfeed Title[/h] 59 Enter a name to identify the newsfeed accurately. 60 [h=4]URL to RSS Feed[/h] 61 The RSS provider will give you a web address (URL) for the newsfeed. 62 [h=4]Path to Image[/h] 63 If the provider specifies an image to use, enter 'default' to use it or choose use your own image by entering the immage address. Leave blank to use no image at all. 64 [h=4]Description[/h] 65 Enter a short description for the feed, or 'default' to use the description defined in the feed (if there is one). 66 [h=4]Update Interval[/h] 67 Enter the number of seconds before the feed is updated. 68 For example, 1800 = 30 Minutes, 3600 = 1 Hour, 86400 = 1 Day. 69 [h=4]Activation[/h] 70 Newsfeeds can be displayed in the menu only or on the newsfeed page. Enter the details where feeds should be displayed. To see newsfeeds in e107 menus you will need to activate the [b]Newsfeeds Menu[/b] in [link=".e_ADMIN."menus.php]Menu Manager[/link]. 71 [h=4]Tip[/h] 72 There are many feed direcotries on the web, try [link=https://www.dmoz.org/Computers/Internet/On_the_Web/Syndication_and_Feeds/RSS/Directories/ external]dmoz[/link] or [link=http://www.feedster.com/ external]feedster.com[/link]"); 73 74 75 //define("NFLAN_44", "click to view");LAN_CLICK_TO_VIEW 76 77define("NFLAN_45", "Number of items to show in menu"); 78define("NFLAN_46", "Number of items to show on main page"); 79//define("NFLAN_47", "0 or blank to show all");//not used 80 81//define("NFLAN_48", "Unable to save raw data in database."); 82//define("NFLAN_49", "Unable to unserialize rss data - uses non-standard syntax");//not used 83//define("NFLAN_50", "Write to database failed: "); 84 85// Admin log messages 86//=================== 87//define("LAN_AL_NEWSFD_01","News Feed created");//not used 88//define("LAN_AL_NEWSFD_02","News Feed updated");//not used 89//define("LAN_AL_NEWSFD_03","News Feed deleted");//not used 90//define("LAN_AL_NEWSFD_04","");//not used 91//define("LAN_AL_NEWSFD_05","");//not used 92 93//define("NFLAN_50", "Last Refresh");//LAN_LAST_UPDATED 94