<?php /** @package catalog::admin::applications @author Loaded Commerce @copyright Copyright 2003-2014 Loaded Commerce, LLC @copyright Portions Copyright 2003 osCommerce @copyright Template built on Developr theme by DisplayInline http://themeforest.net/user/displayinline under Extended license @license https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt @version $Id: main.php v1.0 2013-08-08 datazen $ */ $checkArr = lC_Updates_Admin::hasUpdatesAvailable(); $backupArr = lC_Updates_Admin::getBackups(); ?> <!-- Main content --> <section role="main" id="main"> <noscript class="message black-gradient simpler"><?php echo $lC_Language->get('ms_error_javascript_not_enabled_warning'); ?> </noscript> <hgroup id="main-title" class="thin small-margin-bottom"> <h1><?php echo $lC_Template->getPageTitle(); ?> </h1> </hgroup> <style> #versionContainer .fieldset { padding-bottom:1px; } #versionContainer .legend { font-weight:bold; font-size: 1.1em; } #versionContainer .update-text { text-align:center; } #versionContainer .cancel-text { text-align:center; margin-top:20px; font-size:.9em; }
/** * Get the backup listing * * @access public * @return json */ public static function getBackupsAvailable() { if (lC_Updates_Admin::getBackups()) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }