[ 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/featurebox/plugin.php,v $ 14 | $Revision: 1.7 $ 15 | $Date: 2006/07/13 21:14:05 $ 16 | $Author: e107coders $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 22 @include_once(e_PLUGIN."featurebox/languages/".e_LANGUAGE.".php"); 23 @include_once(e_PLUGIN."featurebox/languages/English.php"); 24 25 // Plugin info ------------------------------------------------------------------------------------------------------- 26 $eplug_name = FBLAN_01; 27 $eplug_version = "1.0"; 28 $eplug_author = "Steve Dunstan (jalist)"; 29 $eplug_url = "http://e107.org"; 30 $eplug_email = "jalist@e107.org"; 31 $eplug_description = FBLAN_02; 32 $eplug_compatible = "e107v0.7+"; 33 $eplug_readme = ""; 34 35 // Name of the plugin's folder ------------------------------------------------------------------------------------- 36 $eplug_folder = "featurebox"; 37 38 // Name of menu item for plugin ---------------------------------------------------------------------------------- 39 $eplug_menu_name = ""; 40 41 // Name of the admin configuration file -------------------------------------------------------------------------- 42 $eplug_conffile = "admin_config.php"; 43 44 45 // Icon image and caption text ------------------------------------------------------------------------------------ 46 $eplug_icon = $eplug_folder."/images/featurebox_32.png"; 47 $eplug_icon_small = $eplug_folder."/images/featurebox_16.png"; 48 $eplug_caption = FBLAN_03; 49 50 // List of preferences ----------------------------------------------------------------------------------------------- 51 $eplug_prefs = array("fb_active" => 1); 52 53 // List of table names ----------------------------------------------------------------------------------------------- 54 $eplug_table_names = array("featurebox"); 55 56 // List of sql requests to create tables ----------------------------------------------------------------------------- 57 $eplug_tables = array( 58 "CREATE TABLE ".MPREFIX."featurebox ( 59 fb_id int(10) unsigned NOT NULL auto_increment, 60 fb_title varchar(200) NOT NULL default '', 61 fb_text text NOT NULL, 62 fb_mode tinyint(3) unsigned NOT NULL default '0', 63 fb_class tinyint(3) unsigned NOT NULL default '0', 64 fb_rendertype tinyint(1) unsigned NOT NULL default '0', 65 fb_template varchar(50) NOT NULL default '', 66 PRIMARY KEY (fb_id) 67 ) TYPE=MyISAM AUTO_INCREMENT=1 ;"); 68 69 // Create a link in main menu (yes=TRUE, no=FALSE) ------------------------------------------------------------- 70 $eplug_link = FALSE; 71 $eplug_link_name = ""; 72 $eplug_link_url = ""; 73 74 // Text to display after plugin successfully installed ------------------------------------------------------------------ 75 $eplug_done = FBLAN_04; // "To activate please go to your menus screen and select the pm_menu into one of your menu areas."; 76 77 ?>
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 |