Project

General

Profile

Feature #19869 ยป rtehtmlarea_feature_10206.patch

Administrator Admin, 2009-01-20 23:32

View differences:

typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (copie de travail)
'showhelp', // Has no content yet
);
// Always show these toolbar buttons (TYPO3 button name)
var $conf_toolbar_show = array (
'undo',
'redo',
//'showhelp',
'about',
);
// The order of the toolbar: the name is the TYPO3-button name
var $defaultToolbarOrder;
......
$show = $plugin->applyToolbarConstraints($show);
}
}
// Adding the always show buttons
$show = array_unique(array_merge($show, $this->conf_toolbar_show));
$toolbarOrder = array_unique(array_merge($toolbarOrder, $this->conf_toolbar_show));
foreach ($this->conf_toolbar_show as $buttonId) {
if (!in_array($buttonId, $this->toolbarOrderArray)) $this->toolbarOrderArray[] = $buttonId;
}
// Getting rid of the buttons for which we have no position
$show = array_intersect($show, $toolbarOrder);
$this->toolbar = $show;
    (1-1/1)