* All rights reserved * * Reuse or modification of this source code is not allowed * without written permission from creativestyle GmbH * * @category Creativestyle * @package Creativestyle_CheckoutByAmazon * @copyright Copyright (c) 2012 creativestyle GmbH (http://www.creativestyle.de) * @author Marek Zabrowarny / creativestyle GmbH */ class Creativestyle_CheckoutByAmazon_Block_Adminhtml_Signup extends Mage_Adminhtml_Block_System_Config_Form_Fieldset { public function render(Varien_Data_Form_Element_Abstract $element) { $output = ''; foreach ($element->getSortedElements() as $field) { $id = $field->getHtmlId(); $output .= '
getValue() ? ' style="display:none;"' : '') . '>'; $output .= '
getValue() ? ' checked="checked"' : '') . '/>
'; $output .= '

' . $this->__('Please note!') . ' '; $output .= $this->__('If you do not have a Checkout by Amazon account yet please sign up.'); $output .= '

'; $output .= ''; $output .= '' . "\n"; $output .= '
'; break; } return $output; } }