[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/sitemgr/modules/ -> class.module_calendar.inc.php (source)

   1  <?php
   2  /**************************************************************************\
   3  * eGroupWare SiteMgr - Web Content Management                              *
   4  * http://www.egroupware.org                                                *
   5  * --------------------------------------------                             *
   6  *  This program is free software; you can redistribute it and/or modify it *
   7  *  under the terms of the GNU General Public License as published by the   *
   8  *  Free Software Foundation; either version 2 of the License, or (at your  *
   9  *  option) any later version.                                              *
  10  \**************************************************************************/
  11  
  12  /* $Id: class.module_calendar.inc.php 20295 2006-02-15 12:31:25Z  $ */
  13  
  14  class module_calendar extends Module 
  15  {
  16  	function module_calendar()  
  17      {
  18          $this->arguments = array();
  19  
  20          $this->title = lang('Calendar');
  21          $this->description = lang('This module displays the current month');
  22       }
  23  
  24  	function get_content(&$arguments,$properties)
  25      {
  26          if (!is_object($GLOBALS['egw']->jscalendar))
  27          {
  28              $GLOBALS['egw']->jscalendar =& CreateObject('phpgwapi.jscalendar');
  29          }
  30          return $GLOBALS['egw']->jscalendar->flat('#');
  31      }
  32  }


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