| 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/administrator/components/com_jfusion/views/importexport/ |
Upload File : |
<?php
/**
* This is view file for itemidselect
*
* PHP version 5
*
* @category JFusion
* @package ViewsAdmin
* @subpackage Itemidselect
* @author JFusion Team <webmaster@jfusion.org>
* @copyright 2008 JFusion. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.jfusion.org
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
/**
* Renders the a screen that allows the user to choose a JFusion integration method
*
* @category JFusion
* @package ViewsAdmin
* @subpackage Itemidselect
* @author JFusion Team <webmaster@jfusion.org>
* @copyright 2008 JFusion. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.jfusion.org
*/
class jfusionViewimportexport extends JView
{
/**
* @var $list JSimpleXMLElement
*/
var $list;
/**
* displays the view
*
* @param string $tpl template name
*
* @return mixed html output of view
*/
function display($tpl = null)
{
$mainframe = JFactory::getApplication();
$lang = JFactory::getLanguage();
$lang->load('com_jfusion');
$jname = JRequest::getVar('jname');
//custom for development purposes / local use only; note do not commit your URL to GIT!!!
jimport('joomla.version');
$jversion = new JVersion();
$url = 'http://update.jfusion.org/jfusion/joomla/configs.php?version='.$jversion->getShortVersion();
$ConfigList = JFusionFunctionAdmin::getFileData($url);
$xml = JFusionFunction::getXml($ConfigList,false);
$this->assignRef('list', $xml);
$this->assignRef('jname', $jname);
parent::display($tpl);
}
}