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

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

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