| Server IP : 180.180.241.3 / Your IP : 216.73.216.216 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/modules/mod_jw_srfr/includes/elements/ |
Upload File : |
<?php
/**
* @version 2.3
* @package Simple RSS Feed Reader (module)
* @author JoomlaWorks - http://www.joomlaworks.gr
* @copyright Copyright (c) 2006 - 2011 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined('_JEXEC') or die ('Restricted access');
if(version_compare(JVERSION,'1.6.0','ge')) {
jimport('joomla.form.formfield');
class JFormFieldHeader extends JFormField {
var $type = 'header';
function getInput(){
return JElementHeader::fetchElement($this->name, $this->value, $this->element, $this->options['control']);
}
}
}
jimport('joomla.html.parameter.element');
class JElementHeader extends JElement {
var $_name = 'header';
function fetchElement($name, $value, &$node, $control_name){
// Output
return '
<div style="clear:both;font-weight:normal;font-size:14px;color:#fff;padding:4px;margin:0;background:#0B55C4;">
'.JText::_($value).'
</div>
';
}
}