50 } |
50 } |
51 |
51 |
52 // FIXME: l10n |
52 // FIXME: l10n |
53 start_install_table(); |
53 start_install_table(); |
54 |
54 |
55 run_installer_stage('load', 'Load installer files', 'stg_load_files', 'One of the files needed for installation couldn\'t be loaded. Please check your Enano directory.', false); |
55 run_installer_stage('load', $lang->get('install_stg_load_title'), 'stg_load_files', $lang->get('install_stg_load_body'), false); |
56 run_installer_stage('cleanup', 'Clean up encryption keys', 'stg_aes_cleanup', 'There was a database error while removing the temporary encryption keys from the database. For maximum site security you should delete the config entries install_aes_key and site_aes_key manually.', false); |
56 run_installer_stage('cleanup', $lang->get('install_stg_cleanup_title'), 'stg_aes_cleanup', $lang->get('install_stg_cleanup_body'), false); |
57 run_installer_stage('buildindex', $lang->get('install_stg_buildindex_title'), 'stg_build_index', $lang->get('install_stg_buildindex_body')); |
57 run_installer_stage('buildindex', $lang->get('install_stg_buildindex_title'), 'stg_build_index', $lang->get('install_stg_buildindex_body')); |
58 run_installer_stage('renameconfig', $lang->get('install_stg_rename_title'), 'stg_rename_config', $lang->get('install_stg_rename_body', array('mainpage_link' => scriptPath . '/index.php'))); |
58 run_installer_stage('renameconfig', $lang->get('install_stg_rename_title'), 'stg_rename_config', $lang->get('install_stg_rename_body', array('mainpage_link' => scriptPath . '/index.php'))); |
59 |
59 |
60 close_install_table(); |
60 close_install_table(); |
61 |
61 |
62 ?> |
62 ?> |
63 <h3>Congratulations! You've finished installing Enano.</h3> |
63 <h3><?php echo $lang->get('finish_msg_success_title'); ?></h3> |
64 <p>Enano has finished setting up on your server. Now you can go to your <a href="<?php echo makeUrlNS('Article', 'Main_Page');?>">new |
64 <p><?php echo $lang->get('finish_msg_success_body', array('mainpage_link' => makeUrlNS('Article', 'Main_Page'))); ?></p> |
65 website</a> and start creating content!</p> |
|
66 <?php |
65 <?php |
67 echo $lang->get('finish_body'); |
66 echo $lang->get('finish_body'); |
68 echo '<p>' . $lang->get('finish_link_mainpage', array('mainpage_link' => scriptPath . '/index.php')) . '</p>'; |
67 echo '<p>' . $lang->get('finish_link_mainpage', array('mainpage_link' => scriptPath . '/index.php')) . '</p>'; |
69 ?> |
68 ?> |
70 <?php |
69 <?php |