get rid of the custom fundraising module primary nav

This commit is contained in:
james 2010-09-09 16:42:40 +00:00
parent 07f2aa208e
commit c9bf5f4227

View File

@ -187,27 +187,7 @@ if(isset($_SESSION['roles']) && $_SESSION['username']) {
</div> </div>
<div id="navigation-section" class="clear"> <div id="navigation-section" class="clear">
<div id="primarymenu" class="clear"> <div id="primarymenu" class="clear">
<? <ul class="primarynav">
if(is_array($nav)) {
$navkeys=array_keys($nav);
switch($navkeys[2]) {
case "Fundraising":
echo "<ul class=\"primarynav\">\n";
echo "<li><h4 style=\"text-align: center;\">".i18n("Fundraising")."</h4></li>\n";
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/fundraising.php\">".i18n("Fundraising Dashboard").'</a></li>';
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/fundraising_setup.php\">".i18n("Fundraising Setup").'</a></li>';
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/fundraising_campaigns.php\">".i18n("Manage Appeals").'</a></li>';
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/donors.php\">".i18n("Manage Donors/Sponsors").'</a></li>';
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/fundraising_reports.php\">".i18n("Fundraising Reports").'</a></li>';
echo "</ul><br />\n";
break;
default:
//no special menu
break;
}
}
?>
<ul class="primarynav">
<? <?
//if they arent logged in, we need _some_ sort of navigation //if they arent logged in, we need _some_ sort of navigation
if(!is_array($_SESSION['roles'])) { if(!is_array($_SESSION['roles'])) {