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.2.2.1,


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: felamimail/inc hook_preferences.inc.php,1.2.2.1,1.2.2.2
Date: Fri, 15 Mar 2002 20:39:07 -0500

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

Modified Files:
      Tag: Version-0_9_14-branch
        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.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** hook_preferences.inc.php    25 Feb 2002 23:58:37 -0000      1.2.2.1
--- hook_preferences.inc.php    16 Mar 2002 01:39:05 -0000      1.2.2.2
***************
*** 13,46 ****
    /* $Id$ */
  {
!       echo "<p>\n";
!       $imgfile = $phpgw->common->get_image_dir($appname) . '/' . $appname . 
'.gif';
!       if (file_exists($imgfile))
!       {
!               $imgpath = $phpgw->common->get_image_path($appname) . '/' . 
$appname . '.gif';
!       }
!       else
!       {
!               $imgfile = $phpgw->common->get_image_dir($appname) . 
'/navbar.gif';
!               if (file_exists($imgfile))
!               {
!                       $imgpath = $phpgw->common->get_image_path($appname) . 
'/navbar.gif';
!               }
!               else
!               {
!                       $imgpath = '';
!               }
!       }
! 
!       section_start(ucfirst($appname),$imgpath);
! 
!       
section_item($phpgw->link('/felamimail/preferences_email.php'),lang('Mail 
Settings'));
!       
section_item($phpgw->link('/felamimail/preferences_highlight.php'),lang('Message
 Highlighting'));
!       
section_item($phpgw->link('/felamimail/preferences_index_order.php'),lang('Index
 Order'));
!       
section_item($phpgw->link('/felamimail/preferences_translate.php'),lang('Translation
 Preferences'));
!       
section_item($phpgw->link('/felamimail/preferences_display.php'),lang('Display 
Preferences'));
!       
section_item($phpgw->link('/felamimail/preferences_folder.php'),lang('Folder 
Preferences'));
!       section_item($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]