mirror of
https://github.com/e107inc/e107.git
synced 2025-02-15 20:15:24 +01:00
86 lines
3.1 KiB
PHP
86 lines
3.1 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/trackback/plugin.php,v $
|
|
| $Revision: 1.1.1.1 $
|
|
| $Date: 2006-12-02 04:35:43 $
|
|
| $Author: mcfly_e107 $
|
|
+----------------------------------------------------------------------------+
|
|
*/
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
include_lan(e_PLUGIN."trackback/languages/".e_LANGUAGE.".php");
|
|
|
|
// Plugin info -------------------------------------------------------------------------------------------------------
|
|
$eplug_name = "Trackback";
|
|
$eplug_version = "1.1";
|
|
$eplug_author = "jalist";
|
|
$eplug_url = "http://e107.org";
|
|
$eplug_email = "jalist@e107.org";
|
|
$eplug_description = TRACKBACK_L2;
|
|
$eplug_compatible = "e107v0.7+";
|
|
$eplug_readme = "";
|
|
// leave blank if no readme file
|
|
|
|
// Name of the plugin's folder -------------------------------------------------------------------------------------
|
|
$eplug_folder = "trackback";
|
|
|
|
// 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/trackback_32.png";
|
|
$eplug_icon_small = $eplug_folder."/images/trackback_16.png";
|
|
$eplug_caption = TRACKBACK_L1;
|
|
|
|
// List of preferences -----------------------------------------------------------------------------------------------
|
|
$eplug_prefs = array(
|
|
"trackbackEnabled" => 0,
|
|
"trackbackString" => "<span class='smalltext'><b>".TRACKBACK_L11."</b></span>"
|
|
);
|
|
|
|
// List of table names -----------------------------------------------------------------------------------------------
|
|
$eplug_table_names = array(
|
|
"trackback");
|
|
|
|
// List of sql requests to create tables -----------------------------------------------------------------------------
|
|
$eplug_tables = array(
|
|
"CREATE TABLE ".MPREFIX."trackback (
|
|
trackback_id int(10) unsigned NOT NULL auto_increment,
|
|
trackback_pid int(10) unsigned NOT NULL default '0',
|
|
trackback_title varchar(200) NOT NULL default '',
|
|
trackback_excerpt varchar(250) NOT NULL default '',
|
|
trackback_url varchar(150) NOT NULL default '',
|
|
trackback_blogname varchar(150) NOT NULL default '',
|
|
PRIMARY KEY (trackback_id),
|
|
KEY trackback_pid (trackback_pid)
|
|
) TYPE=MyISAM;");
|
|
|
|
// Create a link in main menu (yes=TRUE, no=FALSE) -------------------------------------------------------------
|
|
$eplug_link = FALSE;
|
|
$eplug_link_name = "";
|
|
$ec_dir = "";
|
|
$eplug_link_url = "";
|
|
|
|
|
|
// Text to display after plugin successfully installed ------------------------------------------------------------------
|
|
$eplug_done = TRACKBACK_L3;
|
|
$upgrade_alter_tables = array(
|
|
"ALTER TABLE ".MPREFIX."trackback ADD INDEX (trackback_pid);"
|
|
);
|
|
|
|
?>
|