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

Diff of /phpcompta/html/modify_op.php

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

revision 1.10 by sparkyx, Sun Mar 13 17:19:17 2005 UTC revision 1.11 by sparkyx, Thu Mar 31 21:08:03 2005 UTC
# Line 34  include_once ("class_user.php"); Line 34  include_once ("class_user.php");
34  $User=new cl_user($rep);  $User=new cl_user($rep);
35  $User->Check();  $User->Check();
36    
37  html_page_start($User->theme);  html_page_start($User->theme,"onLoad='window.focus();'");
38  if ( ! isset ( $_SESSION['g_dossier'] ) ) {  if ( ! isset ( $_SESSION['g_dossier'] ) ) {
39    echo "You must choose a Dossier ";    echo "You must choose a Dossier ";
40    exit -2;    exit -2;
# Line 66  if ( ! isset ( $action )) { Line 66  if ( ! isset ( $action )) {
66    
67  // Javascript  // Javascript
68  echo JS_VIEW_JRN_MODIFY;  echo JS_VIEW_JRN_MODIFY;
69    //////////////////////////////////////////////////////////////////////
70  if ( $action == 'update' ) {  if ( $action == 'update' ) {
71    if ( ($priv=CheckJrn($_SESSION['g_dossier'],$_SESSION['g_user'],$_SESSION['g_jrn'])) < 1 ) {    if ( ($priv=CheckJrn($_SESSION['g_dossier'],$_SESSION['g_user'],$_SESSION['g_jrn'])) < 1 ) {
72        NoAccess();        NoAccess();
# Line 116  if ( isset($_POST['update_record']) ) { Line 116  if ( isset($_POST['update_record']) ) {
116   self.opener.RefreshMe();   self.opener.RefreshMe();
117   </script>';   </script>';
118  } // if update_record  } // if update_record
119    //////////////////////////////////////////////////////////////////////
120  if (  $action  == 'delete' ) {  if (  $action  == 'delete' ) {
121    echo_debug(__FILE__,__LINE__," Call   DeleteRapt($cn,".$_GET['line'].",".$_GET['line2'].")");    echo_debug(__FILE__,__LINE__," Call   DeleteRapt($cn,".$_GET['line'].",".$_GET['line2'].")");
122    DeleteRapt($cn,$_GET['line'],$_GET['line2']);    DeleteRapt($cn,$_GET['line'],$_GET['line2']);

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

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