phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: backup/templates/default script_form.tpl,1.26,1.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: backup/templates/default script_form.tpl,1.26,1.27
Date: Sun, 03 Feb 2002 20:39:57 -0500

Update of /cvsroot/phpgroupware/backup/templates/default
In directory subversions:/tmp/cvs-serv15535/templates/default

Modified Files:
        script_form.tpl 
Log Message:
update versions to store

Index: script_form.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/backup/templates/default/script_form.tpl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** script_form.tpl     1 Feb 2002 23:54:08 -0000       1.26
--- script_form.tpl     4 Feb 2002 01:39:55 -0000       1.27
***************
*** 74,78 ****
                        case 'monthly': $dm = $dm - $versions; break;
                }
!               $rdate = mktime(0,0,0,$dm,$dd,date('Y'));
                return $rdate;
        }
--- 74,78 ----
                        case 'monthly': $dm = $dm - $versions; break;
                }
!               $rdate = mktime(1,0,0,$dm,$dd,date('Y'));
                return $rdate;
        }
***************
*** 100,104 ****
        $basedir        = '{basedir}';
  
!       check_datedue($basedir);
  
        $bsql           = '{bsql}';
--- 100,104 ----
        $basedir        = '{basedir}';
  
! //    check_datedue($basedir);
  
        $bsql           = '{bsql}';
***************
*** 188,191 ****
--- 188,193 ----
        }
  
+       check_datedue($basedir);
+ 
  // ----------------------- move to remote host 
--------------------------------
  
***************
*** 239,243 ****
                        system("mount -t nfs $rip:$rpath $nfsdir 2>&1 > 
/dev/null");
  
!                       check_datedue($nfsdir);
  
                        for ($i=0;$i<count($output);$i++)
--- 241,245 ----
                        system("mount -t nfs $rip:$rpath $nfsdir 2>&1 > 
/dev/null");
  
!               //      check_datedue($nfsdir);
  
                        for ($i=0;$i<count($output);$i++)
***************
*** 246,249 ****
--- 248,252 ----
                                echo 'transfer of ' . $output[$i] . ' through 
nfs: success !' . "\n";
                        }
+                       check_datedue($nfsdir);
                        system("umount " . $nfsdir);
                }
***************
*** 259,263 ****
                        system("mount.smbfs $rip$rpath $smbdir -o 
username=$ruser,password=$rpwd,rw 2>&1 > /dev/null");
  
!                       check_datedue($smbdir);
  
                        for ($i=0;$i<count($output);$i++)
--- 262,266 ----
                        system("mount.smbfs $rip$rpath $smbdir -o 
username=$ruser,password=$rpwd,rw 2>&1 > /dev/null");
  
!               //      check_datedue($smbdir);
  
                        for ($i=0;$i<count($output);$i++)
***************
*** 266,269 ****
--- 269,273 ----
                                echo 'transfer of ' . $output[$i] . ' through 
smbmount: success !' . "\n";
                        }
+                       check_datedue($smbdir);
                        system("smbumount " . $smbdir);
                }
***************
*** 283,287 ****
                if ($lpath != '')
                {
!                       check_datedue($lpath);
  
                        for ($i=0;$i<count($output);$i++)
--- 287,291 ----
                if ($lpath != '')
                {
!               //      check_datedue($lpath);
  
                        for ($i=0;$i<count($output);$i++)
***************
*** 289,292 ****
--- 293,297 ----
                                system("$command " . $output[$i] . ' ' . $lpath 
. '/ 2>&1 > /dev/null'); 
                        }
+                       check_datedue($lpath);
                }
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]