Index: typo3/mod/web/info/index.php
===================================================================
--- typo3/mod/web/info/index.php (revision 3069)
+++ typo3/mod/web/info/index.php (working copy)
@@ -54,6 +54,7 @@
require($BACK_PATH.'template.php');
$LANG->includeLLFile('EXT:lang/locallang_mod_web_info.xml');
require_once (PATH_t3lib.'class.t3lib_scbase.php');
+require_once (PATH_t3lib.'class.t3lib_parsehtml.php');
$BE_USER->modAccess($MCONF,1);
@@ -100,8 +101,9 @@
$this->pageinfo=array('title' => '[root-level]','uid'=>0,'pid'=>0);
}
- $this->doc = t3lib_div::makeInstance('mediumDoc');
+ $this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
+ $this->doc->setModuleTemplate('templates/info.html');
$this->doc->docType = 'xhtml_trans';
$this->doc->tableLayout = Array (
'0' => Array (
@@ -121,28 +123,15 @@
window.location.href = URL;
}
');
- $this->doc->postCode=$this->doc->wrapScriptTags('
+ $this->doc->postCode = $this->doc->wrapScriptTags('
script_ended = 1;
if (top.fsMod) top.fsMod.recentIds["web"] = '.intval($this->id).';
');
-
// Setting up the context sensitive menu:
$this->doc->getContextMenuCode();
-
- $headerSection = $this->doc->getHeader('pages',$this->pageinfo,$this->pageinfo['_thePath']).'
'.
- $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.path',1).': '.
- ''.htmlspecialchars(t3lib_div::fixed_lgd_cs($this->pageinfo['_thePath'],-50)).'';
-
- // Draw the header.
$this->doc->form = '