function display_finish($password) { $data = finish_installation($password); ?> <h2 class="target"><?php _e('Congratulations!'); ?> </h2> <p class="space-left-10"><?php _e('OSClass has been installed. Were you expecting more steps? Sorry to disappoint.'); ?> </p> <p class="space-left-10"><?php echo sprintf(__('An e-mail with the password for oc-admin has been sent to: %s'), $data['s_email']); ?> </p> <div style="clear:both;"></div> <div class="form-table finish"> <table> <tbody> <tr> <th><label><?php _e('Username'); ?> </label></th> <td> <div class="s_name"> <span style="float:left;" ><?php echo $data['admin_user']; ?> </span> </div> </td> </tr> <tr> <th><label><?php _e('Password'); ?> </label></th> <td> <div class="s_passwd"> <span style="float: left;"><?php echo osc_esc_html($data['password']); ?> </span> </div> </td> </tr> </tbody> </table> </div> <p class="margin20"> <a target="_blank" href="<?php echo get_absolute_url(); ?> oc-admin/index.php" class="button"><?php _e('Finish and go to the administration panel'); ?> </a> </p> <?php }
function display_finish($password) { $data = finish_installation($password); ?> <?php if (Params::getParam('error_location') == 1) { ?> <script type="text/javascript"> setTimeout (function(){ $('.error-location').fadeOut('slow'); }, 2500); </script> <div class="error-location"> <?php _e('The selected location could not been installed'); ?> </div> <?php } ?> <h2 class="target"><?php _e('Congratulations!'); ?> </h2> <p class="space-left-10"><?php _e("Osclass has been installed. Were you expecting more steps? Sorry to disappoint you!"); ?> </p> <p class="space-left-10"><?php echo sprintf(__('An e-mail with the password for oc-admin has been sent to: %s'), $data['s_email']); ?> </p> <div style="clear:both;"></div> <div class="form-table finish"> <table> <tbody> <tr> <th><span class="label-like"><?php _e('Username'); ?> </span></th> <td> <div class="s_name"> <span style="float:left;" ><?php echo $data['admin_user']; ?> </span> </div> </td> </tr> <tr> <th><span class="label-like"><?php _e('Password'); ?> </span></th> <td> <div class="s_passwd"> <span style="float: left;"><?php echo osc_esc_html($data['password']); ?> </span> </div> </td> </tr> </tbody> </table> </div> <p class="margin20"> <a target="_blank" href="<?php echo get_absolute_url(); ?> oc-admin/index.php" class="button"><?php _e('Finish and go to the administration panel'); ?> </a> </p> <?php }
function display_finish() { $data = finish_installation(); ?> <h2 class="target">Congratulations!</h2> <p class="space-left-10">OSClass has been installed. Were you expecting more steps? Sorry to disappoint.</p> <p class="space-left-10">An e-mail with the password for oc-admin has sent to: <?php echo $data['s_email']; ?> </p> <div class="form-table finish"> <table> <tbody> <tr> <th><label>Username</label></th> <td><?php echo $data['admin_user']; ?> </td> </tr> <tr> <th><label>Password</label></th> <td><p><?php echo $data['password']; ?> </p></td> </tr> <tr> <th></th> <td>Note that password carefully! It is a random password that was generated just for you.</td> </tr> </tbody> </table> </div> <p class="margin20"> <a target="_blank" href="<?php echo get_absolute_url(); ?> oc-admin/index.php" class="button">Finish and go to the administration panel</a> </p> <?php }
function display_finish($password) { $data = finish_installation($password); ?> <?php if (Params::getParam('error_location') == 1) { ?> <script type="text/javascript"> setTimeout (function(){ $('.error-location').fadeOut('slow'); }, 2500); </script> <div class="error-location"> <?php _e('Выбранные регионы невозможно установить!'); ?> </div> <?php } ?> <h2 class="target"><?php _e('Поздравляем!'); ?> </h2> <p class="space-left-10"><?php _e("OSClass Rus Team успешно установлен. Теперь перейдите в панель администрирования, установите язык и начните работать с системой!"); ?> </p> <p class="space-left-10"><?php echo sprintf(__('На ваш e-mail отправлено письмо с вашим паролем к панели администрирования oc-admin: %s'), $data['s_email']); ?> </p> <p class="space-left-10"><?php _e('Вам понравился Osclass помогите развивать проект! Скажите СПАСИБО'); ?> </p> <p class="space-left-10"> <form action="https://advisor.wmtransfer.com/Spasibo.aspx" method="post" target="_blank" title="Передать $пасибо! нашему сайту"> <input type="hidden" name="url" value="http://os-class.ru"/> <input type="image" src="//advisor.wmtransfer.com/img/Spasibo!.png" border="0" name="submit"/> </form> </p> <div style="clear:both;"></div> <div class="form-table finish"> <table> <tbody> <tr> <th><span class="label-like"><?php _e('Пользователь'); ?> </span></th> <td> <div class="s_name"> <span style="float:left;" ><?php echo $data['admin_user']; ?> </span> </div> </td> </tr> <tr> <th><span class="label-like"><?php _e('Пароль'); ?> </span></th> <td> <div class="s_passwd"> <span style="float: left;"><?php echo osc_esc_html($data['password']); ?> </span> </div> </td> </tr> </tbody> </table> </div> <p class="margin20"> <a target="_blank" href="<?php echo get_absolute_url(); ?> oc-admin/index.php" class="button"><?php _e('Закончить и перейти в панель администрирования'); ?> </a> </p> <?php }