Enhanced Grid v". Mage::getConfig()->getNode('modules/TBT_Enhancedgrid/version') .". Click here for updates.
"; $html .= Mage::getBlockSingleton('enhancedgrid/widget_loyalty')->toHtml(); $html .= " "; $html .= "";//$this->_getFooterHtml($element); return $html; } protected function _getDummyElement() { if (empty($this->_dummyElement)) { $this->_dummyElement = new Varien_Object(array('show_in_default'=>1, 'show_in_website'=>1)); } return $this->_dummyElement; } protected function _getFieldRenderer() { if (empty($this->_fieldRenderer)) { $this->_fieldRenderer = Mage::getBlockSingleton('adminhtml/system_config_form_field'); } return $this->_fieldRenderer; } protected function _getFieldHtml($fieldset, $moduleName) { $configData = $this->getConfigData(); $path = 'advanced/modules_disable_output/'.$moduleName; //TODO: move as property of form $data = isset($configData[$path]) ? $configData[$path] : array(); $e = $this->_getDummyElement(); $moduleKey = substr($moduleName, strpos($moduleName,'_')+1); $ver = (Mage::getConfig()->getModuleConfig($moduleName)->version); if($ver){ $field = $fieldset->addField($moduleName, 'label', array( 'name' => 'unused', 'label' => $moduleName, 'value' => $ver ))->setRenderer($this->_getFieldRenderer()); return $field->toHtml(); } return ''; } }