phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.portalbox.inc.php,1.25,1.26


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.portalbox.inc.php,1.25,1.26
Date: Tue, 29 Apr 2003 22:13:19 -0400

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

Modified Files:
        class.portalbox.inc.php 
Log Message:
update portal

Index: class.portalbox.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.portalbox.inc.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** class.portalbox.inc.php     1 Dec 2002 03:35:02 -0000       1.25
--- class.portalbox.inc.php     30 Apr 2003 02:13:17 -0000      1.26
***************
*** 4,11 ****
        * Written by Joseph Engo <address@hidden>                          *
        * Helps manage the portal boxes for phpGroupWares main page             
   *
!       * Copyright (C) 2000 - 2002  Joseph Engo                                
   *
        * 
------------------------------------------------------------------------ *
        * This library is part of the phpGroupWare API                          
   *
!       * http://www.phpgroupware.org/api                                       
   * 
        * 
------------------------------------------------------------------------ *
        * This library is free software; you can redistribute it and/or modify 
it  *
--- 4,11 ----
        * Written by Joseph Engo <address@hidden>                          *
        * Helps manage the portal boxes for phpGroupWares main page             
   *
!       * Copyright (C) 2000 - 2003  Joseph Engo                                
   *
        * 
------------------------------------------------------------------------ *
        * This library is part of the phpGroupWare API                          
   *
!       * http://www.phpgroupware.org                                           
   * 
        * 
------------------------------------------------------------------------ *
        * This library is free software; you can redistribute it and/or modify 
it  *
***************
*** 146,149 ****
--- 146,159 ----
                                        'edit'
                                );
+ 
+                               if 
($GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] == 
'funkwerk')
+                               {
+                                       $up = 
+                                       $down = '[->]';
+                                       $question = '[?]';
+                                       $close = '[x]';
+                                       $edit = '[' . lang('edit') . ']';
+                               }
+ 
                                @reset($control_array);
                                while(list($key,$param) = each($control_array))
***************
*** 151,165 ****
                                        if(isset($this->$param) && 
$this->$param)
                                        {
-                                               $image_width = 15;
-                                               if($param == 'edit')
-                                               {
-                                                       $image_width = 30;
-                                               }
- 
                                                $control_link[] = array
                                                (
                                                        'param_url'             
        => $this->$param,
                                                        'link_img'              
                => 
$GLOBALS['phpgw']->common->image('phpgwapi',$param.'.button'),
!                                                       'img_width'             
                => $image_width,
                                                        'lang_param_statustext' 
=> lang($param)
                                                );
--- 161,170 ----
                                        if(isset($this->$param) && 
$this->$param)
                                        {
                                                $control_link[] = array
                                                (
                                                        'param_url'             
        => $this->$param,
                                                        'link_img'              
                => 
$GLOBALS['phpgw']->common->image('phpgwapi',$param.'.button'),
!                                                       'link_icon'             
                => '[ ' . lang($param) . ' ]',
!                                                       'img_width'             
                => ($param=='edit'?'30':'15'),
                                                        'lang_param_statustext' 
=> lang($param)
                                                );





reply via email to

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