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

Last change on this file since 20348 was 3645, checked in by tiico, 15 years ago

Add index.php file into directory
Add CHANGELOG and clean header files
Add 'last comments' option for name and descriptions (%ID option)
Add maintain.inc.php for migration to 0.4.x (name and description translation)
Complete Chinese translation (thanks winson)

  • Correct the latests commit (3636 & 3637 were not complete)
File size: 1.2 KB
Line 
1<?php
2/*
3 * Plugin Name: CoolIris-Piclens
4 * File :  piclens-admin.php 
5 */
6 
7if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
8
9load_language('plugin.lang', PICLENS_PATH);
10
11include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
12
13
14global $template;
15
16// Gestion des onglets
17if (!isset($_GET['tab']))
18    $page['tab'] = 'config';
19else
20    $page['tab'] = $_GET['tab'];
21   
22$my_base_url = get_admin_plugin_menu_link(__FILE__);
23   
24$tabsheet = new tabsheet();
25$tabsheet->add('config',
26//               'Configuration',
27                                l10n('piclens_config_tab'),
28               $my_base_url.'&amp;tab=config');
29$tabsheet->add('rssfeed',
30//               'Flux RSS',
31                                l10n('piclens_rssfeed_tab'),
32               $my_base_url.'&amp;tab=rssfeed');
33$tabsheet->add('piclenswallconfig',
34//               'Configugation PiclensWall',
35                                l10n('piclens_3dwallconfig_tab'),
36               $my_base_url.'&amp;tab=piclenswallconfig');
37$tabsheet->add('piclenswallconfig2',
38//               'Configugation PiclensWall2',
39                                l10n('piclens_3dwallconfig2_tab'),
40               $my_base_url.'&amp;tab=piclenswallconfig2');
41$tabsheet->select($page['tab']);
42$tabsheet->assign();
43
44include_once (PICLENS_ADMIN_PATH.$page['tab'] . '.php');
45
46?>
Note: See TracBrowser for help on using the repository browser.