[ 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/log/plugin.php,v $ 14 | $Revision: 1.5 $ 15 | $Date: 2007/02/10 15:54:31 $ 16 | $Author: e107steved $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 22 @include_once(e_PLUGIN."log/languages/admin/".e_LANGUAGE.".php"); 23 @include_once(e_PLUGIN."log/languages/admin/English.php"); 24 25 // Plugin info ------------------------------------------------------------------------------------------------------- 26 $eplug_name = ADSTAT_L3; 27 $eplug_version = "2.0"; 28 $eplug_author = "jalist"; 29 $eplug_url = "http://e107.org"; 30 $eplug_email = "jalist@e107.org"; 31 $eplug_description = ADSTAT_L1; 32 $eplug_compatible = "e107v0.7"; 33 $eplug_readme = ""; 34 // leave blank if no readme file 35 36 // Name of the plugin's folder ------------------------------------------------------------------------------------- 37 $eplug_folder = "log"; 38 39 // Name of menu item for plugin ---------------------------------------------------------------------------------- 40 $eplug_menu_name = ""; 41 42 // Name of the admin configuration file -------------------------------------------------------------------------- 43 $eplug_conffile = "admin_config.php"; 44 45 // Icon image and caption text ------------------------------------------------------------------------------------ 46 $eplug_icon = $eplug_folder."/images/stats_32.png"; 47 $eplug_icon_small = $eplug_folder."/images/stats_16.png"; 48 $eplug_caption = ADSTAT_L33; 49 50 // List of preferences ----------------------------------------------------------------------------------------------- 51 $eplug_prefTable = "menu_pref"; 52 $eplug_prefs = array( 53 "statActivate" => 0, 54 "statUserclass" => "", 55 "statClass" => 0, 56 "statBrowser" => 1, 57 "statOs" => 1, 58 "statScreen" => 1, 59 "statDomain" => 1, 60 "statRefer" => 1, 61 "statQuery" => 1, 62 "statRecent" => 1 63 ); 64 65 // List of table names ----------------------------------------------------------------------------------------------- 66 $eplug_table_names = array("logstats"); 67 68 // List of sql requests to create tables ----------------------------------------------------------------------------- 69 $eplug_tables = array( 70 "CREATE TABLE ".MPREFIX."logstats ( 71 log_uniqueid int(11) NOT NULL auto_increment, 72 log_id varchar(50) NOT NULL default '', 73 log_data longtext NOT NULL, 74 PRIMARY KEY (log_uniqueid), 75 UNIQUE KEY log_id (log_id) 76 ) TYPE=MyISAM "); 77 78 79 // Create a link in main menu (yes=TRUE, no=FALSE) ------------------------------------------------------------- 80 $eplug_link = TRUE; 81 $eplug_link_name = "Site Stats"; 82 $eplug_link_url = e_PLUGIN."log/stats.php?1"; 83 84 85 // Text to display after plugin successfully installed ------------------------------------------------------------------ 86 $eplug_done = ADSTAT_L2; 87 88 89 ?>
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 |