Index: typo3/stylesheet.css =================================================================== --- typo3/stylesheet.css (revision 3160) +++ typo3/stylesheet.css (working copy) @@ -126,7 +126,7 @@ background-color: #9BA1A8; } -body#typo3-alt-doc-php, body#typo3-db-list-php, body#ext-cms-layout-db-layout-php, body#ext-tstemplate-ts-index-php, body#typo3-mod-web-perm-index-php, body#typo3-mod-web-info-index-php, body#typo3-mod-web-func-index-php, body#ext-version-cm1-index-php { padding: 0; margin: 0; overflow: hidden; height: 100%; } +body#typo3-alt-doc-php, body#typo3-db-list-php, body#ext-cms-layout-db-layout-php, body#ext-tstemplate-ts-index-php, body#typo3-mod-web-perm-index-php, body#typo3-mod-web-info-index-php, body#typo3-mod-web-func-index-php, body#ext-version-cm1-index-php, body#typo3-wizard-tsconfig-php { padding: 0; margin: 0; overflow: hidden; height: 100%; } /**************************************** @@ -427,7 +427,6 @@ DIV#loginNews TABLE TR.c-spacer { height: 10px; } /* Wizards: */ -BODY#typo3-wizard-tsconfig-php { margin-left: 5px; } TABLE#typo3-tablewizard SPAN.c-wizButtonsH INPUT { margin-right: 2px; vertical-align: middle; } TABLE#typo3-tablewizard SPAN.c-wizButtonsV INPUT { margin-right: 2px; vertical-align: middle; } TABLE#typo3-formwizard SPAN.c-wizButtonsV INPUT { margin-bottom: 2px; } Index: typo3/templates/wizard_tsconfig.html =================================================================== --- typo3/templates/wizard_tsconfig.html (revision 0) +++ typo3/templates/wizard_tsconfig.html (revision 0) @@ -0,0 +1,30 @@ + +
+ +
+
+
###BUTTONLIST_LEFT###
+
###BUTTONLIST_RIGHT###
+
+
+
+
+
+
+ +
+ ###CONTENT### +
+
+ + + +
###BUTTONS###
+ + + +###BACK### + + + + \ No newline at end of file Index: typo3/wizard_tsconfig.php =================================================================== --- typo3/wizard_tsconfig.php (revision 3160) +++ typo3/wizard_tsconfig.php (working copy) @@ -173,9 +173,10 @@ } // Init the document table object: - $this->doc = t3lib_div::makeInstance('mediumDoc'); + $this->doc = t3lib_div::makeInstance('template'); $this->doc->docType = 'xhtml_trans'; $this->doc->backPath = $BACK_PATH; + $this->doc->setModuleTemplate('templates/wizard_tsconfig.html'); $this->doc->form='
'; // Adding Styles (should go into stylesheet?) @@ -290,10 +291,6 @@ window.location.href = "'.t3lib_div::linkThisScript(array('show'=>'','objString'=>'')).'&show="+show+"&objString="+objString; } '); - - - // Start the page: - $this->content.=$this->doc->startPage($LANG->getLL('tsprop')); } /** @@ -319,6 +316,16 @@ '.$LANG->getLL('tsprop_tsconfig',1).' ',0,1); } + + // Setting up the buttons and markers for docheader + $docHeaderButtons = $this->getButtons(); + $markers['CONTENT'] = $this->content; + + // Build the for the module + $this->content = $this->doc->startPage($LANG->getLL('tsprop')); + $this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers); + $this->content.= $this->doc->endPage(); + $this->content = $this->doc->insertStylesAndJS($this->content); } /** @@ -327,10 +334,30 @@ * @return void */ function printContent() { - $this->content.= $this->doc->endPage(); - $this->content = $this->doc->insertStylesAndJS($this->content); echo $this->content; } + + /** + * Create the panel of buttons for submitting the form or otherwise perform operations. + * + * @return array all available buttons as an assoc. array + */ + private function getButtons() { + global $LANG; + + $buttons = array( + 'back' => '' + ); + + if ($this->show) { + // Back + $buttons['back'] = '' . + 'doc->backPath, 'gfx/goback.gif') . ' alt="" />' . + ''; + } + + return $buttons; + } /** * Create the content of the module: @@ -356,7 +383,6 @@ // Title and description: $out.=''. - 'doc->backPath,'gfx/goback.gif','width="14" height="14"').' alt="" />'. htmlspecialchars($obj_string). '
'; if ($rec['title']) $out.= ''.htmlspecialchars($rec['title']).': ';