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_once ('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 if ($historyObj->returnUrl) {
00113 $this->content .= '<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>';
00114 }
00115
00116
00117 $this->content .= $historyObj->main();
00118
00119
00120 if ($historyObj->returnUrl) {
00121 $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>';
00122 $this->content .= $this->doc->section($LANG->getLL('return'),$link,0,1);
00123 }
00124 }
00125
00131 function printContent() {
00132 $this->content.=$this->doc->spacer(8);
00133 $this->content.= $this->doc->endPage();
00134 $this->content = $this->doc->insertStylesAndJS($this->content);
00135 echo $this->content;
00136 }
00137 }
00138
00139
00140 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/show_rechis.php']) {
00141 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/show_rechis.php']);
00142 }
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156 $SOBE = t3lib_div::makeInstance('SC_show_rechis');
00157 $SOBE->init();
00158 $SOBE->main();
00159 $SOBE->printContent();
00160 ?>