<?php
/**
 * @package		Article Hits for Joomla! 1.6
 * @type		Plugin (Content)
 * @filename	version.php
 * @folder		<root>/plugins/content/articlehits/fields
 * @version		1.0 
 * @modified	01 March 2011
 * @author		ToolJoom.com - Tools for Joomla!
 * @website		http://www.tooljoom.com
 * @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * 
 * @copyright (C) 2011 ToolJoom.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
**/

defined('_JEXEC') or die;

jimport('joomla.form.formfield');

class JFormFieldVersion extends JFormField
{
	protected $plugin = 'articlehits';
	protected $type = 'Version';
	protected $currentVersion = '1.0'; 
	
	protected function getInput()
	{
		$version = $this->currentVersion;
		
		$return = '<div style="padding-top: 5px;"><strong>'. $version .'</strong></div>';

		return $return;
	}
}