diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index ddfe4a816..1b57e6a7a 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -2861,7 +2861,7 @@ EOF * @throws \MySQLException * @throws \MySQLHasGoneAwayException */ - public function DisplayStimulusForm(WebPage $oPage, $sStimulus, $aPrefillFormParam = null) + public function DisplayStimulusForm(WebPage $oPage, $sStimulus, $aPrefillFormParam = null, $bDisplayBareProperties = true) { $sClass = get_class($this); $iKey = $this->GetKey(); @@ -2922,7 +2922,7 @@ HTML $aExpectedAttributes = $aPrefillFormParam['expected_attributes']; } $sButtonsPosition = MetaModel::GetConfig()->Get('buttons_position'); - if ($sButtonsPosition == 'bottom') + if ($sButtonsPosition == 'bottom' && $bDisplayBareProperties) { // bottom: Displays the ticket details BEFORE the actions $oPage->add('
HTML ); - if ($sButtonsPosition != 'top') + if ($sButtonsPosition != 'top' && $bDisplayBareProperties) { // bottom or both: Displays the ticket details AFTER the actions $oPage->add('