mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 03:03:01 +02:00
- based on test_menu by grum (thanks to you) - integration of dynamic menu bar to pwg
- the menubar is composed now of dynamic blocks that can be ordered/hidden - plugins can add their own blocks git-svn-id: http://piwigo.org/svn/trunk@2488 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -43,9 +43,9 @@ define('AMM_PATH' , PHPWG_PLUGINS_PATH . AMM_DIR . '/');
|
||||
|
||||
define('AMM_VERSION' , '1.0.0'); // => ne pas oublier la version dans l'entête !!
|
||||
|
||||
global $prefixeTable, $menu;
|
||||
global $prefixeTable;
|
||||
|
||||
if(basename($_SERVER["PHP_SELF"])=='admin.php')
|
||||
if(defined('IN_ADMIN'))
|
||||
{
|
||||
//AMM admin part loaded and active only if in admin page
|
||||
include_once("amm_aim.class.inc.php");
|
||||
|
||||
Reference in New Issue
Block a user