function renderProgress() { jpimport('core.cube'); jpimport('helpers.backup', true); $cube =& JoomlapackCUBE::getInstance(); $array = $cube->getCUBEArray(); return JoomlapackHelperBackup::getBackupProcessHTML($array); }
function renderProgress() { jpimport('core.cube'); jpimport('helpers.backup', true); JoomlapackLogger::WriteLog(_JP_LOG_DEBUG, '--- Entering renderProgress()'); $cube =& JoomlapackCUBE::getInstance(); JoomlapackLogger::WriteLog(_JP_LOG_DEBUG, '--- renderProgress() got CUBE Instance'); $array = $cube->getCUBEArray(); JoomlapackLogger::WriteLog(_JP_LOG_DEBUG, '--- renderProgress() got CUBE Array'); return JoomlapackHelperBackup::getBackupProcessHTML($array); }
} else { $action = 'step'; $message = ''; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <title>JoomlaPack Progress Indicator</title> <link rel="stylesheet" type="text/css" href="<?php echo JURI::base(); ?> components/com_joomlapack/assets/css/joomlapack.css" /> </head> <body> <?php jpimport('helpers.backup', true); echo JoomlapackHelperBackup::getBackupProcessHTML($array); ?> <script type="text/javascript" language="Javascript"> window.parent.handleRequest('<?php echo $action; ?> ','<?php echo $message; ?> '); </script> </body> </html>