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
00052 $BACK_PATH='';
00053 require ($BACK_PATH.'init.php');
00054 require ($BACK_PATH.'template.php');
00055 require_once (PATH_t3lib.'class.t3lib_diff.php');
00056 require_once (PATH_t3lib.'class.t3lib_tcemain.php');
00057 $LANG->includeLLFile('EXT:lang/locallang_show_rechis.xml');
00058 require ('class.show_rechis.inc');
00059
00060
00061
00062
00063
00064
00065
00066
00067
00076 class SC_show_rechis {
00077
00078
00079 var $content;
00080 var $doc;
00081
00087 function init() {
00088 global $LANG;
00089
00090
00091 $this->doc = t3lib_div::makeInstance('mediumDoc');
00092 $this->doc->docType = 'xhtml_trans';
00093
00094
00095 $this->content.=$this->doc->startPage($LANG->getLL('title'));
00096 $this->content.=$this->doc->header($LANG->getLL('title'));
00097 $this->content.=$this->doc->spacer(5);
00098 }
00099
00105 function main() {
00106 global $LANG;
00107
00108
00109 $historyObj = t3lib_div::makeInstance('recordHistory');
00110
00111
00112 $this->content.= $historyObj->main();
00113
00114
00115 if ($historyObj->returnUrl) {
00116 $link = '<a href="'.htmlspecialchars($historyObj->returnUrl).'" class="typo3-goBack"><img'.t3lib_iconWorks::skinImg('','gfx/goback.gif','width="14" height="14"').' alt="" />'.$LANG->getLL('returnLink',1).'</a>';
00117 $this->content.= $this->doc->section($LANG->getLL('return'),$link,0,1);
00118 }
00119 }
00120
00126 function printContent() {
00127 $this->content.=$this->doc->spacer(8);
00128 $this->content.=$this->doc->endPage();
00129 echo $this->content;
00130 }
00131 }
00132
00133
00134 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/show_rechis.php']) {
00135 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/show_rechis.php']);
00136 }
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150 $SOBE = t3lib_div::makeInstance('SC_show_rechis');
00151 $SOBE->init();
00152 $SOBE->main();
00153 $SOBE->printContent();
00154 ?>