source: extensions/addThis/admin/AddThis_admin.php

Last change on this file was 7925, checked in by ddtddt, 14 years ago

[extensions] - addThis - add lv_LV (Latvian) thanks to Aivars Baldone

File size: 900 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->select($page['tab']);
34$tabsheet->assign();
35
36include_once (ADDTHIS_ADMIN_PATH.$page['tab'] . '.php');
37
38?>
Note: See TracBrowser for help on using the repository browser.