Bug #17921 » 20071215_remove_button_panel.patch
typo3/alt_doc.php (working copy) | ||
---|---|---|
/**
|
||
* Create the panel of buttons for submitting the form or otherwise perform operations.
|
||
* Deprecated since TYPO3 4.2, to be removed in TYPO3 4.4
|
||
*
|
||
* @return string HTML code, comprised of images linked to various actions.
|
||
* @deprecated
|
||
*/
|
||
function makeButtonPanel() {
|
||
$btns = $this->getButtons();
|
||
... | ... | |
function compileForm($editForm) {
|
||
global $LANG;
|
||
$panel = $this->makeButtonPanel();
|
||
|
||
$formContent = '
|
||
<!-- EDITING FORM -->
|
||
'.$editForm.'
|
||
<!-- Saving buttons (same as in top) -->
|
||
'.$panel.'
|
||
<input type="hidden" name="returnUrl" value="'.htmlspecialchars($this->retUrl).'" />
|
||
<input type="hidden" name="viewUrl" value="'.htmlspecialchars($this->viewUrl).'" />';
|
||
... | ... | |
// Show palettes:
|
||
return '
|
||
<!-- Function menus (checkboxes for selecting options): -->
|
||
<br /><br />'.t3lib_BEfunc::getFuncCheck('','SET[showPalettes]',$this->MOD_SETTINGS['showPalettes'],'alt_doc.php',t3lib_div::implodeArrayForUrl('',array_merge($this->R_URL_getvars,array('SET'=>''))),'id="checkShowPalettes"').'<label for="checkShowPalettes">'.$LANG->sL('LLL:EXT:lang/locallang_core.php:labels.showPalettes',1).'</label>';
|
||
<br />'.t3lib_BEfunc::getFuncCheck('','SET[showPalettes]',$this->MOD_SETTINGS['showPalettes'],'alt_doc.php',t3lib_div::implodeArrayForUrl('',array_merge($this->R_URL_getvars,array('SET'=>''))),'id="checkShowPalettes"').'<label for="checkShowPalettes">'.$LANG->sL('LLL:EXT:lang/locallang_core.php:labels.showPalettes',1).'</label>';
|
||
}
|
||