[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/felamimail/inc/ -> hook_preferences.inc.php (source)

   1  <?php
   2    /**************************************************************************\
   3    * eGroupWare                                                               *
   4    * http://www.egroupware.org                                                *
   5    * Written by Joseph Engo <jengo@phpgroupware.org>                          *
   6    * --------------------------------------------                             *
   7    *  This program is free software; you can redistribute it and/or modify it *
   8    *  under the terms of the GNU General Public License as published by the   *
   9    *  Free Software Foundation; either version 2 of the License, or (at your  *
  10    *  option) any later version.                                              *
  11    \**************************************************************************/
  12  
  13    /* $Id: hook_preferences.inc.php 18876 2005-07-23 15:52:49Z ralfbecker $ */
  14  {
  15  // Only Modify the $file and $title variables.....
  16      $title = $appname;
  17      $file = array(
  18          'Preferences'    => $GLOBALS['egw']->link('/index.php','menuaction=preferences.uisettings.index&appname=' . $appname),
  19          'Manage Folders' => $GLOBALS['egw']->link('/index.php','menuaction=felamimail.uipreferences.listFolder')
  20      );
  21  
  22      $mailPreferences = ExecMethod('felamimail.bopreferences.getPreferences');
  23      if($mailPreferences['imapEnableSieve'] == true)
  24      {
  25          $sieveLinkData = array
  26          (
  27              'menuaction' => 'felamimail.uisieve.listScripts',
  28              'action'     => 'updateFilter'
  29          );
  30          $file['Manage EMailfilter / Vacation'] = $GLOBALS['egw']->link('/index.php',$sieveLinkData);
  31      }
  32  //Do not modify below this line
  33      display_section($appname,$title,$file);
  34  }
  35  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7