/[phpcompta]/phpcompta/html/jrn_update.php
ViewVC logotype

Diff of /phpcompta/html/jrn_update.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by stanpinte, Sun Mar 6 16:38:40 2005 UTC revision 1.12 by sparkyx, Mon Mar 7 19:50:22 2005 UTC
# Line 36  include_once ("check_priv.php"); Line 36  include_once ("check_priv.php");
36    
37  include_once ("user_menu.php");  include_once ("user_menu.php");
38  ShowMenuCompta($_SESSION['g_dossier']);  ShowMenuCompta($_SESSION['g_dossier']);
39    $cn=DbConnect($_SESSION['g_dossier']);
40  if ( $User->admin == 0 ) {  if ( $User->CheckAction($cn,GJRN) == 0 ) {
41    $r=CheckAction($_SESSION['g_dossier'],$_SESSION['g_user'],GJRN);    /* Cannot Access */
42    if ($r == 0 ){    NoAccess();
     /* Cannot Access */  
     NoAccess();  
43    exit -1;                          exit -1;                      
44     }
   }  
 }  
45    
46  echo '<div class="u_subtmenu">';  echo '<div class="u_subtmenu">';
47  echo ShowMenuAdvanced();  echo ShowMenuAdvanced();

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26