| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/www/administrator/components/com_nexevocontact/models/fields/ |
Upload File : |
<?php defined("_JEXEC") or die('Restricted access');
/**
@Nexevo Responsive Conact Form
@author Nexevo Technologies <info@nexevo.in>
@link http://www.Nexevo.in
@copyright (C) 2010 - 2011 Nexevo-Extension
@license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
jimport('joomla.html.html');
jimport('joomla.form.formfield');
class JFormFieldNHeader extends JFormField
{
protected $type = 'NHeader';
protected function getInput()
{
return '';
}
protected function getLabel()
{
$cn = basename(realpath(dirname(__FILE__) . '/../..'));
$direction = intval(JFactory::getLanguage()->get('rtl', 0));
$left = $direction ? "right" : "left";
$right = $direction ? "left" : "right";
echo '<div class="clr"></div>';
$image = '';
$icon = (string)$this->element['icon'];
if (!empty($icon))
{
$image .= '<img style="margin:0; float:' . $left . ';" src="' . JUri::base() . '../media/' . $cn . '/images/' . $icon . '">';
}
$helpurl = (string)$this->element['helpurl'];
if (!empty($helpurl))
{
$image .= '<a href="' . $helpurl . '" target="_blank"><img style="margin:0; float:' . $right . ';" src="' . JUri::base() . '../media/' . $cn . '/images/question-button-16.png"></a>';
}
$style = 'background:#011f60; color:#ffcb08; border:1px solid silver; padding:5px; margin:5px 0;';
if ($this->element['default'])
{
return '<div style="' . $style . '">' .
$image .
'<span style="padding-' . $left . ':5px; font-weight:bold; line-height:16px;">' .
JText::_($this->element['default']) .
'</span>' .
'</div>';
}
else
{
return parent::getLabel();
}
echo '<div class="clr"></div>';
}
}
?>