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

Diff of /phpcompta/html/jrn_detail.php

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

revision 1.17 by sparkyx, Sun Mar 6 15:15:56 2005 UTC revision 1.18 by sparkyx, Mon Mar 7 19:50:22 2005 UTC
# Line 37  ShowMenuCompta($_SESSION['g_dossier']); Line 37  ShowMenuCompta($_SESSION['g_dossier']);
37    
38  include_once("check_priv.php");  include_once("check_priv.php");
39    
40  if ( $_SESSION['use_admin'] == 0 ) {  $cn=DbConnect($_SESSION['g_dossier']);
41    include_once("check_priv.php");  if ( $User->CheckAction($cn,GJRN) == 0 ){
42      /* Cannot Access */
43    $r=CheckAction($_SESSION['g_dossier'],$_SESSION['g_user'],SECU);    NoAccess();
   if ($r == 0 ){  
     /* Cannot Access */  
     NoAccess();  
44    exit -1;                          exit -1;                      
   
   }  
45  }  }
46  // Javascript  // Javascript
47  echo JS_SEARCH_POSTE;  echo JS_SEARCH_POSTE;
# Line 57  if ( isset( $_GET['p_jrn'] )) { Line 52  if ( isset( $_GET['p_jrn'] )) {
52  }  }
53    
54    
 $cn=DbConnect($_SESSION['g_dossier']);  
55    
56  If ( isset ($_POST["JRN_UPD"] )) {  If ( isset ($_POST["JRN_UPD"] )) {
57    if (  !isset($_POST["p_jrn_name"])  ) {    if (  !isset($_POST["p_jrn_name"])  ) {

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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