aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugins.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-12-14 00:58:57 +0000
committerrvelices <rv-github@modusoptimus.com>2006-12-14 00:58:57 +0000
commitf7960e7e72ca913e1e67844dec6ff0d40de46d1b (patch)
tree678ca1a56753234b43b6ba65eb0b61fb7535787f /admin/plugins.php
parent51e56e9c1f4952a7d8cb7533b62c2829c15df01e (diff)
- plugins admin menu appear now in the admin page menubar
- plugins are loaded immediately after loading the config (allow them to hack more of pwg like user init, template init etc...) - trigger event format_exif_data (for picture display only) git-svn-id: http://piwigo.org/svn/trunk@1655 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/plugins.php')
-rw-r--r--admin/plugins.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/admin/plugins.php b/admin/plugins.php
index 6b5bf4505..e8f2c2a5a 100644
--- a/admin/plugins.php
+++ b/admin/plugins.php
@@ -31,7 +31,6 @@ if( !defined("PHPWG_ROOT_PATH") )
}
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
-include_once(PHPWG_ROOT_PATH.'admin/include/functions_plugins.inc.php');
check_status(ACCESS_ADMINISTRATOR);
$my_base_url = PHPWG_ROOT_PATH.'admin.php?page=plugins';
@@ -162,29 +161,6 @@ foreach ($db_plugins as $db_plugin)
$template->set_filenames(array('plugins' => 'admin/plugins.tpl'));
-trigger_action('plugin_admin_menu');
-
-$template->assign_block_vars('plugin_menu.menu_item',
- array(
- 'NAME' => l10n('Plugins'),
- 'URL' => PHPWG_ROOT_PATH.'admin.php?page=plugins'
- )
- );
-
-if ( isset($page['plugin_admin_menu']) )
-{
- $plug_base_url = PHPWG_ROOT_PATH.'admin.php?page=plugin&amp;section=';
- foreach ($page['plugin_admin_menu'] as $menu)
- {
- $template->assign_block_vars('plugin_menu.menu_item',
- array(
- 'NAME' => $menu['title'],
- 'URL' => $plug_base_url.$menu['uid']
- )
- );
- }
-}
-
$num=0;
foreach( $fs_plugins as $plugin_id => $fs_plugin )
{