install/includes/stages/finish.php
changeset 391 85f91037cd4f
parent 371 dc6026376919
child 526 b2fb50d572c7
equal deleted inserted replaced
390:9bcc185dc151 391:85f91037cd4f
    31 
    31 
    32 $ui->show_header();
    32 $ui->show_header();
    33 flush();
    33 flush();
    34 
    34 
    35 ?>
    35 ?>
    36 <h3>Performing final installation steps</h3>
    36 <h3><?php echo $lang->get('finish_heading_progress'); ?></h3>
    37 <p>Enano is cleaning up and performing some final installation tasks. Please wait...</p>
    37 <p><?php echo $lang->get('finish_msg_progress'); ?></p>
    38 
    38 
    39 <?php
    39 <?php
    40 
    40 
    41 @set_time_limit(0);
    41 @set_time_limit(0);
    42 
    42 
    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