Rev | Line | |
---|
[27649] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Plugin Name: Thumbnail Tooltip |
---|
| 4 | Version: 1.0 |
---|
| 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=738 |
---|
| 7 | Author: Sarybe |
---|
| 8 | Author URI: http://www.lesrempartsdetours.com |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | // Inspiré des plugins CatAddFav by jfc (http://fr.piwigo.org/ext/extension_view.php?eid=489) et Lightbox by P@t (http://piwigo.org/ext/extension_view.php?eid=280) |
---|
| 12 | |
---|
| 13 | if (!defined('PHPWG_ROOT_PATH')) { |
---|
| 14 | die('Hacking attempt!'); |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | define('thumbnail_tooltip_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | if (script_basename() == 'admin') { |
---|
| 22 | include(dirname(__FILE__).'/admin/functions.inc.php'); |
---|
| 23 | } |
---|
| 24 | else { |
---|
| 25 | include_once(dirname(__FILE__).'/initialize.inc.php'); |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.