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

Diff of /phpcompta/html/listing_client.php

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

revision 1.1 by sparkyx, Mon Jul 25 20:56:42 2005 UTC revision 1.2 by sparkyx, Wed Jul 27 16:36:15 2005 UTC
# Line 31  $User->Check(); Line 31  $User->Check();
31    
32  // TODO a specific level of security for the "bilan" ???  // TODO a specific level of security for the "bilan" ???
33  // Change must be done here  // Change must be done here
34  if ( $User->admin == 0 ) {  if ($User->CheckAction($cn,IMP) == 0 ){
   if (CheckAction($_SESSION['g_dossier'],$_SESSION['g_user'],IMP) == 0 ){  
35      /* Cannot Access */      /* Cannot Access */
36      NoAccess();      NoAccess();
37    }    }
 }  
38    
39  header('Content-type: application/bin');  header('Content-type: application/bin');
40  header('Content-Disposition: attachment;filename="declaration.bin"',FALSE);  header('Content-Disposition: attachment;filename="declaration.bin"',FALSE);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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