Mygento_Geoip_Block_Version::render()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

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