[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/sitemgr/inc/ -> hook_sidebox_menu.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare SiteMgr - Web Content Management                              *
   4      * http://www.egroupware.org                                                *
   5      * Written by Pim Snel <pim@lingewoud.nl>                                   *
   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_sidebox_menu.inc.php 20295 2006-02-15 12:31:25Z  $ */
  14  
  15  {
  16  
  17   /*
  18      This hookfile is for generating an app-specific side menu used in the idots 
  19      template set.
  20  
  21      $menu_title speaks for itself
  22      $file is the array with link to app functions
  23  
  24      display_sidebox can be called as much as you like
  25   */
  26  
  27      $menu_title = lang('Website') . ' ' . $GLOBALS['Common_BO']->sites->current_site['site_name'];
  28      $file = $GLOBALS['Common_BO']->sitemenu;
  29      display_sidebox($appname,$menu_title,$file);
  30      $file = $GLOBALS['Common_BO']->othermenu;
  31      if ($file)
  32      {
  33          $menu_title = lang('Other websites');
  34          display_sidebox($appname,$menu_title,$file);
  35      }
  36      $menu_title = lang('Documentation');
  37      $docs = $GLOBALS['egw_info']['server']['webserver_url'].'/sitemgr/doc/';
  38      $file = array(
  39          array(
  40              'text'   => 'SiteMgr manual',
  41              'link'   => $docs.'sitemgr.html',
  42              'target' => 'docs'
  43          ),
  44      );
  45      display_sidebox($appname,$menu_title,$file);
  46  }
  47  ?>


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