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

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

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