Your IP : 216.73.216.240


Current Path : /home/juvelize/www/modules/mod_responsivegallery/elements/
Upload File :
Current File : /home/juvelize/www/modules/mod_responsivegallery/elements/info.php

<?php




/**




* @id $Id$




* @author  mod_responsivegallery.php




* @package  Responsive Photo Gallery




* @copyright Copyright (C) 2012 GraphicAholic.




* @license  GNU/GPL license: http://www.gnu.org/copyleft/gpl.html




*/




// no direct access




defined('_JEXEC') or die('Restricted access');




jimport('joomla.html.html');




jimport('joomla.form.formfield');









class JFormFieldInfo extends JFormField {




	protected $type = 'info';




	protected function getInput(){




		// Output




		return '




		<div style="font-size:12px;line-height:18px;color:#990000;padding:10px;margin:10px 0;background: #F4F4F4">




			'.JText::_($this->element['default']).'




		</div>




		';




	}




	public function getLabel() {




        return '<span style="display:none">' . parent::getLabel() . '</span>';




    }




}