source: pmb4.2/trunk/fuentes/pmb/admin/users/users.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.2 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: users.inc.php,v 1.1 2008-10-20 14:10:00 dbellamy Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9$admin_layout = str_replace('!!menu_sous_rub!!', htmlentities($msg[26],ENT_QUOTES, $charset), $admin_layout);
10print $admin_layout;
11               
12
13require_once('./admin/users/users_func.inc.php');
14
15print $admin_user_javascript;
16
17switch($action) {
18        case 'pwd':
19                include("./admin/users/user_pwd.inc.php");
20                break;
21        case 'modif':
22                include("./admin/users/user_modif.inc.php");
23                break;
24        case 'update':
25                include("./admin/users/user_update.inc.php");
26                break;
27        case 'add':
28                echo window_title($database_window_title.$msg[347].$msg[1003].$msg[1001]);
29                user_form("", "", "", 3, 0, "", 10, 10, 10, $form_param_default="", "", "0", "0" );
30                echo form_focus('userform', 'form_login');
31                break;
32        case 'del':
33                include("./admin/users/user_del.inc.php");
34                break;
35        default:
36                echo window_title($database_window_title.$msg[25].$msg[1003].$msg[1001]);
37                show_users($dbh);
38                break;
39}
40?>
Note: See TracBrowser for help on using the repository browser.