*/ class Mage_Adminhtml_Block_System_Config_Form_Field_File extends Varien_Data_Form_Element_File { /** * Get element html * * @return string */ public function getElementHtml() { $html = parent::getElementHtml(); $html .= $this->_getDeleteCheckbox(); return $html; } /** * Get html for additional delete checkbox field * * @return string */ protected function _getDeleteCheckbox() { $html = ''; if ((string)$this->getValue()) { $label = Mage::helper('adminhtml')->__('Delete File'); $html .= '