Changeset 9888


Ignore:
Timestamp:
03/26/11 19:05:44 (9 years ago)
Author:
Eric
Message:

Piwigo 2.2 compliance (nicer URL for admin panel)

Location:
extensions/NBM_Subscriber
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBM_Subscriber/main.inc.php

    r9535 r9888  
    22/* 
    33Plugin Name: NBM Subscriber 
    4 Version: 1.0.4 
     4Version: 2.2.0 
    55Description: Permet aux visiteurs inscrits de gérer eux-même leur abonnement à la notification par mail (NBM) - Allows registered visitors to manage their own subscription to the notification by mail (NBM) 
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=397 
     
    1010 
    1111if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    12 if (!defined('NBMS_DIR')) define('NBMS_DIR' , basename(dirname(__FILE__))); 
    1312if (!defined('NBMS_PATH')) define('NBMS_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 
    1413 
     
    3231    array( 
    3332      'NAME' => $name, 
    34       'URL'  => get_admin_plugin_menu_link(NBMS_PATH.'/admin/NBMS_admin.php') 
     33      'URL' => get_root_url().'admin.php?page=plugin-'.basename(NBMS_PATH) 
    3534    ) 
    3635  ); 
Note: See TracChangeset for help on using the changeset viewer.