phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: calendar/templates/verdilak header.inc.php,1.16.


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: calendar/templates/verdilak header.inc.php,1.16.2.1,1.16.2.2
Date: Wed, 15 May 2002 13:19:42 -0400

Update of /cvsroot/phpgroupware/calendar/templates/verdilak
In directory subversions:/tmp/cvs-serv7368/verdilak

Modified Files:
      Tag: Version-0_9_14-branch
        header.inc.php 
Log Message:
Will now carry the participants list across when changing the psuedo owner from 
the header.

Index: header.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/templates/verdilak/header.inc.php,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -C2 -r1.16.2.1 -r1.16.2.2
*** header.inc.php      5 Apr 2002 13:55:50 -0000       1.16.2.1
--- header.inc.php      15 May 2002 17:19:39 -0000      1.16.2.2
***************
*** 140,144 ****
                        $form_options = '<option value=" all 
"'.($this->bo->filter==' all '?' selected':'').'>'.lang('All').'</option>'."\n";
                        $form_options .= '     <option value=" private 
"'.((!isset($this->bo->filter) || !$this->bo->filter) || $this->bo->filter==' 
private '?' selected':'').'>'.lang('Private Only').'</option>'."\n";
! 
                        $var = Array(
                                'form_width' => '28',
--- 140,144 ----
                        $form_options = '<option value=" all 
"'.($this->bo->filter==' all '?' selected':'').'>'.lang('All').'</option>'."\n";
                        $form_options .= '     <option value=" private 
"'.((!isset($this->bo->filter) || !$this->bo->filter) || $this->bo->filter==' 
private '?' selected':'').'>'.lang('Private Only').'</option>'."\n";
!               
                        $var = Array(
                                'form_width' => '28',
***************
*** 165,168 ****
--- 165,179 ----
                        {
                                $hidden_vars .= '    <input type="hidden" 
name="cal_id" value="'.$GLOBALS['HTTP_GET_VARS']['cal_id'].'">'."\n";
+                       }
+                       if(isset($GLOBALS['HTTP_POST_VARS']['matrixtype']) && 
$GLOBALS['HTTP_POST_VARS']['matrixtype'])
+                       {
+                               $hidden_vars .= '    <input type="hidden" 
name="matrixtype" value="'.$GLOBALS['HTTP_POST_VARS']['matrixtype'].'">'."\n";
+                       }
+                       if(isset($GLOBALS['HTTP_POST_VARS']['participants']) && 
$GLOBALS['HTTP_POST_VARS']['participants'])
+                       {
+                               for 
($i=0;$i<count($GLOBALS['HTTP_POST_VARS']['participants']);$i++)
+                               {
+                                       $hidden_vars .= '    <input 
type="hidden" name="participants[]" 
value="'.$GLOBALS['HTTP_POST_VARS']['participants'][$i].'">'."\n";
+                               }
                        }
                        $hidden_vars .= '    <!-- BO Owner = 
'.$this->bo->owner.' -->'."\n";




reply via email to

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