blob: b42e13152da35ef27d1b6b568e8b4a9f8028d55d [file] [log] [blame]
<?php
# set default theme
$_theme = "";
$theme = "";
if(isset($_POST['theme'])) {
$_theme = $_POST['theme'];
}
if($_theme != "" && $App->isValidTheme($_theme)) {
setcookie("theme", $_theme);
$theme = $_theme;
}
else {
# Get theme from browser, or none default
$theme = $App->getUserPreferedTheme();
}
# Define your project-wide Nav bars here.
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
# these are optional
$Nav->addNavSeparator("GMT Home", "/gmt/");
$Nav->addCustomNav("Download", "/gmt/download/", "_self", 1);
$Nav->addCustomNav("Documentation", "/gmt/doc/", "_self", 1);
$Nav->addCustomNav("AMW", "/gmt/am3/", "_self", 1);
$Nav->addCustomNav("Download", "/gmt/amw/download/", "_self", 2);
$Nav->addCustomNav("Documentation", "/gmt/amw/doc/", "_self", 2);
?>