Bug #18217 » 20080215_RFC_7539.diff
typo3/stylesheet.css (working copy) | ||
---|---|---|
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%; }
|
||
/****************************************
|
||
... | ... | |
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; }
|
typo3/templates/wizard_tsconfig.html (revision 0) | ||
---|---|---|
<!-- ###FULLDOC### begin -->
|
||
<div class="typo3-fullDoc">
|
||
<!-- Page header with buttons, path details and csh -->
|
||
<div id="typo3-docheader">
|
||
<div id="typo3-docheader-row1">
|
||
<div class="buttonsleft">###BUTTONLIST_LEFT###</div>
|
||
<div class="buttonsright">###BUTTONLIST_RIGHT###</div>
|
||
</div>
|
||
<div id="typo3-docheader-row2">
|
||
<div class="pagepath"></div>
|
||
<div class="infooptions"></div>
|
||
</div>
|
||
</div>
|
||
<!-- Content of module, for instance listing, info or editing -->
|
||
<div id="typo3-docbody">
|
||
###CONTENT###
|
||
</div>
|
||
</div>
|
||
<!-- ###FULLDOC### end -->
|
||
|
||
<!-- ###BUTTON_GROUP_WRAP### -->
|
||
<div class="buttongroup">###BUTTONS###</div>
|
||
<!-- ###BUTTON_GROUP_WRAP### -->
|
||
|
||
<!-- ###BUTTON_GROUPS_LEFT### -->
|
||
<!-- ###BUTTON_GROUP1### -->###BACK###<!-- ###BUTTON_GROUP1### -->
|
||
<!-- ###BUTTON_GROUPS_LEFT### -->
|
||
|
||
<!-- ###BUTTON_GROUPS_RIGHT### -->
|
||
<!-- ###BUTTON_GROUPS_RIGHT### -->
|
typo3/wizard_tsconfig.php (working copy) | ||
---|---|---|
}
|
||
// 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='<form action="" name="editform">';
|
||
// Adding Styles (should go into stylesheet?)
|
||
... | ... | |
window.location.href = "'.t3lib_div::linkThisScript(array('show'=>'','objString'=>'')).'&show="+show+"&objString="+objString;
|
||
}
|
||
');
|
||
// Start the page:
|
||
$this->content.=$this->doc->startPage($LANG->getLL('tsprop'));
|
||
}
|
||
/**
|
||
... | ... | |
<a href="'.htmlspecialchars('http://typo3.org/documentation/document-library/references/doc_core_tsconfig/current/view/').'" target="_blank">'.$LANG->getLL('tsprop_tsconfig',1).'</a>
|
||
',0,1);
|
||
}
|
||
|
||
// Setting up the buttons and markers for docheader
|
||
$docHeaderButtons = $this->getButtons();
|
||
$markers['CONTENT'] = $this->content;
|
||
|
||
// Build the <body> 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);
|
||
}
|
||
/**
|
||
... | ... | |
* @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'] = '<a href="' . htmlspecialchars(t3lib_div::linkThisScript(array('show'=>''))) . '" class="typo3-goBack">' .
|
||
'<img' . t3lib_iconWorks::skinImg($this->doc->backPath, 'gfx/goback.gif') . ' alt="" />' .
|
||
'</a>';
|
||
}
|
||
|
||
return $buttons;
|
||
}
|
||
/**
|
||
* Create the content of the module:
|
||
... | ... | |
// Title and description:
|
||
$out.='<a href="'.htmlspecialchars(t3lib_div::linkThisScript(array('show'=>''))).'" class="typo3-goBack">'.
|
||
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/goback.gif','width="14" height="14"').' alt="" />'.
|
||
htmlspecialchars($obj_string).
|
||
'</a><br />';
|
||
if ($rec['title']) $out.= '<strong>'.htmlspecialchars($rec['title']).': </strong>';
|