Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Thumbnail Tooltip |
---|
4 | Version: 1.2 |
---|
5 | Description: Permet de changer l'infobulle sur les images dans les albums. |
---|
6 | Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=736 |
---|
7 | Author: Sarybe |
---|
8 | Author URI: http://www.lesrempartsdetours.com |
---|
9 | */ |
---|
10 | |
---|
11 | |
---|
12 | if (!defined('PHPWG_ROOT_PATH')) { |
---|
13 | die('Hacking attempt!'); |
---|
14 | } |
---|
15 | |
---|
16 | add_event_handler('init', 'Thumbnail_Tooltip'); |
---|
17 | |
---|
18 | function Thumbnail_Tooltip() { |
---|
19 | $plugin_name = 'Thumbnail Tooltip'; |
---|
20 | $plugin_path = dirname(__FILE__).'/'; |
---|
21 | $plugin_url = get_root_url(); |
---|
22 | |
---|
23 | include_once($plugin_path.'include/class.inc.php'); |
---|
24 | |
---|
25 | // Create object |
---|
26 | $Thumbnail_Tooltip = new Thumbnail_Tooltip_IMG($plugin_name, $plugin_path, $plugin_url); |
---|
27 | set_plugin_data($Thumbnail_Tooltip -> plugin_name, $Thumbnail_Tooltip); |
---|
28 | } |
---|
29 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.