/** * Outputs the necessary JavaScript to the browser * */ function renderJavaScript() { jpimport('models.registry', true); $profile =& JoomlapackModelRegistry::getInstance(); $method = $profile->get('backupMethod'); if ($method == 'ajax') { JoomlapackHelperDbef::_renderAJAXJavaScript(); } else { JoomlapackHelperDbef::_renderRedirectsJavaScript(); } }
function tablepane() { jpimport('helpers.dbef', true); return JoomlapackHelperDbef::getTablePane(); }
?> <table border="0" cellspacing="10" width="100%"> <tr> <td><a href="<?php echo JURI::base(); ?> index.php?option=com_joomlapack&view=dbef&task=reset"> <?php echo JText::_('DBEF_LABEL_RESET'); ?> </a> - <a href="<?php echo JURI::base(); ?> index.php?option=com_joomlapack&view=dbef&task=filternonjoomla"> <?php echo JText::_('DBEF_LABEL_FILTERNONJOOMLA'); ?> </a></td> </tr> <tr> <td id="tablepane" valign="top"><?php echo JoomlapackHelperDbef::getTablePane(); ?> </td> </tr> </table> </div>