• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

calendar/day.php

Go to the documentation of this file.
00001 <?php
00002 /*
00003         +-----------------------------------------------------------------------------+
00004         | ILIAS open source                                                                                                                       |
00005         |       Dateplaner Modul - inbox                                                                                                  |                                                                                                     
00006         +-----------------------------------------------------------------------------+
00007         | Copyright (c) 2004 ILIAS open source & University of Applied Sciences Bremen|
00008         |                                                                             |
00009         | This program is free software; you can redistribute it and/or               |
00010         | modify it under the terms of the GNU General Public License                 |
00011         | as published by the Free Software Foundation; either version 2              |
00012         | of the License, or (at your option) any later version.                      |
00013         |                                                                             |
00014         | This program is distributed in the hope that it will be useful,             |
00015         | but WITHOUT ANY WARRANTY; without even the implied warranty of              |
00016         | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
00017         | GNU General Public License for more details.                                |
00018         |                                                                             |
00019         | You should have received a copy of the GNU General Public License           |
00020         | along with this program; if not, write to the Free Software                 |
00021         | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. |
00022         +-----------------------------------------------------------------------------+
00023 */
00030 // include DP day functions
00031 include_once    ('.'.DATEPLANER_ROOT_DIR.'/includes/inc.day.php');
00032 
00033 /* ------------------------------------  generate frames --------------------------- */
00034 // -----------------------------------------  fixed ---------------------------------//
00035 /*if($_GET[action] == "next"){
00036                 $_GET[year] = $_GET[year] + 1;
00037                 $minical_show = setMinicalendar($_GET[month], $_GET[year], $DP_Lang, $_GET[app]);
00038 }elseif($_GET[action] == "last"){
00039                 $_GET[year] = $_GET[year] - 1;
00040                 $minical_show = setMinicalendar($_GET[month], $_GET[year], $DP_Lang, $_GET[app]);
00041 }else{
00042         $minical_show = setMinicalendar($_REQUEST[month],$_REQUEST[year], $DP_Lang, $_REQUEST[app]);
00043 }*/
00044 $keywords_float = showKeywords($_REQUEST[S_Keywords], $DB);
00045 eval ("\$keywords_show = \"".$Gui->getTemplate("menue_keyword")."\";");
00046 eval ("\$lefttxt = \"".$Gui->getTemplate("menue")."\";");
00047 eval ("\$left = \"".$Gui->getTemplate("left")."\";");
00048 
00049 // right frame is curently not used
00050 $right  = '';
00051 
00052 // the up frame is detect by the interface 
00053 
00054 // down frame is curently not used
00055 $downtext = '';
00056 // --------------------------------------  end fixed  -------------------------------//
00057 
00058                 
00059 if ($_REQUEST[timestamp]) {
00060          $showdate = getDateForDay($_REQUEST[timestamp]);
00061          $day_navigation = navigation($_REQUEST[timestamp]);
00062          $wholeDayDayDates = getWholeDay($_REQUEST[timestamp], $DB);
00063          $dayString = generateDay($_REQUEST[timestamp], $DB);
00064 }else {  $timestamp=(int)mktime(0,0,0);
00065          $showdate = getDateForDay($timestamp);
00066          $day_navigation = navigation($timestamp);
00067          $wholeDayDayDates = getWholeDay($timestamp, $DB);
00068          $dayString = generateDay($timestamp, $DB);
00069          
00070 }
00071 
00072 
00073 eval ("\$centertxt = \"".$Gui->getTemplate("day_main")."\";");
00074 
00075 // -----------------------------------------  fixed ---------------------------------//
00076 // frameset template
00077 eval ("\$main = \"".$Gui->getTemplate("frames_set")."\";");
00078 // main template
00079 eval("doOutput(\"".$Gui->getTemplate("main")."\");"); 
00080 // --------------------------------------  end fixed --------------------------------//
00081 exit;
00082 ?>

Generated on Fri Dec 13 2013 17:56:47 for ILIAS Release_3_9_x_branch .rev 46835 by  doxygen 1.7.1