1 | <?php |
---|
2 | // +-----------------------------------------------------------------------+ |
---|
3 | // | Stereo - a Piwigo Plugin | |
---|
4 | // +-----------------------------------------------------------------------+ |
---|
5 | // | Copyright(C) 2010 philippe Brangier | |
---|
6 | // +-----------------------------------------------------------------------+ |
---|
7 | // | This program is free software; you can redistribute it and/or modify | |
---|
8 | // | it under the terms of the GNU General Public License as published by | |
---|
9 | // | the Free Software Foundation | |
---|
10 | // | | |
---|
11 | // | This program is distributed in the hope that it will be useful, but | |
---|
12 | // | WITHOUT ANY WARRANTY; without even the implied warranty of | |
---|
13 | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
---|
14 | // | General Public License for more details. | |
---|
15 | // | | |
---|
16 | // | You should have received a copy of the GNU General Public License | |
---|
17 | // | along with this program; if not, write to the Free Software | |
---|
18 | // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | |
---|
19 | // | USA. | |
---|
20 | // +-----------------------------------------------------------------------+ |
---|
21 | |
---|
22 | /* |
---|
23 | Plugin Name: Stereo |
---|
24 | Version: 2.0.b |
---|
25 | Description: Flash Stereoscopic Viewer plugin |
---|
26 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=367 |
---|
27 | Author: philippe Brangier (plugin) & stereomaker.net (flash viewer) |
---|
28 | Author URI: http://fr.piwigo.org/forum/viewtopic.php?pid=138052 |
---|
29 | */ |
---|
30 | /* Specials thanks to: |
---|
31 | http://stereo.jpn.org/eng/index.html |
---|
32 | |
---|
33 | Synopsis |
---|
34 | on picture-url if Picture-extension is .jps (by default) change picture display to a flash Stereoscopic Viewer |
---|
35 | |
---|
36 | History |
---|
37 | 2010-31-03 2.0.b Rework help button position and Add a configuration page |
---|
38 | 2010-25-03 2.0.0 First release |
---|
39 | 2010-11-03 0.9.0 first beta based upon Panorama 2.0.b from VDigital |
---|
40 | |
---|
41 | */ |
---|
42 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
43 | define('STEREO_DIR' , basename(dirname(__FILE__))); |
---|
44 | define('STEREO_PATH' , PHPWG_PLUGINS_PATH . STEREO_DIR . '/'); |
---|
45 | include_once( STEREO_PATH . 'stereo.php'); |
---|
46 | ?> |
---|