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

modules/dateplaner/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 */
00033 // include DP day functions
00034 include_once    ('.'.DATEPLANER_ROOT_DIR.'/includes/inc.day.php');
00035 
00036 /* ------------------------------------  generate frames --------------------------- */
00037 // -----------------------------------------  fixed ---------------------------------//
00038 if($_GET[action] == "next"){
00039                 $_GET[year] = $_GET[year] + 1;
00040                 $minical_show = setMinicalendar($_GET[month], $_GET[year], $DP_Lang, $_GET[app]);
00041 }elseif($_GET[action] == "last"){
00042                 $_GET[year] = $_GET[year] - 1;
00043                 $minical_show = setMinicalendar($_GET[month], $_GET[year], $DP_Lang, $_GET[app]);
00044 }else{
00045         $minical_show = setMinicalendar($_REQUEST[month],$_REQUEST[year], $DP_Lang, $_REQUEST[app]);
00046 }
00047 $keywords_float = showKeywords($_REQUEST[S_Keywords], $DB);
00048 eval ("\$keywords_show = \"".$Gui->getTemplate("menue_keyword")."\";");
00049 eval ("\$lefttxt = \"".$Gui->getTemplate("menue")."\";");
00050 eval ("\$left = \"".$Gui->getTemplate("left")."\";");
00051 
00052 // right frame is curently not used
00053 $right  = '';
00054 
00055 // the up frame is detect by the interface 
00056 
00057 // down frame is curently not used
00058 $downtext = '';
00059 // --------------------------------------  end fixed  -------------------------------//
00060 
00061                 
00062 if ($_REQUEST[timestamp]) {
00063          $showdate = getDateForDay($_REQUEST[timestamp]);
00064          $day_navigation = navigation($_REQUEST[timestamp]);
00065          $wholeDayDayDates = getWholeDay($_REQUEST[timestamp], $DB);
00066          $dayString = generateDay($_REQUEST[timestamp], $DB);
00067 }else {  $timestamp=(int)mktime(0,0,0);
00068          $showdate = getDateForDay($timestamp);
00069          $day_navigation = navigation($timestamp);
00070          $wholeDayDayDates = getWholeDay($timestamp, $DB);
00071          $dayString = generateDay($timestamp, $DB);
00072          
00073 }
00074 
00075 
00076 eval ("\$centertxt = \"".$Gui->getTemplate("day_main")."\";");
00077 
00078 // -----------------------------------------  fixed ---------------------------------//
00079 // frameset template
00080 eval ("\$main = \"".$Gui->getTemplate("frames_set")."\";");
00081 // main template
00082 eval("doOutput(\"".$Gui->getTemplate("main")."\");"); 
00083 // --------------------------------------  end fixed --------------------------------//
00084 exit;
00085 ?>

Generated on Fri Dec 13 2013 09:06:37 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1