caSetMessage("<div class='contentFailure'><div class='contentFailureHead'>There were errors during installation:</div><ul>" . join("", $va_errors) . "</ul><br/>{$vs_time}</div>"); } else { $vs_message = "<div class='contentSuccess'><span style='font-size:18px;'><b>Installation was successful!</b></span><br/>You can now <a href='../index.php?action=login'>login</a> with "; if (sizeof($va_login_info) == 1) { foreach ($va_login_info as $vs_user_name => $vs_password) { $vs_message .= "username <span class='contentHighlight'>{$vs_user_name}</span> and password <span class='contentHighlight'>{$vs_password}</span>.<br/><b>Make a note of this password!</b><br/>"; } } else { $vs_message .= " the following logins:<br/>"; foreach ($va_login_info as $vs_user_name => $vs_password) { $vs_message .= "Username <span class='contentHighlight'>{$vs_user_name}</span> and password <span class='contentHighlight'>{$vs_password}</span><br/>"; } $vs_message .= "<br/><b>Make note of these passwords!</b><br/>"; } $vs_message .= "<span style='font-size:11px;'>{$vs_time}</span></div>"; caSetMessage($vs_message, true); } } } ?> </div><!-- end content --></div><!-- end box --> <?php function caIncrementProgress($pn_percentage, $ps_message) { print "<script type='text/javascript'>jQuery('#progressbar').progressbar('value',{$pn_percentage}); jQuery('#installerLog').html('{$ps_message}');</script>"; caFlushOutput(); } function caSetMessage($ps_message, $pb_resize = false) { $ps_message = addslashes($ps_message); print "<script type='text/javascript'>jQuery('#installerLog').html('{$ps_message}');";
if (sizeof($va_login_info) == 1) { foreach ($va_login_info as $vs_user_name => $vs_password) { $vs_message .= "username <span class='contentHighlight'>{$vs_user_name}</span> and password <span class='contentHighlight'>{$vs_password}</span>.<br/><b>Make a note of this password!</b><br/>"; } } else { $vs_message .= " the following logins:<br/>"; foreach ($va_login_info as $vs_user_name => $vs_password) { $vs_message .= "Username <span class='contentHighlight'>{$vs_user_name}</span> and password <span class='contentHighlight'>{$vs_password}</span><br/>"; } $vs_message .= "<br/><b>Make note of these passwords!</b><br/>"; } $vs_message .= "<span style='font-size:11px;'>{$vs_time}</span></div>"; caSetMessage($vs_message, true); } } catch (Exception $e) { caSetMessage("<div class='contentFailure'><div class='contentFailureHead'>There were errors during installation:</div>" . $e->getMessage() . "</div>"); } } } ?> </div><!-- end content --></div><!-- end box --> <?php function caIncrementProgress($pn_percentage, $ps_message) { print "<script type='text/javascript'>jQuery('#progressbar').progressbar('value',{$pn_percentage}); jQuery('#installerLog').html('{$ps_message}');</script>"; caFlushOutput(); } function caSetMessage($ps_message, $pb_resize = false) { $ps_message = addslashes($ps_message); print "<script type='text/javascript'>jQuery('#installerLog').html('{$ps_message}');";