array(), 'attributes' => array(),); protected function getStyles() { return ".admin-page-framework-field input[type='radio'] {margin-right: 0.5em;} .admin-page-framework-field-radio .admin-page-framework-input-label-container {padding-right: 1em;} .admin-page-framework-field-radio .admin-page-framework-input-container {display: inline;} .admin-page-framework-field-radio .admin-page-framework-input-label-string{display: inline; } .ama-theme-screenshot{ width:160px;height:90px;} .ama-theme-screenshot img{max-width:100%;max-height:100%;} .ama-disable{background-color:#888888;}"; } protected function getScripts() { return ''; } protected function getField($aField) { $_aOutput = array(); foreach ($this->getAsArray($aField['label']) as $_sKey => $_sLabel) { $_aOutput[] = $this->_getEachRadioButtonOutput($aField, $_sKey, $_sLabel['theme']); } $_aOutput[] = $this->_getUpdateCheckedScript($aField['input_id']); return implode(PHP_EOL, $_aOutput); } private function _getEachRadioButtonOutput(array $aField, $sKey, $sLabel) { $amaClass = ' ama-enable'; if ($aField['label'][$sKey]['enable']==0) { $amaClass = ' ama-disable'; } $_aAttributes = $aField['attributes'] + $this->getElementAsArray($aField, array('attributes', $sKey)); $_oRadio = new AdminPageFramework_Input_radio($_aAttributes); $_oRadio->setAttributesByKey($sKey); $ama_image = '