[ 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/newsletter/plugin.php,v $ 14 | $Revision: 1.4 $ 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."newsletter/languages/".e_LANGUAGE.".php"); 23 @include_once(e_PLUGIN."newsletter/languages/English.php"); 24 25 // Plugin info ------------------------------------------------------------------------------------------------------- 26 $eplug_name = "NLLAN_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 = NLLAN_02; 32 $eplug_compatible = "e107v0.7+"; 33 $eplug_readme = ""; 34 35 // Name of the plugin's folder ------------------------------------------------------------------------------------- 36 $eplug_folder = "newsletter"; 37 38 // Name of menu item for plugin ---------------------------------------------------------------------------------- 39 $eplug_menu_name = "newsletter_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/nl_32.png"; 46 $eplug_icon_small = $eplug_folder."/images/nl_16.png"; 47 $eplug_caption = NLLAN_03; 48 49 // List of preferences ----------------------------------------------------------------------------------------------- 50 $eplug_prefs = array(); 51 52 // List of table names ----------------------------------------------------------------------------------------------- 53 $eplug_table_names = array("newsletter"); 54 55 // List of sql requests to create tables ----------------------------------------------------------------------------- 56 $eplug_tables = array( 57 58 "CREATE TABLE ".MPREFIX."newsletter ( 59 newsletter_id int(10) unsigned NOT NULL auto_increment, 60 newsletter_datestamp int(10) unsigned NOT NULL, 61 newsletter_title varchar(200) NOT NULL, 62 newsletter_text text NOT NULL, 63 newsletter_header text NOT NULL, 64 newsletter_footer text NOT NULL, 65 newsletter_subscribers text NOT NULL, 66 newsletter_parent int(11) NOT NULL, 67 newsletter_flag tinyint(4) NOT NULL, 68 newsletter_issue varchar(100) NOT NULL, 69 PRIMARY KEY (newsletter_id) 70 ) TYPE=MyISAM;"); 71 72 73 // Create a link in main menu (yes=TRUE, no=FALSE) ------------------------------------------------------------- 74 $eplug_link = FALSE; 75 $eplug_link_name = ""; 76 $eplug_link_url = ""; 77 78 // Text to display after plugin successfully installed ------------------------------------------------------------------ 79 $eplug_done = NLLAN_04; 80 81 ?>
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 |