Mygento_Payture_Block_Version::render()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
3
/**
4
 *
5
 *
6
 * @category Mygento
7
 * @package Mygento_Payture
8
 * @copyright Copyright © 2015 NKS LLC. (http://www.mygento.ru)
9
 */
10
class Mygento_Payture_Block_Version extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
11
{
12
13
    /**
14
     *
15
     * @param Varien_Data_Form_Element_Abstract $element
16
     * @return string
17
     *
18
     * @SuppressWarnings("unused")
19
     */
20
    public function render(Varien_Data_Form_Element_Abstract $element)
21
    {
22
        $info = '<fieldset class="config success-msg" style="padding-left:30px;"><a target="_blank" href="http://www.mygento.ru/"><img src="//www.mygento.ru/media/favicon/default/favicon.png" width="16" height="16" />' . $this->__('Magento Development') . '</a>';
23
        $info.='<a style="float:right" target="_blank" href="https://github.com/mygento/payture">' . $this->__('Module on Github') . '</a></fieldset>';
24
        return $info;
25
    }
26
}
27