Exemplo n.º 1
0
if ($kill != '') {
    echo '<div class="error">' . $kill . '</div>';
}
?>

	<div id="maincontent">
	<div class="main" >
	<h3><?php 
echo $site_full_name . ' ' . i18n_r('INSTALLATION');
?>
</h3>

			<table class="highlight healthcheck">
			<?php 
# check to see if there is a core update needed
$verdata = getVerCheck();
$verstatus = $verdata->status;
if ($verstatus == '0') {
    $ver = '<span class="ERRmsg" >' . i18n_r('UPG_NEEDED') . ' <b>' . $apikey->latest . '</b><br /><a href="' . $site_link_back_url . 'download" target="_blank" >' . i18n_r('DOWNLOAD') . '</a></span>';
} elseif ($verstatus == '1') {
    $ver = '<span class="OKmsg" ><b>' . $site_version_no . '</b> - ' . i18n_r('LATEST_VERSION') . '</span>';
} elseif ($verstatus == '2') {
    $ver = '<span class="WARNmsg" ><b>' . $site_version_no . '</b> - ' . (isAlpha() ? i18n_r('ALPHA_TITLE') : i18n_r('BETA_TITLE')) . '</span>';
} else {
    $ver = '<span class="WARNmsg" >' . i18n_r('CANNOT_CHECK') . ' <b>' . $site_version_no . '</b><br /><a href="' . $site_link_back_url . 'download/" target="_blank" >' . i18n_r('DOWNLOAD') . '</a></span>';
}
?>
			<tr><td style="width:380px;" ><?php 
echo $site_full_name;
?>
 <?php 
Exemplo n.º 2
0
</a></li>
	<li class="rightnav" ><a class="support last" href="support.php" accesskey="<?php 
echo find_accesskey(i18n_r('TAB_SUPPORT'));
?>
" ><?php 
i18n('TAB_SUPPORT');
?>
</a></li>

	<?php 
// nav status labels
if (isDebug()) {
    echo '<li class="rightnav"><a class="label label-error label_4_80" href="' . $debugInfoUrl . '" target="_blank" title="' . i18n_r('DEBUG_MODE') . ' - ' . i18n_r('ON') . '"><span><span class="fa fa-fw fa-wrench"></span></span></a></li>';
}
if (allowVerCheck()) {
    $verstatus = getVerCheck()->status;
    if ($verstatus == 0) {
        // update available newer than current
        echo '<li class="rightnav"><a class="label label-gold" href="health-check.php" title="' . i18n_r('UPG_NEEDED') . '"><span class="fa fa-fw fa-lg fa-cloud-download"></span></a></li>';
    }
}
if (isBeta() || isAlpha()) {
    echo '<li class="rightnav"><a class="label label-ghost" href="health-check.php" title="' . (isAlpha() ? i18n_r('ALPHA') : i18n_r('BETA')) . ' - ' . i18n_r('WEB_HEALTH_CHECK') . '"><span><span class="fa fa-fw fa-flask"></span> ' . (isAlpha() ? i18n_r('ALPHA') : i18n_r('BETA')) . '</span></a></li>';
}
?>

</ul>

</div>
</div>