Project

General

Profile

Feature #18652 » disablePageVersionButton.diff

Administrator Admin, 2008-04-20 18:03

View differences:

typo3/sysext/cms/layout/db_layout.php (working copy)
$dblist->ext_function = $this->MOD_SETTINGS['function'];
// Render versioning selector:
$dblist->HTMLcode.= $this->doc->getVersionSelector($this->id);
$dblist->HTMLcode.= $this->modTSconfig['properties']['disableCreatePageVersionButton'] ? $this->doc->getVersionSelector($this->id) : '';
// Generate the list of elements here:
$dblist->generateList();
(2-2/3)