source: extensions/addThis/admin/AddThis_admin.php @ 7808

Last change on this file since 7808 was 3596, checked in by tiico, 15 years ago

Correct button style (thks mistic100)
Up to date AddThis options
Correct icons mode (disable on image.php because not working)
Update version to v 0.0.3

File size: 866 bytes
Line 
1<?php
2/*
3 * Plugin Name: AddThis
4 * Version: 0.0.3
5 * Description: Addthis activation
6 * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=293?eid=293
7 * Author: Tiico
8 * Author URI:
9 * */
10/********* Fichier piclens-admin.php  *********/
11 
12if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
13
14//load_language('plugin.lang', PICLENS_PATH);
15
16include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
17
18
19global $template;
20
21// Gestion des onglets
22if (!isset($_GET['tab']))
23    $page['tab'] = 'AddThis';
24else
25    $page['tab'] = $_GET['tab'];
26   
27$my_base_url = get_admin_plugin_menu_link(__FILE__);
28   
29$tabsheet = new tabsheet();
30$tabsheet->add('AddThis',
31                                l10n('AddThis'),
32               $my_base_url.'&amp;tab=AddThis');
33$tabsheet->assign();
34
35include_once (ADDTHIS_ADMIN_PATH.$page['tab'] . '.php');
36
37?>
Note: See TracBrowser for help on using the repository browser.