|
Revision 9782, 0.6 KB
(checked in by mistic100, 2 years ago)
|
|
[extensions] Front2Back
- compatibility with 2.2.0
- jQuery method for swap
- localisation
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | Plugin Name: Front2Back |
|---|
| 4 | Version: 2.2.0 |
|---|
| 5 | Description: Add a link on picture's page to show a alternative version of the pic (for postcards for example) |
|---|
| 6 | Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=183 |
|---|
| 7 | Author: VDigital & Mistic |
|---|
| 8 | */ |
|---|
| 9 | |
|---|
| 10 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
|---|
| 11 | |
|---|
| 12 | define('F2B_DIR', basename(dirname(__FILE__))); |
|---|
| 13 | define('F2B_PATH', PHPWG_PLUGINS_PATH . F2B_DIR . '/'); |
|---|
| 14 | |
|---|
| 15 | load_language('plugin.lang', F2B_PATH); |
|---|
| 16 | include_once(F2B_PATH . 'Front2Back.php'); |
|---|
| 17 | add_event_handler('render_element_content', 'Front2Back_content', 99, 2); |
|---|
| 18 | |
|---|
| 19 | ?> |
|---|