source: extensions/piclens/admin/piclens_admin.php @ 3410

Last change on this file since 3410 was 3410, checked in by tiico, 15 years ago
File size: 1.2 KB
Line 
1<?php
2/*
3 * Plugin Name: CoolIris-Piclens
4 * Version: 0.3.4
5 * Description: Cooliris/Piclens activation
6 * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
7 * Author: Tiico
8 * Author URI:
9 * */
10/********* Fichier piclens-admin.php  *********/
11 
12if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
13
14load_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'] = 'config';
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('config',
31//               'Configuration',
32                                l10n('piclens_config_tab'),
33               $my_base_url.'&amp;tab=config');
34$tabsheet->add('rssfeed',
35//               'Flux RSS',
36                                l10n('piclens_rssfeed_tab'),
37               $my_base_url.'&amp;tab=rssfeed');
38$tabsheet->add('piclenswallconfig',
39//               'Configugation PiclensWall',
40                                l10n('piclens_3dwallconfig_tab'),
41               $my_base_url.'&amp;tab=piclenswallconfig');
42$tabsheet->select($page['tab']);
43$tabsheet->assign();
44
45include_once (PICLENS_ADMIN_PATH.$page['tab'] . '.php');
46
47?>
Note: See TracBrowser for help on using the repository browser.