From c0c5441738e4b5d75d53219339158a6b9354945a Mon Sep 17 00:00:00 2001 From: Evie Embrechts Date: Tue, 10 Jul 2007 20:47:53 +0200 Subject: [PATCH] [svn r12728] display_installation_overview() which displays left-side overview of installation steps --- main/install/upgrade.php | 58 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/main/install/upgrade.php b/main/install/upgrade.php index c83eb02bf2..75e131df2e 100755 --- a/main/install/upgrade.php +++ b/main/install/upgrade.php @@ -478,14 +478,69 @@ function display_upgrade_header($text_dir, $dokeos_version, $install_type, $upda '; + echo 'Dokeos logo'; + echo '
    '; + echo '
  1. ' . get_lang('InstallationLanguage') . '
  2. '; + echo '
  3. ' . get_lang('Requirements') . '
  4. '; + echo '
  5. ' . get_lang('Licence') . '
  6. '; + echo '
  7. ' . get_lang('DBSetting') . '
  8. '; + echo '
  9. ' . get_lang('CfgSetting') . '
  10. '; + echo '
  11. ' . get_lang('PrintOverview') . '
  12. '; + echo '
  13. ' . get_lang('Installing') . '
  14. '; + echo '
'; + echo ''; +} + +/** + * This function prints class=active_step $current_step=$param + * @author Patrick Cool , Ghent University + */ +function step_active($this_step) +{ + global $current_active_step; + if ($current_active_step == $this_step) + { + return ' class="current_step" '; + } +} /* ============================================================================== MAIN CODE ============================================================================== */ - +global $current_active_step; +$current_active_step = '1'; display_upgrade_header($text_dir, $dokeos_version, $install_type, $update_from_version); +display_installation_overview(); // Create a new wizard $wizard = & new HTML_QuickForm_Controller('regWizard', true); @@ -552,5 +607,4 @@ $wizard->run(); FOOTER ============================================================================== */ -Display::display_footer(); ?> \ No newline at end of file