[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2002 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Source: /cvsroot/e107/e107_0.7/e107_plugins/newsfeed/plugin.php,v $ 14 | $Revision: 1.6 $ 15 | $Date: 2006/08/25 15:37:54 $ 16 | $Author: e107coders $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 22 @include_once(e_PLUGIN."newsfeed/languages/".e_LANGUAGE.".php"); 23 @include_once(e_PLUGIN."newsfeed/languages/English.php"); 24 25 // Plugin info ------------------------------------------------------------------------------------------------------- 26 $eplug_name = "NFLAN_01"; 27 $eplug_version = "2.0"; 28 $eplug_author = "Steve Dunstan (jalist)"; 29 $eplug_url = "http://e107.org"; 30 $eplug_email = "jalist@e107.org"; 31 $eplug_description = NFLAN_02; 32 $eplug_compatible = "e107v0.7+"; 33 $eplug_readme = ""; 34 35 // Name of the plugin's folder ------------------------------------------------------------------------------------- 36 $eplug_folder = "newsfeed"; 37 38 // Name of menu item for plugin ---------------------------------------------------------------------------------- 39 $eplug_menu_name = "newsfeed_menu"; 40 41 // Name of the admin configuration file -------------------------------------------------------------------------- 42 $eplug_conffile = "admin_config.php"; 43 44 // Icon image and caption text ------------------------------------------------------------------------------------ 45 $eplug_icon = $eplug_folder."/images/newsfeed_32.png"; 46 $eplug_icon_small = $eplug_folder."/images/newsfeed_16.png"; 47 $eplug_caption = NFLAN_03; 48 49 // List of preferences ----------------------------------------------------------------------------------------------- 50 $eplug_prefs = array(); 51 52 // List of table names ----------------------------------------------------------------------------------------------- 53 $eplug_table_names = array("newsfeed"); 54 55 // List of sql requests to create tables ----------------------------------------------------------------------------- 56 $eplug_tables = array( 57 "CREATE TABLE ".MPREFIX."newsfeed ( 58 newsfeed_id int(10) unsigned NOT NULL auto_increment, 59 newsfeed_name varchar(150) NOT NULL default '', 60 newsfeed_url varchar(150) NOT NULL default '', 61 newsfeed_data longtext NOT NULL, 62 newsfeed_timestamp int(10) unsigned NOT NULL default '0', 63 newsfeed_description text NOT NULL, 64 newsfeed_image varchar(100) NOT NULL default '', 65 newsfeed_active tinyint(1) unsigned NOT NULL default '0', 66 newsfeed_updateint int(10) unsigned NOT NULL default '0', 67 PRIMARY KEY (newsfeed_id) 68 ) TYPE=MyISAM;"); 69 70 // Create a link in main menu (yes=TRUE, no=FALSE) ------------------------------------------------------------- 71 $eplug_link = TRUE; 72 $eplug_link_name = NFLAN_01; 73 $eplug_link_url = e_PLUGIN."newsfeed/newsfeed.php"; 74 $eplug_link_perms = "Everyone"; // Guest, Member, Admin, Everyone 75 76 // Text to display after plugin successfully installed ------------------------------------------------------------------ 77 $eplug_done = NFLAN_04; // "To activate please go to your menus screen and select the pm_menu into one of your menu areas."; 78 79 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |