mirror of
https://github.com/e107inc/e107.git
synced 2025-10-11 04:54:26 +02:00
98 lines
3.0 KiB
PHP
98 lines
3.0 KiB
PHP
<?php
|
|
/*
|
|
+ ----------------------------------------------------------------------------+
|
|
| e107 website system
|
|
|
|
|
| ©Steve Dunstan 2001-2002
|
|
| http://e107.org
|
|
| jalist@e107.org
|
|
|
|
|
| Released under the terms and conditions of the
|
|
| GNU General Public License (http://gnu.org).
|
|
|
|
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/plugin.php,v $
|
|
| $Revision: 1.1.1.1 $
|
|
| $Date: 2006-12-02 04:35:24 $
|
|
| $Author: mcfly_e107 $
|
|
+----------------------------------------------------------------------------+
|
|
*/
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
@include_once(e_PLUGIN."linkwords/languages/".e_LANGUAGE.".php");
|
|
@include_once(e_PLUGIN."linkwords/languages/English.php");
|
|
|
|
// Plugin info -------------------------------------------------------------------------------------------------------
|
|
$eplug_name = "LWLANINS_1";
|
|
$eplug_version = "1.0";
|
|
$eplug_author = "jalist";
|
|
$eplug_url = "http://e107.org";
|
|
$eplug_email = "jalist@e107.org";
|
|
$eplug_description = LWLANINS_2;
|
|
$eplug_compatible = "e107v7+";
|
|
$eplug_readme = "";
|
|
// leave blank if no readme file
|
|
|
|
// Name of the plugin's folder -------------------------------------------------------------------------------------
|
|
$eplug_folder = "linkwords";
|
|
|
|
// Mane of menu item for plugin ----------------------------------------------------------------------------------
|
|
$eplug_menu_name = "";
|
|
|
|
// Name of the admin configuration file --------------------------------------------------------------------------
|
|
$eplug_conffile = "admin_config.php";
|
|
|
|
// Icon image and caption text ------------------------------------------------------------------------------------
|
|
$eplug_icon = $eplug_folder."/images/linkwords_32.png";
|
|
$eplug_icon_small = $eplug_folder."/images/linkwords_16.png";
|
|
$eplug_caption = LWLANINS_3;
|
|
|
|
// List of preferences -----------------------------------------------------------------------------------------------
|
|
|
|
$eplug_array_pref = array(
|
|
'tohtml_hook' => 'linkwords'
|
|
);
|
|
|
|
// List of table names -----------------------------------------------------------------------------------------------
|
|
$eplug_table_names = array(
|
|
"linkwords"
|
|
);
|
|
|
|
// List of sql requests to create tables -----------------------------------------------------------------------------
|
|
$eplug_tables = array(
|
|
"CREATE TABLE ".MPREFIX."linkwords (
|
|
linkword_id INT UNSIGNED NOT NULL auto_increment,
|
|
linkword_active tinyint(1) unsigned NOT NULL default '0',
|
|
linkword_word varchar(100) NOT NULL default '',
|
|
linkword_link varchar(150) NOT NULL default '',
|
|
PRIMARY KEY ( linkword_id )
|
|
) TYPE=MyISAM AUTO_INCREMENT=1;"
|
|
);
|
|
|
|
|
|
// Create a link in main menu (yes=TRUE, no=FALSE) -------------------------------------------------------------
|
|
$eplug_link = FALSE;
|
|
$eplug_link_name = "";
|
|
$ec_dir = e_PLUGIN."";
|
|
$eplug_link_url = "";
|
|
|
|
|
|
// Text to display after plugin successfully installed ------------------------------------------------------------------
|
|
$eplug_done = LWLANINS_4;
|
|
|
|
|
|
// upgrading ... //
|
|
|
|
$upgrade_add_prefs = "";
|
|
|
|
$upgrade_remove_prefs = "";
|
|
|
|
$upgrade_alter_tables = "";
|
|
|
|
$eplug_upgrade_done = "";
|
|
|
|
|
|
|
|
|
|
|
|
?>
|