phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: felamimail/inc hook_preferences.inc.php,1.4,1.5


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: felamimail/inc hook_preferences.inc.php,1.4,1.5
Date: Fri, 15 Mar 2002 20:46:29 -0500

Update of /cvsroot/phpgroupware/felamimail/inc
In directory subversions:/tmp/cvs-serv30161/felamimail/inc

Modified Files:
        hook_preferences.inc.php 
Log Message:
Fixing the preference hook for felamimail.

Index: hook_preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/felamimail/inc/hook_preferences.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** hook_preferences.inc.php    12 Mar 2002 13:35:03 -0000      1.4
--- hook_preferences.inc.php    16 Mar 2002 01:46:27 -0000      1.5
***************
*** 13,46 ****
    /* $Id$ */
  {
!       echo "<p>\n";
!       $imgfile = $GLOBALS['phpgw']->common->get_image_dir($appname) . '/' . 
$appname . '.gif';
!       if (file_exists($imgfile))
!       {
!               $imgpath = $GLOBALS['phpgw']->common->get_image_path($appname) 
. '/' . $appname . '.gif';
!       }
!       else
!       {
!               $imgfile = $GLOBALS['phpgw']->common->get_image_dir($appname) . 
'/navbar.gif';
!               if (file_exists($imgfile))
!               {
!                       $imgpath = 
$GLOBALS['phpgw']->common->get_image_path($appname) . '/navbar.gif';
!               }
!               else
!               {
!                       $imgpath = '';
!               }
!       }
! 
!       section_start(ucfirst($appname),$imgpath);
! 
!       
section_item($GLOBALS['phpgw']->link('/felamimail/preferences_email.php'),lang('Mail
 Settings'));
!       
section_item($GLOBALS['phpgw']->link('/felamimail/preferences_highlight.php'),lang('Message
 Highlighting'));
!       
section_item($GLOBALS['phpgw']->link('/felamimail/preferences_index_order.php'),lang('Index
 Order'));
!       
section_item($GLOBALS['phpgw']->link('/felamimail/preferences_translate.php'),lang('Translation
 Preferences'));
!       
section_item($GLOBALS['phpgw']->link('/felamimail/preferences_display.php'),lang('Display
 Preferences'));
!       
section_item($GLOBALS['phpgw']->link('/felamimail/preferences_folder.php'),lang('Folder
 Preferences'));
!       
section_item($GLOBALS['phpgw']->link('/felamimail/folders.php'),lang('Manage 
Folders'));
! 
!       section_end(); 
  }
  ?>
--- 13,28 ----
    /* $Id$ */
  {
!       $title = $appname;
!       $file = array(
!               'Mail Settings' => 
$GLOBALS['phpgw']->link('/'.$appname.'/preferences_email.php'),
!               'Message Highlighting' => 
$GLOBALS['phpgw']->link('/'.$appname.'/preferences_highlight.php'),
!               'Index Order' => 
$GLOBALS['phpgw']->link('/'.$appname.'/preferences_index_order.php'),
!               'Translation Preferences' => 
$GLOBALS['phpgw']->link('/'.$appname.'/preferences_translate.php'),
!               'Display Preferences' => 
$GLOBALS['phpgw']->link('/'.$appname.'/preferences_display.php'),
!               'Folder Preferences' => 
$GLOBALS['phpgw']->link('/'.$appname.'/preferences_folder.php'),
!               'Manage Folders' => 
$GLOBALS['phpgw']->link('/'.$appname.'/folders.php')
!       );
! //Do not modify below this line
!       display_section($appname,$title,$file);
  }
  ?>




reply via email to

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