Location: PHPKode > scripts > Lightning Notes > ln_distro/ln_distro/admin/nav.inc
<?php
echo '<ul id="navtree" title="Find Accesskeys in the underlined Letters">'."\n";
echo '<li class="home"><a href="/'.$CFGglobal['root'].'/" accesskey="h"><em>H</em>ome</a>'."\n";
echo '<ul>'."\n";
#echo '<li><a href="/'.$CFGglobal['root'].'/admin/enter.php" accesskey="n"><em>N</em>ew Entry &#187;</a></li>'."\n";
echo '<li class="src"><a href="/'.$CFGglobal['root'].'/search.php"><em>S</em>earch</a></li>'."\n";
echo '<li class="cat"><a href="/'.$CFGglobal['root'].'/category.php" accesskey="c"><em>C</em>ategories</a>'."\n";
echo '<ul>'."\n";
echo categories ($tree, $showsubcat = '1'); // show subcategories in nav list
echo '</ul></li>'."\n";
echo '<li class="arc"><a href="/'.$CFGglobal['root'].'/archive.php" accesskey="a"><em>A</em>rchive ['.entrycount ($tree).' Entries]</a></li>'."\n";
echo '</ul></li>'."\n";
echo '</ul>'."\n";

if (!isset($nosearch)) {
    echo '<h3><label for="search" accesskey="s">Search this Site</label></h3>'."\n";
    echo '<form method="get" action="/'.$CFGglobal['root'].'/search.php">'."\n";
    echo '<p><input type="text" id="search" class="bt" name="query" value="'.$query.'" size="18" maxlength="128" /> <input type="submit" class="bn" name="submit" value="Search" /></p>'."\n";
    echo '</form>'."\n";
}
?>

<h3>Calendar</h3>
<?php
if (isset($month)) {
    $calyear = substr(($month), 0, 4);
    $calmonth = substr(($month), 4, 2);
} else {
    $calyear = date('Y');
    $calmonth = date('m');
}
echo calendar ($tree, $calyear, $calmonth);
echo '<p>'.gmdate("D, Y-m-d H:i");
echo '<br />All times are <acronym title="Coordinated Universal Time">UTC</acronym></p>'."\n";
?>

<h3>Help</h3>
<ul title="Change Stylesheet">
<li>
<?php
echo '<a href="/'.$CFGglobal['root'].'/feature.php?entry=20030729accessibility"'."\n";
?>
onclick="setActiveStyleSheet('default'); return false;" title="Style: Fully Dressed">Dressed</a> | 
<?php
echo '<a href="/'.$CFGglobal['root'].'/feature.php?entry=20030729accessibility"'."\n";
?>
onclick="setActiveStyleSheet('clean'); return false;" title="Style: Clean-Shaved">Shaved</a></li>
</ul>
<ul title="Drag Favelets to Toolbar">
<li><a href="javascript:void(q=prompt('Enter%20text%20to%20search%20Notes.',''));if(q)void(location.href=' <?php echo $CFGglobal['domain'].'/'.$CFGglobal['root'] ?>/search.php?&query='+escape(q))" title="Favelet to search this Site">Search Notes</a></li>
</ul>

<h3>Standards</h3>
<?php
echo '<p><a href="/'.$CFGglobal['root'].'/feature.php?entry=20030729accessibility" accesskey="0">Accessibility Statement</a></p>'."\n";
?>
<div class="buttons">
<a class="html" href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0">XHTML</a><span class="skip"> | </span>
<a class="css" href="http://jigsaw.w3.org/css-validator/check/referer" title="Valid CSS">CSS</a><span class="skip"> | </span>
<?php
echo '<a class="csr" href="http://bobby.cast.org/bobby/bobbyServlet?URL='.$CFGglobal['domain'].'/&amp;output=Submit&amp;gl=sec508" title="Accessibility according to U.S. Section 508">508</a><span class="skip"> | </span>'."\n";
echo '<a class="csr" href="http://bobby.watchfire.com/bobby/bobbyServlet?URL='.$CFGglobal['domain'].'/&amp;output=Submit&amp;gl=wcag1-aaa&amp;test=" title="Accessibility according to WAI Content Accessibility Guidelines 1-3">AAA</a><span class="skip"> | </span>'."\n";
echo '<a class="rss" href="index.rdf" title="Syndicate '.$CFGglobal['title'].'">XML</a>'."\n";
?>
</div>

<h3>Contact</h3>
<?php
echo '<p>'.$CFGglobal['copyright'].'<br /><a href="mailto:'.$CFGauthor['email'].'">'.$CFGauthor['name'].'</a>,<br />'.$CFGauthor['about'].'</p>'."\n";
?>
Return current item: Lightning Notes