Project

General

Profile

Bug #17921 » 20080109_remove_bottom_panel.patch

Administrator Admin, 2008-01-09 15:19

View differences:

ChangeLog (working copy)
2008-01-09 Benjamin Mack <mack@xnos.org>
* (cleanup) Fixed #6957: Removed bottom button panel in alt_doc.php
* (feature) Added #6995 CSH text is now displayed with CSS hover when in icon mode (Thanks to Chris Lindenmueller)
2008-01-08 Benjamin Mack <mack@xnos.org>
typo3/alt_doc.php (working copy)
* Create the panel of buttons for submitting the form or otherwise perform operations.
*
* @return string HTML code, comprised of images linked to various actions.
* @deprecated since TYPO3 4.2, as there are other functions (getButtons) now for getting the button panel
*/
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>';
}
(3-3/3)