Bug #18217 » 20080725_RFC_7539.diff
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?)
|
||
... | ... | |
return window.opener.document.'.$this->P['formName'].'["'.$this->P['itemValue'].'"];
|
||
}
|
||
}
|
||
/**
|
||
* [Describe function...]
|
||
*
|
||
* @param [type] $field,value: ...
|
||
* @return [type] ...
|
||
*/
|
||
function setValue(field,value) {
|
||
var nameField = checkReference_name();
|
||
var valueField = checkReference_value();
|
||
... | ... | |
close();
|
||
}
|
||
}
|
||
/**
|
||
* [Describe function...]
|
||
*
|
||
* @param [type] $cmd,objString: ...
|
||
* @return [type] ...
|
||
*/
|
||
function mixerField(cmd,objString) {
|
||
var temp;
|
||
switch(cmd) {
|
||
... | ... | |
break;
|
||
}
|
||
}
|
||
/**
|
||
* [Describe function...]
|
||
*
|
||
* @param [type] $match,replace,string: ...
|
||
* @return [type] ...
|
||
*/
|
||
function str_replace(match,replace,string) {
|
||
var input = ""+string;
|
||
var matchStr = ""+match;
|
||
... | ... | |
output+=""+input.substr(pointer);
|
||
return output;
|
||
}
|
||
/**
|
||
* [Describe function...]
|
||
*
|
||
* @param [type] $show,objString: ...
|
||
* @return [type] ...
|
||
*/
|
||
function jump(show,objString) {
|
||
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
|
||
*/
|
||
protected 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:
|
||
*
|
||
* @param string Object string
|
||
... | ... | |
// 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>';
|
||
... | ... | |
$SOBE->init();
|
||
$SOBE->main();
|
||
$SOBE->printContent();
|
||
?>
|
||
?>
|
typo3/stylesheet.css (working copy) | ||
---|---|---|
body#typo3-mod-user-ws-workspaceforms-php,
|
||
body#typo3-mod-php,
|
||
body#typo3-mod-tools-em-index-php,
|
||
body#typo3-wizard-tsconfig-php,
|
||
body#typo3-pagetree,
|
||
body#typo3-db-new-php,
|
||
body#typo3-move-el-php,
|
||
... | ... | |
Wizards
|
||
- - - - - - - - - - - - - - - - - - - - - */
|
||
body#typo3-wizard-tsconfig-php {
|
||
margin-left: 5px;
|
||
}
|
||
table#typo3-tablewizard span.c-wizButtonsH input {
|
||
margin-right: 2px;
|
||
vertical-align: middle;
|
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="docheader-row2-left"></div>
|
||
<div class="docheader-row2-right"></div>
|
||
</div>
|
||
</div>
|
||
<!-- Content of module, for instance listing, info or editing -->
|
||
<div id="typo3-docbody">
|
||
<div id="typo3-inner-docbody">
|
||
###CONTENT###
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- ###FULLDOC### end -->
|
||
<!-- Grouping the icons on top -->
|
||
<!-- ###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### -->
|
- « Previous
- 1
- 2
- Next »