/** * Generate and print the HTML code for the Post-Hack page. * * @return void */ function sucuriscan_posthack_page() { SucuriScanInterface::check_permissions(); $process_form = sucuriscan_posthack_process_form(); // Page pseudo-variables initialization. $template_variables = array('PageTitle' => 'Post-Hack', 'UpdateSecretKeys' => sucuriscan_update_secret_keys($process_form), 'ResetPassword' => sucuriscan_posthack_users($process_form), 'ResetPlugins' => sucuriscan_posthack_plugins($process_form)); echo SucuriScanTemplate::get_template('posthack', $template_variables); }
/** * Generate and print the HTML code for the Post-Hack page. * * @return void */ function sucuriscan_posthack_page() { SucuriScanInterface::check_permissions(); $process_form = sucuriscan_posthack_process_form(); // Page pseudo-variables initialization. $params['PageTitle'] = 'Post-Hack'; $params['UpdateSecretKeys'] = sucuriscan_update_secret_keys($process_form); $params['ResetPassword'] = sucuriscan_posthack_users($process_form); $params['ResetPlugins'] = sucuriscan_posthack_plugins($process_form); $params['AvailableUpdates'] = sucuriscan_posthack_updates(); echo SucuriScanTemplate::getTemplate('posthack', $params); }