mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 05:41:58 +02:00
new module creation
This commit is contained in:
85
e107_plugins/newforumposts_main/plugin.php
Normal file
85
e107_plugins/newforumposts_main/plugin.php
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| <20>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/newforumposts_main/plugin.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:31 $
|
||||
| $Author: mcfly_e107 $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
// Plugin info -------------------------------------------------------------------------------------------------------
|
||||
$eplug_name = "New Forum Posts";
|
||||
$eplug_version = "1";
|
||||
$eplug_author = "jalist";
|
||||
$eplug_url = "http://e107.org";
|
||||
$eplug_email = "jalist@e107.org";
|
||||
$eplug_description = "This plugin displays a list of new forum posts on your front page";
|
||||
$eplug_compatible = "e107v6";
|
||||
$eplug_readme = "";
|
||||
// leave blank if no readme file
|
||||
|
||||
// Name of the plugin's folder -------------------------------------------------------------------------------------
|
||||
$eplug_folder = "newforumposts_main";
|
||||
|
||||
// Mane of menu item for plugin ----------------------------------------------------------------------------------
|
||||
$eplug_menu_name = "newforumposts_main";
|
||||
|
||||
// Name of the admin configuration file --------------------------------------------------------------------------
|
||||
$eplug_conffile = "admin_config.php";
|
||||
|
||||
// Icon image and caption text ------------------------------------------------------------------------------------
|
||||
$eplug_icon = $eplug_folder."/images/new_forum_32.png";
|
||||
$eplug_icon_small = $eplug_folder."/images/new_forum_16.png";
|
||||
$eplug_caption = "Configure New Forum Posts";
|
||||
|
||||
// List of preferences -----------------------------------------------------------------------------------------------
|
||||
$eplug_prefs = array(
|
||||
"nfp_display" => 0,
|
||||
"nfp_caption" => "Latest Forum Posts",
|
||||
"nfp_amount" => 5,
|
||||
);
|
||||
|
||||
// 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 = "";
|
||||
$ec_dir = e_PLUGIN."";
|
||||
$eplug_link_url = "";
|
||||
|
||||
|
||||
// Text to display after plugin successfully installed ------------------------------------------------------------------
|
||||
$eplug_done = "To configure please click on the link in the plugins section of the admin front page";
|
||||
|
||||
|
||||
// upgrading ... //
|
||||
|
||||
$upgrade_add_prefs = "";
|
||||
|
||||
$upgrade_remove_prefs = "";
|
||||
|
||||
$upgrade_alter_tables = "";
|
||||
|
||||
$eplug_upgrade_done = "";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user