phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.182,1.183


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.182,1.183
Date: Mon, 18 Nov 2002 11:19:59 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv25870

Modified Files:
        class.common.inc.php 
Log Message:
update

Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.182
retrieving revision 1.183
diff -C2 -r1.182 -r1.183
*** class.common.inc.php        15 Nov 2002 23:43:19 -0000      1.182
--- class.common.inc.php        18 Nov 2002 16:19:56 -0000      1.183
***************
*** 454,462 ****
                @param $fontsize optional
                */
!               function create_tabs($tabs, $selected, $fontsize = '')
                {
!                       $output_text = '<table border="0" cellspacing="0" 
cellpadding="0"><tr>';
  
!                       /* This is a php3 workaround */
                        if(PHPGW_IMAGES_DIR == 'PHPGW_IMAGES_DIR')
                        {
--- 454,462 ----
                @param $fontsize optional
                */
!               function create_tabs($tabs, $selected)
                {
!                       $output_text = '<table cellspacing="0" 
cellpadding="0"><tr>';
  
!                       /* This is a php3 workaround
                        if(PHPGW_IMAGES_DIR == 'PHPGW_IMAGES_DIR')
                        {
***************
*** 466,476 ****
                        {
                                $ir = PHPGW_IMAGES_DIR;
!                       }
! 
!                       if ($fontsize)
!                       {
!                               $fs  = '<font size="' . $fontsize . '">';
!                               $fse = '</font>';
!                       }
  
                        $i = 1;
--- 466,470 ----
                        {
                                $ir = PHPGW_IMAGES_DIR;
!                       } */
  
                        $i = 1;
***************
*** 481,497 ****
                                        if ($i == 1)
                                        {
!                                               $output_text .= '<td 
align="right"><img src="' . $ir . '/tabs-start1.gif"></td>';
                                        }
  
!                                       $output_text .= '<td align="left" 
nowrap background="' . $ir . '/tabs-bg1.gif">&nbsp;<b><a href="'
                                                . $tab[1]['link'] . '" 
class="tablink">' . $fs . $tab[1]['label']
                                                . $fse . '</a></b>&nbsp;</td>';
                                        if ($i == count($tabs))
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $ir . '/tabs-end1.gif"></td>';
                                        }
                                        else
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $ir . '/tabs-sepr.gif"></td>';
                                        }
                                }
--- 475,491 ----
                                        if ($i == 1)
                                        {
!                                               $output_text .= '<td 
align="right"><img src="' . $this->image('phpgwapi','tabs-start1') . '"></td>';
                                        }
  
!                                       $output_text .= '<td align="left" 
nowrap background="' . $this->image('phpgwapi','tabs-bg1') . '">&nbsp;<b><a 
href="'
                                                . $tab[1]['link'] . '" 
class="tablink">' . $fs . $tab[1]['label']
                                                . $fse . '</a></b>&nbsp;</td>';
                                        if ($i == count($tabs))
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $this->image('phpgwapi','tabs-end1') . '"></td>';
                                        }
                                        else
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $this->image('phpgwapi','tabs-sepr') . '"></td>';
                                        }
                                }
***************
*** 500,515 ****
                                        if ($i == 1)
                                        {
!                                               $output_text .= '<td 
align="right"><img src="' . $ir . '/tabs-start0.gif"></td>';
                                        }
!                                       $output_text .= '<td align="left" 
nowrap background="' . $ir . '/tabs-bg0.gif">&nbsp;<b><a href="'
                                                . $tab[1]['link'] . '" 
class="tablink">' . $fs . $tab[1]['label'] . $fse
                                                . '</a></b>&nbsp;</td>';
                                        if (($i + 1) == $selected)
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $ir . '/tabs-sepl.gif"></td>';
                                        }
                                        elseif ($i == $selected || $i != 
count($tabs))
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $ir . '/tabs-sepm.gif"></td>';
                                        }
                                        elseif ($i == count($tabs))
--- 494,509 ----
                                        if ($i == 1)
                                        {
!                                               $output_text .= '<td 
align="right"><img src="' . $this->image('phpgwapi','tabs-start0') . '"></td>';
                                        }
!                                       $output_text .= '<td align="left" 
nowrap background="' . $this->image('phpgwapi','tabs-bg0') . '">&nbsp;<b><a 
href="'
                                                . $tab[1]['link'] . '" 
class="tablink">' . $fs . $tab[1]['label'] . $fse
                                                . '</a></b>&nbsp;</td>';
                                        if (($i + 1) == $selected)
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $this->image('phpgwapi','tabs-sepl') . '"></td>';
                                        }
                                        elseif ($i == $selected || $i != 
count($tabs))
                                        {
!                                               $output_text .= '<td 
align="left"><img src="' . $this->image('phpgwapi','tabs-sepm') . '"></td>';
                                        }
                                        elseif ($i == count($tabs))
***************
*** 517,525 ****
                                                if ($i == $selected)
                                                {
!                                                       $output_text .= '<td 
align="left"><img src="' . $ir . '/tabs-end1.gif"></td>';
                                                }
                                                else
                                                {
!                                                       $output_text .= '<td 
align="left"><img src="' . $ir . '/tabs-end0.gif"></td>';
                                                }
                                        }
--- 511,519 ----
                                                if ($i == $selected)
                                                {
!                                                       $output_text .= '<td 
align="left"><img src="' . $this->image('phpgwapi','tabs-end1') . '"></td>';
                                                }
                                                else
                                                {
!                                                       $output_text .= '<td 
align="left"><img src="' . $this->image('phpgwapi','tabs-end0') . '"></td>';
                                                }
                                        }
***************
*** 528,532 ****
                                                if ($i != count($tabs))
                                                {
!                                                       $output_text .= '<td 
align="left"><img src="' . $ir . '/tabs-sepr.gif"></td>';
                                                }
                                        }
--- 522,526 ----
                                                if ($i != count($tabs))
                                                {
!                                                       $output_text .= '<td 
align="left"><img src="' . $this->image('phpgwapi','tabs-sepr') . '"></td>';
                                                }
                                        }





reply via email to

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