Location: PHPKode > projects > e107_help Plugin > Liveforspeed/plugin.php
<?php
/*
+---------------------------------------------------------------+
|	e107 website system
|
|	┬ęSteve Dunstan 2001-2002
|	http://e107.org
|	hide@address.com
|
|	Released under the terms and conditions of the
|	GNU General Public License (http://gnu.org).
+---------------------------------------------------------------+
*/
// Plugin info -------------------------------------------------------------------------------------------------------
$eplug_name = "e107 live for speed plugin";
$eplug_version = "0.1";
$eplug_author = "Andrew phelps";
$eplug_logo = "images/button.png";
$eplug_url = "http://e107uk.co.uk";
$eplug_email = "hide@address.com";
$eplug_description = "e107uk lfs Menu (Thanks to Pasado, Andy and Morley for the images)";
$eplug_compatible = "e107 v6 & v7";
$eplug_readme = "";	// leave blank if no readme file

// Name of the plugin's folder -------------------------------------------------------------------------------------
$eplug_folder = "Liveforspeed";

// Mane of menu item for plugin ----------------------------------------------------------------------------------
$eplug_menu_name = "liveforspeed";

// Name of the admin configuration file --------------------------------------------------------------------------
$eplug_conffile = "admin_config.php";

// Icon image and caption text ------------------------------------------------------------------------------------
$eplug_icon = $eplug_folder."/images/icon.png";
$eplug_caption =  "";

// List of preferences -----------------------------------------------------------------------------------------------
$eplug_prefs = array(
	"Liveforspeed_player1" => "pinto_pt",
	"Liveforspeed_player1_name" => "R.Pinto",
	"Liveforspeed_player2" => "tiagolapa",
	"Liveforspeed_player2_name" => "T.Lapa",
	"Liveforspeed_player3" => "[snek]",
	"Liveforspeed_player3_name" => "SNEK",
	"Liveforspeed_player4" => "mad-max",
	"Liveforspeed_player4_name" => "Mad Max",
	"Liveforspeed_player5" => "",
	"Liveforspeed_player5_name" => "",
	"Liveforspeed_no" => "1",
	"Liveforspeed_detail" => "1",
	);
// List of table names -----------------------------------------------------------------------------------------------
//$eplug_table_names = "";

// List of sql requests to create tables -----------------------------------------------------------------------------
$eplug_tables = "";

// Create a link in main menu (yes=TRUE, no=FALSE) -------------------------------------------------------------
$eplug_link = FALSE;
$eplug_link_name = "";
$eplug_link_url = "";


// Text to display after plugin successfully installed ------------------------------------------------------------------
$eplug_done = "To activate please <a href=\"".e_ADMIN."menus.php\">go to your menus screen</a> and select the Liveforspeed into one of your menu areas.
<br />";

$sql12 = new db;
if($sql12 -> db_Select("plugin", "*", "plugin_name='lfs Menu'")){
	$sql12 -> db_Update("plugin", "plugin_installflag=1 WHERE plugin_name='lfs Menu' ");
}
// upgrading ... //

$upgrade_add_prefs = "";

$upgrade_remove_prefs = "";

$upgrade_alter_tables = "";

$eplug_upgrade_done = "";

?>	
Return current item: e107_help Plugin