[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

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

   1  <?php
   2      /**************************************************************************\\
   3      * eGroupWare - Setup                                                     *
   4      * http://www.eGroupWare.org                                                *
   5      * Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de *
   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 19711 2005-11-09 20:50:45Z ralfbecker $ */
  14  
  15      $menu_title = $GLOBALS['egw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
  16      $file = Array(
  17          'eTemplate Editor' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.editor.edit'),
  18          'DB-Tools' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.db_tools.edit'),
  19      );
  20      if (@$GLOBALS['egw_info']['user']['apps']['developer_tools'])
  21      {
  22          $file += array(
  23              '_NewLine_', // give a newline
  24              'developer_tools' => $GLOBALS['egw']->link('/index.php','menuaction=developer_tools.uilangfile.index'),
  25          );
  26      }
  27      display_sidebox($appname,$menu_title,$file);
  28  
  29      $menu_title = lang('Documentation');
  30      $docs = $GLOBALS['egw_info']['server']['webserver_url'].'/etemplate/doc/';
  31      $file = Array(
  32          array(
  33              'text'   => 'eTemplate Tutorial',
  34              'link'   => $docs.'etemplate.html',
  35              'target' => 'docs'
  36          ),
  37          array(
  38              'text'   => 'eTemplate Reference',
  39              'link'   => $docs.'reference.html',
  40              'target' => 'docs'
  41          ),
  42          array(
  43              'text'   => 'eGroupWare '.lang('Documentation'),
  44              'no_lang' => True,
  45              'link'   => 'http://egroupware.org/wiki/DeveloperDocs',
  46              'target' => 'docs'
  47          ),
  48          array(
  49              'text'   => 'CSS properties',
  50              'link'   => 'http://www.w3.org/TR/REC-CSS2/propidx.html',
  51              'target' => 'docs'
  52          ),
  53  
  54      );
  55      display_sidebox($appname,$menu_title,$file);


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