00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00034 unset($MCONF);
00035 require ("conf.php");
00036 require ($BACK_PATH."init.php");
00037 require ($BACK_PATH."template.php");
00038 $LANG->includeLLFile("EXT:taskcenter/task/locallang.php");
00039 require_once(PATH_t3lib."class.t3lib_scbase.php");
00040 require_once("class.mod_user_task.php");
00041
00042 $BE_USER->modAccess($MCONF,1);
00043
00044
00045
00046
00047
00048 class SC_mod_user_task_index extends t3lib_SCbase {
00049 var $BE_USER;
00050
00051 function main() {
00052 global $BE_USER,$LANG,$BACK_PATH,$TCA_DESCR,$TCA,$CLIENT,$TYPO3_CONF_VARS;
00053
00054 $this->doc = t3lib_div::makeInstance("mediumDoc");
00055 $this->doc->form='<form action="index.php" method="POST" name="editform">';
00056 $this->backPath = $this->doc->backPath = $BACK_PATH;
00057
00058 $this->doc->JScode = '
00059 <script language="javascript" type="text/javascript">
00060 script_ended = 0;
00061 function jumpToUrl(URL) {
00062 document.location = URL;
00063 }
00064 '.(is_object($this->extObj)?$this->extObj->JScode():"").'
00065 </script>
00066 ';
00067
00068 $this->content="";
00069 $this->content.=$this->doc->startPage($this->MOD_MENU["function"][$this->MOD_SETTINGS["function"]]);
00070 $this->content.=$this->doc->header($this->MOD_MENU["function"][$this->MOD_SETTINGS["function"]]);
00071 $this->content.=$this->doc->spacer(5);
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084 if (is_object($this->extObj)) {
00085 $this->extObj->backPath = $this->backPath;
00086 $this->extObj->mod_user_task_init($BE_USER);
00087 $this->content.=$this->extObj->main();
00088 }
00089 }
00090 function printContent() {
00091
00092 $this->content.=$this->doc->endPage();
00093 echo $this->content;
00094 }
00095 }
00096
00097
00098 if (defined("TYPO3_MODE") && $TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/taskcenter/task/index.php"]) {
00099 include_once($TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/taskcenter/task/index.php"]);
00100 }
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114 $SOBE = t3lib_div::makeInstance("SC_mod_user_task_index");
00115 $SOBE->init();
00116
00117
00118 foreach($SOBE->include_once as $INC_FILE) include_once($INC_FILE);
00119 $SOBE->checkExtObj();
00120
00121 $SOBE->main();
00122 $SOBE->printContent();
00123 ?>