phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: infolog/inc hook_settings.inc.php,1.1,1.2 hook_a


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: infolog/inc hook_settings.inc.php,1.1,1.2 hook_admin.inc.php,1.7,1.8 hook_preferences.inc.php,1.9,1.10
Date: Thu, 27 Mar 2003 21:22:35 -0500

Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv26394

Modified Files:
        hook_admin.inc.php hook_preferences.inc.php 
Added Files:
        hook_settings.inc.php 
Log Message:
new preferences to use the user/default/forced tabs



Index: hook_admin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/hook_admin.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** hook_admin.inc.php  17 Nov 2002 01:34:36 -0000      1.7
--- hook_admin.inc.php  28 Mar 2003 02:22:33 -0000      1.8
***************
*** 20,28 ****
  
  //Do not modify below this line
!               list($ver,$mayor,$minor,$ref) = 
explode('.',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
!               if ($minor > 14)
!                       display_section($appname,$file);
!               else
!                       display_section($appname,$appname,$file);
        }
  ?>
--- 20,24 ----
  
  //Do not modify below this line
!               display_section($appname,lang($appname),$file); // please not 
2. appname is for .14 compatibilty
        }
  ?>

Index: hook_preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/hook_preferences.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** hook_preferences.inc.php    17 Nov 2002 01:34:36 -0000      1.9
--- hook_preferences.inc.php    28 Mar 2003 02:22:33 -0000      1.10
***************
*** 1,5 ****
  <?php
        
/**************************************************************************\
!       * phpGroupWare                                                          
   *
        * http://www.phpgroupware.org                                           
   *
        * Written by Ralf Becker <address@hidden>                  *
--- 1,5 ----
  <?php
        
/**************************************************************************\
!       * phpGroupWare - InfoLog Preferences                                    
   *
        * http://www.phpgroupware.org                                           
   *
        * Written by Ralf Becker <address@hidden>                  *
***************
*** 16,29 ****
  // Only Modify the $file and $title variables.....
        $file = array(
!               'Preferences'     => 
$GLOBALS['phpgw']->link('/index.php','menuaction=infolog.uiinfolog.preferences'),
                'Grant Access'    => 
$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
                'Edit Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app='
 . $appname . '&cats_level=True&global_cats=True')
        );
  //Do not modify below this line
!       list($ver,$mayor,$minor,$ref) = 
explode('.',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
!       if ($minor > 14)
!               display_section($appname,$file);
!       else
!               display_section($appname,$appname,$file);
  }
  
--- 16,25 ----
  // Only Modify the $file and $title variables.....
        $file = array(
!               'Preferences'     => 
$GLOBALS['phpgw']->link('/preferences/preferences.php','appname='.$appname),
                'Grant Access'    => 
$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
                'Edit Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app='
 . $appname . '&cats_level=True&global_cats=True')
        );
  //Do not modify below this line
!       display_section($appname,lang($appname),$file); // leave 2. $appname 
for compatibilty with .14
  }
  





reply via email to

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