| Current Path : /home/purehotels/public_html/plugins/content/easyfolderlistingpro/fields/ |
| Current File : /home/purehotels/public_html/plugins/content/easyfolderlistingpro/fields/eflpdashboard.php |
<?php
/**
* @version 3.0
* @author Michael A. Gilkes (michael@valorapps.com)
* @copyright Michael Albert Gilkes
* @license GNU/GPLv3
Easy Folder Listing Pro Component for Joomla!
Copyright (C) 2012-2016 Michael Albert Gilkes (Valor Apps)
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/>.
*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
//get joomla form related functions
jimport('joomla.form.formfield');
class JFormFieldEFLPDashboard extends JFormField
{
//The form field type
protected $type = 'eflpdashboard';
//The initialised state of the document object
protected static $initialised = false;
protected function getInput()
{
$html = array();
$html[] = '<div style="float:left; width:auto; margin:5px 5px 5px 0;">';
$html[] = '<a href="'.JRoute::_('index.php?option=com_easyfolderlistingpro&view=dashboard').'">';
$html[] = JText::_('PLG_CONTENT_EFLP_GOTO_CONFIG');
$html[] = '</a>';
$html[] = '</div>';
return implode("\n", $html);
}
}