blob: 2eb2f80d85041a6f61bce53b52db3c34f64e28be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
define("HOME", "h");
define("DOWNLOAD", "g");
define("CONTRIBUTE", "c");
define("DOCUMENTATION", "d");
define("ACTIVE", "active");
define("INACTIVE", "inactive");
$trk = $_REQUEST['trk'];
$home = $trk == HOME || $trk == '' ? 'active' : 'inactive';
$download = $trk == DOWNLOAD ? 'active' : 'inactive';
$contribute = $trk == CONTRIBUTE ? 'active' : 'inactive';
$documentation = $trk == DOCUMENTATION ? 'active' : 'inactive';
?>
<div id="menu">
<ul class="l0">
<li><div> <a class="<?php echo $home ?>" title="Home" href="./index.php">Home</a> </div></li>
<li><div> <a class="<?php echo $download ?>" title="Get the latest releases" href="./download.php?trk=g">Download</a> </div></li>
<li><div> <a class="<?php echo $contribute ?>" title="Information about design/development process" href="./contribute.php?trk=c">Contribute</a> </div></li>
<li><div> <a class="<?php echo $documentation ?>" title="Project documentation" href="./documentation.php?trk=d">Documentation</a> </div></li>
</ul>
</div>
|