forked from science-ation/science-ation
get rid of the custom fundraising module primary nav
This commit is contained in:
parent
07f2aa208e
commit
c9bf5f4227
@ -187,27 +187,7 @@ if(isset($_SESSION['roles']) && $_SESSION['username']) {
|
||||
</div>
|
||||
<div id="navigation-section" class="clear">
|
||||
<div id="primarymenu" class="clear">
|
||||
<?
|
||||
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">
|
||||
<ul class="primarynav">
|
||||
<?
|
||||
//if they arent logged in, we need _some_ sort of navigation
|
||||
if(!is_array($_SESSION['roles'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user