<?php /** * @package JoomlaPack * @copyright Copyright (c)2006-2008 JoomlaPack Developers * @license GNU General Public License version 2, or later * @version $id$ * @since 1.3 */ defined('_JEXEC') or die('Restricted access'); // Delegate page rendering to the helper class jpimport('helpers.sff', true); JoomlapackHelperSff::renderJavaScript(); echo "\n"; JoomlapackHelperSff::renderPageArea();
/** * Outputs the necessary JavaScript to the browser * */ function renderJavaScript() { jpimport('models.registry', true); $profile =& JoomlapackModelRegistry::getInstance(); $method = $profile->get('backupMethod'); if ($method == 'ajax') { JoomlapackHelperSff::_renderAJAXJavaScript(); } else { JoomlapackHelperSff::_renderRedirectsJavaScript(); } }
function folderpane($folder) { jpimport('helpers.sff', true); return JoomlapackHelperSff::getFolderPane($folder); }