source: pmb4.2/trunk/fuentes/pmb/admin/authorities/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: 1.8 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.4 2015-05-18 07:45:15 vtouchard Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9switch($sub) {
10        case 'origins':
11                $admin_layout = str_replace('!!menu_sous_rub!!', $msg['origins'], $admin_layout);
12                print $admin_layout;
13                echo window_title($database_window_title.$msg['origins'].$msg[1003].$msg[1001]);
14                include("./admin/authorities/origins.inc.php");
15                break;
16        case 'perso':
17                $admin_layout = str_replace('!!menu_sous_rub!!', $msg['admin_menu_noti_perso'], $admin_layout);
18                print $admin_layout;
19                echo window_title($database_window_title.$msg['admin_menu_noti_perso'].$msg[1003].$msg[1001]);
20                include("./admin/authorities/perso.inc.php");
21                break;
22        case 'authperso':
23                $admin_layout = str_replace('!!menu_sous_rub!!', $msg['admin_menu_noti_perso'], $admin_layout);
24                print $admin_layout;
25                echo window_title($database_window_title.$msg['admin_menu_noti_perso'].$msg[1003].$msg[1001]);
26                include("./admin/authorities/authperso.inc.php");
27                break;
28        case 'templates':
29                $admin_layout = str_replace('!!menu_sous_rub!!', $msg['admin_menu_authperso_template'], $admin_layout);
30                print $admin_layout;
31                echo window_title($database_window_title.$msg['admin_menu_authperso_template'].$msg[1003].$msg[1001]);
32                include("./admin/authorities/auth_templates.inc.php");
33                break;
34        default:
35                $admin_layout = str_replace('!!menu_sous_rub!!', "", $admin_layout);
36                print $admin_layout;
37                echo window_title($database_window_title.$msg[131].$msg[1003].$msg[1001]);
38                include("$include_path/messages/help/$lang/admin_authorities.txt");
39                break;
40}
Note: See TracBrowser for help on using the repository browser.