phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: backup/inc class.bobackup.inc.php,1.18.2.2,1.18.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: backup/inc class.bobackup.inc.php,1.18.2.2,1.18.2.3 class.uibackup.inc.php,1.12.2.1,1.12.2.2
Date: Mon, 01 Jul 2002 11:32:38 -0400

Update of /cvsroot/phpgroupware/backup/inc
In directory subversions:/tmp/cvs-serv5367/inc

Modified Files:
      Tag: Version-0_9_14-branch
        class.bobackup.inc.php class.uibackup.inc.php 
Log Message:
update backup_script to search in all user_homedirs for maildirs to save

Index: class.bobackup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/backup/inc/class.bobackup.inc.php,v
retrieving revision 1.18.2.2
retrieving revision 1.18.2.3
diff -C2 -r1.18.2.2 -r1.18.2.3
*** class.bobackup.inc.php      1 Feb 2002 23:52:06 -0000       1.18.2.2
--- class.bobackup.inc.php      1 Jul 2002 15:32:36 -0000       1.18.2.3
***************
*** 172,175 ****
--- 172,180 ----
                                        if ($values['b_email'])
                                        {
+                                               if (!isset($site_co['home']))
+                                               {
+                                                       $error[] = lang('Please 
specify the path to the user-homedirectories in *Site configuration* !');
+                                               }
+ 
                                                if (!isset($site_co['maildir']))
                                                {
***************
*** 336,340 ****
  
                                $config = 
$GLOBALS['phpgw']->template->set_file(array('script_ba_t' => 
'script_form.tpl'));
!                               $config .= 
$GLOBALS['phpgw']->template->set_block('script_ba_t','script_ba','ba');
  
                                $config .= 
$GLOBALS['phpgw']->template->set_var('basedir',$co['basedir']);
--- 341,345 ----
  
                                $config = 
$GLOBALS['phpgw']->template->set_file(array('script_ba_t' => 
'script_form.tpl'));
!                       //      $config .= 
$GLOBALS['phpgw']->template->set_block('script_ba_t','script_ba','ba');
  
                                $config .= 
$GLOBALS['phpgw']->template->set_var('basedir',$co['basedir']);
***************
*** 367,373 ****
                                {
                                        $config .= 
$GLOBALS['phpgw']->template->set_var('bemail','yes');
                                        $config .= 
$GLOBALS['phpgw']->template->set_var('maildir',$co['maildir']);
  
!                                       $allaccounts = 
$GLOBALS['phpgw']->accounts->get_list('accounts');
  
                                        while (list($null,$account) = 
each($allaccounts))
--- 372,379 ----
                                {
                                        $config .= 
$GLOBALS['phpgw']->template->set_var('bemail','yes');
+                                       $config .= 
$GLOBALS['phpgw']->template->set_var('home_path',$co['home']);
                                        $config .= 
$GLOBALS['phpgw']->template->set_var('maildir',$co['maildir']);
  
!                       /*              $allaccounts = 
$GLOBALS['phpgw']->accounts->get_list('accounts');
  
                                        while (list($null,$account) = 
each($allaccounts))
***************
*** 379,383 ****
                                                ));
                                                
$GLOBALS['phpgw']->template->fp('ba','script_ba',True);
!                                       }
                                }
  
--- 385,389 ----
                                                ));
                                                
$GLOBALS['phpgw']->template->fp('ba','script_ba',True);
!                                       } */
                                }
  

Index: class.uibackup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/backup/inc/class.uibackup.inc.php,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -C2 -r1.12.2.1 -r1.12.2.2
*** class.uibackup.inc.php      18 Jan 2002 17:15:00 -0000      1.12.2.1
--- class.uibackup.inc.php      1 Jul 2002 15:32:36 -0000       1.12.2.2
***************
*** 174,179 ****
  
                        $this->t->pfp('out','admin_form');
- 
-                       $GLOBALS['phpgw']->common->phpgw_footer();
                }
  
--- 174,177 ----
***************
*** 242,246 ****
  
                        $this->t->pfp('out','archive_list_t',True);
-                       $GLOBALS['phpgw']->common->phpgw_footer();
                }
        }
--- 240,243 ----




reply via email to

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