source: pmb4.2/trunk/fuentes/pmb/admin/external_services/main.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 2.1 KB
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: main.inc.php,v 1.1 2009-07-15 07:53:37 erwanmartin Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9echo window_title($database_window_title.$msg[7].$msg[1003].$msg[1001]);
10
11switch($sub) {
12        case 'general':
13                $admin_layout = str_replace('!!menu_sous_rub!!', $msg["es_admin_general"], $admin_layout);
14                print $admin_layout;
15                echo window_title($database_window_title.$msg["es_admin_general"].$msg[1003].$msg[1001]);
16                include('./admin/external_services/general.inc.php');
17                break;
18        case 'peruser':
19                $admin_layout = str_replace('!!menu_sous_rub!!', $msg["es_admin_peruser"], $admin_layout);
20                print $admin_layout;
21                echo window_title($database_window_title.$msg["es_admin_peruser"].$msg[1003].$msg[1001]);
22                include('./admin/external_services/peruser.inc.php');
23                break;
24        case 'esusers':
25                $admin_layout = str_replace('!!menu_sous_rub!!', $msg["es_admin_esusers"], $admin_layout);
26                print $admin_layout;
27                echo window_title($database_window_title.$msg["es_admin_esusers"].$msg[1003].$msg[1001]);
28                include('./admin/external_services/esusers.inc.php');
29                break;
30        case 'esusergroups':
31                $admin_layout = str_replace('!!menu_sous_rub!!', $msg["es_admin_esusergroups"], $admin_layout);
32                print $admin_layout;
33                echo window_title($database_window_title.$msg["es_admin_esusergroups"].$msg[1003].$msg[1001]);
34                include('./admin/external_services/esusergroups.inc.php');
35                break;
36/*      case 'es_tests':
37                $admin_layout = str_replace('!!menu_sous_rub!!', "Tests", $admin_layout);
38                print $admin_layout;
39                echo window_title($database_window_title."Tests".$msg[1003].$msg[1001]);
40                include('./admin/external_services/tests.inc.php');
41                break;*/
42        default:
43                $admin_layout = str_replace('!!menu_sous_rub!!', "", $admin_layout);
44                print $admin_layout."<br>";
45                echo window_title($database_window_title.$msg[7].$msg[1003].$msg[1001]);
46                include("$include_path/messages/help/$lang/admin_external_services.txt");
47                break;
48}
49?>
Note: See TracBrowser for help on using the repository browser.