Ejemplo n.º 1
0
 function fetchElement($name, $value, &$node, $control_name)
 {
     global $mctrl;
     $mctrl =& MissionControl::getInstance();
     if ($mctrl->_getCurrentAdminTemplate() == "rt_missioncontrol_j15") {
         $ftp = JClientHelper::getCredentials('ftp');
         if ($ftp['enabled']) {
             $html = '<div class="mc-update-check"><b>* FTP mode currently not supported in Auto-Update</b><br />Please check the MissionControl forum for information on the latest version.</div>';
         } else {
             $html = MCUpdater::display(false);
         }
     } else {
         $html = '<b>* Feature only available within MissionControl</b>';
     }
     return $html;
 }
Ejemplo n.º 2
0
<?php

/**
 * @version � 2.2 December 20, 2011
 * @author � �RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
 * @license � http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 */
// no direct access
defined('_JEXEC') or die('Restricted index access');
require_once dirname(__FILE__) . DS . '..' . DS . 'lib' . DS . 'rtmcupdater.class.php';
echo MCUpdater::display(true);
?>