diff --git a/freeglut/web-src/template.php b/freeglut/web-src/template.php index 4ca5512..74b3ef7 100644 --- a/freeglut/web-src/template.php +++ b/freeglut/web-src/template.php @@ -56,20 +56,36 @@ function printMenuItem($item, $current_page) { function generateSideBar($current_page) { global $sidebarentries; - echo "
"; + echo "
"; # Open the navbar + # Print out the logo! echo "
The Free OpenGL Utility Toolkit

"; + # Print out each sidebar entry one by one... reset($sidebarentries); while (next($sidebarentries)) { printMenuItem(current($sidebarentries), $current_page); } - echo "
-
"; + # This allows a user to view our PHP source... it's in CVS anyway, and why not spread the love of + # slick web page design? ;) + $cvs_location = "http://cvs.sourceforge.net/viewcvs.py/freeglut/freeglut/web-src$current_page?view=auto"; + + # Print the SourceForge logo button and the "View source" link + echo " +
+
+ +
+
+ + "; + + echo "
"; # Close the navbar. - echo "
"; } function setPageTitle($title_inc) { @@ -78,3 +94,4 @@ function setPageTitle($title_inc) { } ?> +