public function displayEditBox($sType, Brick $oBrick, $bIsUpload = false) { $this->_sContentTemplate = 'edit.' . $sType; $this->_addTemplateVar('bListManager', $oBrick->isInAList()); $this->_addTemplateVar('bHistoryManager', true); $this->_addTemplateVar('sFormAction', '/admin/save.' . $sType . '.html'); $this->_addTemplateVar('bIsUpload', $bIsUpload); $this->_addTemplateVar('sModalType', $sType . '.edit'); $this->_addTemplateVar('brick', $oBrick); $this->_render(); }