Fix: Closing tab
This commit is contained in:
parent
1fa2d93f07
commit
42d6ed91f7
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
* Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||||
* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
||||||
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
|
||||||
*
|
*
|
||||||
@ -66,6 +66,7 @@ if ($user->id <> $id && ! $canreaduser) accessforbidden();
|
|||||||
/**
|
/**
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ($action == 'addrights' && $caneditperms)
|
if ($action == 'addrights' && $caneditperms)
|
||||||
{
|
{
|
||||||
$edituser = new User($db);
|
$edituser = new User($db);
|
||||||
@ -96,11 +97,9 @@ if ($action == 'delrights' && $caneditperms)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/**
|
||||||
/* */
|
* View
|
||||||
/* Visu et edition */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
llxHeader('',$langs->trans("Permissions"));
|
llxHeader('',$langs->trans("Permissions"));
|
||||||
|
|
||||||
@ -110,9 +109,6 @@ $fuser = new User($db);
|
|||||||
$fuser->fetch($id);
|
$fuser->fetch($id);
|
||||||
$fuser->getrights();
|
$fuser->getrights();
|
||||||
|
|
||||||
/*
|
|
||||||
* Affichage onglets
|
|
||||||
*/
|
|
||||||
$head = user_prepare_head($fuser);
|
$head = user_prepare_head($fuser);
|
||||||
|
|
||||||
$title = $langs->trans("User");
|
$title = $langs->trans("User");
|
||||||
@ -376,6 +372,8 @@ else dol_print_error($db);
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
|
||||||
|
dol_fiche_end();
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user