Last change
on this file since 31663 was
30272,
checked in by sarybe, 10 years ago
|
Bug fix for html and double quotes in name (title) et description (comment). Remove slashing for simple quote.
|
File size:
788 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /* |
---|
4 | |
---|
5 | Plugin Name: Thumbnail Tooltip |
---|
6 | |
---|
7 | Version: 1.4.8.2 |
---|
8 | Description: Permet de changer l'infobulle sur les images dans les albums. |
---|
9 | |
---|
10 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=738 |
---|
11 | |
---|
12 | Author: Sarybe |
---|
13 | |
---|
14 | Author URI: http://www.lesrempartsdetours.com |
---|
15 | |
---|
16 | */ |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | // 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) |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | if (!defined('PHPWG_ROOT_PATH')) { |
---|
25 | |
---|
26 | die('Hacking attempt!'); |
---|
27 | |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | define('thumbnail_tooltip_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | if (script_basename() == 'admin') { |
---|
37 | |
---|
38 | include(dirname(__FILE__).'/admin/functions.inc.php'); |
---|
39 | |
---|
40 | } |
---|
41 | |
---|
42 | else { |
---|
43 | |
---|
44 | include_once(dirname(__FILE__).'/initialize.inc.php'); |
---|
45 | |
---|
46 | } |
---|
47 | |
---|
48 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.