File: /home/iestorre/www/plugins/system/moduleplant/moduleplant/fields/header.php
<?php
/*
* @package JPlant.Elements
* @author http://www.j-plant.com
* @copyright Copyright (C) 2010 J-Plant. All rights reserved.
* @license GNU/GPL v. 3.0
*
* JPlant Elements is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*
*/
defined('_JEXEC') or die ('Restricted access');
jimport('joomla.form.formfield');
class JFormFieldHeader extends JFormField {
protected $type = 'Header';
function getInput() {
return '<div style="font-weight:normal;font-size:12px;color:#FFF;padding:4px;margin:0;background:#0B55C4;float:left;width:100%;">' . JText::_($this->value) . '</div>';
}
}