Code: Select all
?>
<!-- menubar -->
<div class="doNotPrint">
<div class="leftSideBar">
<p class="sideBarTitle"><?php langtrans('Navigation'); ?></p>
<?php
// NOTE: when adding new links to the site, put them in as <li></li> entries in
// the <ul></ul> shown below. The order of the links is the order they appear
// in the left navigation menu.
// Be careful to only use html as shown below, otherwise the program that
// automatically shows which page you're on won't work quite right.
// Don't use single-quotes in the following area unless you prefix it with a
// backslash.
// Correct: "Steve\'s page"
// Wrong: "Steve's page" <=== this will cause a PHP error in menubar.php
//
// Be sure to include a title="..." tag so folks can see more info via a tooltip
// as they mouse over the link in the menu.
//Don't change the next line in any way
$html = '
<ul>
<li><a href="wxindex.php" title="Home">Home</a></li>
<li><a href="wxforecast.php" title="5-day Forecast">Forecast</a></li>
<li><a href="wxsimforecast.php" title="WXSIM Forecast">WXSIM Forecast</a></li>
<li><a href="wxradar.php" title="Radar">Radar</a></li>
<li><a href="wxadvisory.php" title="Watches, Warnings, Advisories">Advisories</a></li>
<li><a href="wxtrends.php" title="Daily weather statistics">Daily Stats</a></li>
<li><a href="wxgraphs.php" title="24, 72, & Monthly Graphs">Graphs</a></li>
<li><a href="wxastronomy.php" title="Sun and Moon Data">Astronomy</a></li>
<li><a href="wxlinks.php" title="Useful Links">Links</a></li>
<li><a href="wxabout.php" title="About This Site">About Us</a></li>
</ul>
'; // end of links set for site. Don't change this line in any way
if (isset($SITE['flyoutmenu']) and $SITE['flyoutmenu']) {
global $FlyoutMenuText;
print "<div class=\"flyoutmenu\">\n";
print $FlyoutMenuText;
print "</div>\n";
} else {
gen_navlinks($html); // generate the links set with highlight for the current page
}
?>
<?php
if(isset($showSidebar) and $showSidebar) {
include_once("ajax-sidebar.php");
}
# Note: add other links and stuff to the left sidebar above the </div><!-- end leftSidebar -->
# as shown in the sample below.
# Keep in mind that the width allowed is about 110px
#
# if you don't want anything to appear extra here, just delete the lines
# <!-- external links -->
# down to and including
# <!-- end external links -->
?>