[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/calendar/inc/ -> class.toolbar.inc.php (source)

   1  <?php
   2    /**************************************************************************\
   3    * eGroupWare - Calendar                                                    *
   4    * http://www.egroupware.org                                                *
   5    * Based on Webcalendar by Craig Knudsen <cknudsen@radix.net>               *
   6    *          http://www.radix.net/~cknudsen                                  *
   7    * Modified by Mark Peters <skeeter@phpgroupware.org>                       *
   8    * --------------------------------------------                             *
   9    *  This program is free software; you can redistribute it and/or modify it *
  10    *  under the terms of the GNU General Public License as published by the   *
  11    *  Free Software Foundation; either version 2 of the License, or (at your  *
  12    *  option) any later version.                                              *
  13    \**************************************************************************/
  14  
  15      /* $Id: class.toolbar.inc.php 20295 2006-02-15 12:31:25Z  $ */
  16  
  17      class toolbar
  18      {
  19  
  20          
  21  		function toolbar()
  22          {
  23              $toolbar = Array();
  24              $toolbar['viewday'] = Array(
  25                  'title' => "Today",
  26                  'image'   => 'today.png',
  27                  'url'=>$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.day')
  28                  );
  29  
  30              $toolbar['viewweek'] = Array(
  31                  'title' => "This week",
  32                  'image'   => 'week.png',
  33                  'url'=>$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.week')
  34                  );
  35                  
  36              $toolbar['viewmonth'] = Array(
  37                  'title' => "This month",
  38                  'image'   => 'month.png',
  39                  'url'=>$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.month')
  40                  );    
  41              
  42              $toolbar['viewyear'] = Array(
  43                  'title' => "This year",
  44                  'image'   => 'year.png',
  45                  'url'=>$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.year')
  46                  );
  47                  
  48              
  49              
  50                  
  51              $toolbar['planner'] = Array(
  52                  'title' => "Group Planner",
  53                  'image'   => 'planner.png',
  54                  'url'=>$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.planner')
  55                  );    
  56                  
  57              $toolbar['view'] = 'Separator';
  58              
  59              $toolbar['matrixselect'] = Array(
  60                  'title' => "Daily Matrix",
  61                  'image'   => 'view.png',
  62                  'url'=>$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.matrixselect')
  63                  );                                
  64              
  65      
  66          
  67              return $toolbar;
  68          }
  69  
  70      }    
  71  ?>


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