phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: headlines/inc hook_website_left.inc.php,1.2,1.3


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: headlines/inc hook_website_left.inc.php,1.2,1.3 hook_website_right.inc.php,1.4,1.5
Date: Mon, 29 Apr 2002 22:08:38 -0400

Update of /cvsroot/phpgroupware/headlines/inc
In directory subversions:/tmp/cvs-serv24086

Modified Files:
        hook_website_left.inc.php hook_website_right.inc.php 
Log Message:
Make leftside use real prefs, silence each error



Index: hook_website_left.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/inc/hook_website_left.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** hook_website_left.inc.php   31 Mar 2002 12:23:08 -0000      1.2
--- hook_website_left.inc.php   30 Apr 2002 02:08:34 -0000      1.3
***************
*** 26,33 ****
        $tpl->set_block('form','row');
  
!       $sites = array(
!               0 => 35,
!               1 => 13
!       );
  
        $j = 0;
--- 26,36 ----
        $tpl->set_block('form','row');
  
!       while($preference = 
@each($GLOBALS['phpgw_info']['user']['preferences']['headlines']))
!       {
!               if($preference[0] != 'headlines_layout')
!               {
!                       $sites[] = $preference[0];
!               }
!       }
  
        $j = 0;

Index: hook_website_right.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/inc/hook_website_right.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** hook_website_right.inc.php  31 Mar 2002 12:23:08 -0000      1.4
--- hook_website_right.inc.php  30 Apr 2002 02:08:34 -0000      1.5
***************
*** 26,32 ****
        $tpl->set_block('form','row');
  
!       while ($preference = 
each($GLOBALS['phpgw_info']['user']['preferences']['headlines']))
        {
!               if ($preference[0] != 'headlines_layout')
                {
                        $sites[] = $preference[0];
--- 26,32 ----
        $tpl->set_block('form','row');
  
!       while($preference = 
@each($GLOBALS['phpgw_info']['user']['preferences']['headlines']))
        {
!               if($preference[0] != 'headlines_layout')
                {
                        $sites[] = $preference[0];




reply via email to

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