示例#1
0
<?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();
示例#2
0
 /**
  * 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();
     }
 }
示例#3
0
function folderpane($folder)
{
    jpimport('helpers.sff', true);
    return JoomlapackHelperSff::getFolderPane($folder);
}