source: extensions/Back2Front/main.inc.php @ 10828

Last change on this file since 10828 was 10821, checked in by mistic100, 13 years ago

use a private album instead a privacy level

File size: 751 bytes
Line 
1<?php 
2/*
3Plugin Name: Back2Front
4Version: auto
5Description: Add a link on picture's page to show a alternative version of the pic (for postcards for example)
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=533
7Author: Mistic
8Author URI: http://www.strangeplanet.fr
9*/
10
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12global $prefixeTable;
13
14define('B2F_DIR', basename(dirname(__FILE__)));
15define('B2F_PATH', PHPWG_PLUGINS_PATH . B2F_DIR . '/');
16define('B2F_TABLE', $prefixeTable . 'image_verso');
17
18load_language('plugin.lang', B2F_PATH);
19include_once(B2F_PATH . 'Back2Front.php');
20
21add_event_handler('render_element_content', 'Back2Front_picture_content', 99, 2);
22add_event_handler('loc_end_admin', 'Back2Front_picture_modify');
23
24?>
Note: See TracBrowser for help on using the repository browser.