Esempio n. 1
0
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="gui/themes/default/images/favicon.ico" rel="icon" type="image/gif"/>
<link href="gui/themes/default/css/testlink.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function reload() {
	window.location.reload(true);
}
</script>
</head>

<body>
<div style="width: 800px; margin-left: auto; margin-right: auto;">
<h1>TestLink - System & services checking</h1>
<p>Installation status:
<?php 
$bInstallDone = checkInstallStatus();
if ($bInstallDone) {
    echo "Installed.";
} else {
    echo "Not installed.";
}
?>
 
</p>
<div>
	<input type="button" name="Re-check" value="Re-check" onClick="reload();" tabindex="1">
</div>

<!---
<h2>Web server Check</h2>
<div id="content">
Esempio n. 2
0
/** 
 * print table with database checking
 *  
 * @param integer &$errCounter reference to error counter
 * @author Martin Havlat
 **/
function reportCheckingDatabase(&$errCounter, $type = null)
{
    if (checkInstallStatus()) {
        $type = DB_TYPE;
    }
    if (!is_null($type)) {
        echo '<h2>Database checking</h2><table class="common" style="width: 100%;">';
        echo checkDbType($errCounter, $type);
        echo "</table>\n";
    }
}
Esempio n. 3
0
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../../gui/themes/default/images/favicon.ico" rel="icon" type="image/gif"/>
<link href="../../gui/themes/default/css/testlink.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function reload() {
	window.location.reload(true);
}
</script>
</head>

<body>
<div style="width: 800px; margin-left: auto; margin-right: auto;">
<h1>TestLink - System & services checking</h1>
<p>Installation status:
<?php 
if (checkInstallStatus()) {
    echo "Installed.";
} else {
    echo "Not installed.";
}
?>
 
</p>
<div>
	<input type="button" name="Re-check" value="Re-check" onClick="reload();" tabindex="1">
</div>
<div>
<?php 
$errors = 0;
reportCheckingSystem($errors);
reportCheckingWeb($errors);