<?php
/*
+------------------------------------------------------------------------------+
|     ShowMyIP - a plugin by nlstart
|
|	Plugin Support Site: e107.webstartinternet.com
|
|	For the e107 website system visit http://e107.org
|
|	Released under the terms and conditions of the
|	GNU General Public License (http://gnu.org).
+------------------------------------------------------------------------------+
*/
// if e107 is not running we won't run this plugin program
if (!defined('e107_INIT')) { exit; }

// determine the plugin directory as a global variable
global $PLUGINS_DIRECTORY;

// use this folder during install
$eplug_folder = "showmyip";

// Get language file (assume that the English language file is always present)
$lan_file = e_PLUGIN."showmyip/languages/".e_LANGUAGE.".php";
include_lan($lan_file);

$eplug_name = SHOWMYIP_PAGE_NAME;
$eplug_version = "1.1";
$eplug_author = "nlstart";
$eplug_url = "http://plugins.e107.org/";
$eplug_email = "nlstart@webstartinternet.com";
$eplug_description = SHOWMYIP_DESC;
$eplug_compatible = "e107v0.7+";
$eplug_compliant = TRUE; // indicator if plugin is XHTML compliant, shows icon
$eplug_readme = "readme.txt";

$eplug_menu_name = SHOWMYIP_MENU;
$eplug_conffile = "";
$eplug_icon = $eplug_folder."/images/logo_32.png";
$eplug_icon_small = $eplug_folder."/images/logo_16.png";
$eplug_caption = SHOWMYIP_CAPTION;

// List of preferences ---------------------------------------------------------
// this stores a default value(s) in the preferences. 0 = Off , 1= On
// Preferences are saved with plugin folder name as prefix to make preferences unique and recognisable
$eplug_prefs = array(
);

// List of table names ---------------------------------------------------------
$eplug_table_names = array(
);

// List of sql requests to create tables ---------------------------------------
$eplug_tables = array(
);

// Create a link in main menu (yes=TRUE, no=FALSE) -------------------------------------------------------------------
$eplug_link = TRUE;
$eplug_link_name = SHOWMYIP_LINK_NAME;
// $plugins_directory can be named differently than the default e107_plugins in the e107_config
$eplug_link_url = $PLUGINS_DIRECTORY."showmyip/showmyip.php";
$eplug_done = SHOWMYIP_DONE1." ".$eplug_name." v".$eplug_version." ".SHOWMYIP_DONE2;

// upgrading ... //
$upgrade_add_prefs = "";
$upgrade_remove_prefs = "";
//$upgrade_alter_tables = "";

//*
$upgrade_alter_tables = array(

	"",
	
	""
    );
    
//*/

$eplug_upgrade_done = SHOWMYIP_UPGRADE_DONE." ".$eplug_name." v".$eplug_version.".";
?>