source: extensions/ThumbnailTooltip/initialize.inc.php @ 27855

Last change on this file since 27855 was 27648, checked in by sarybe, 11 years ago
File size: 785 bytes
Line 
1<?php
2/*
3Plugin Name: Thumbnail Tooltip
4Version: 1.2
5Description: Permet de changer l'infobulle sur les images dans les albums.
6Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=736
7Author: Sarybe
8Author URI: http://www.lesrempartsdetours.com
9*/
10
11
12if (!defined('PHPWG_ROOT_PATH')) {
13  die('Hacking attempt!');
14}
15
16add_event_handler('init', 'Thumbnail_Tooltip');
17
18function 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.