forked from science-ation/science-ation
Add a module-based menu, based on the second level nav name. this is most likely temporary until we re-do the side menu, but at least its there for now as i have to move on with the actual coding of the fundraising module!
This commit is contained in:
parent
15cf8e1401
commit
2d24c48e13
@ -452,6 +452,25 @@ echo "</div>";
|
||||
?>
|
||||
|
||||
<div id="left">
|
||||
<?
|
||||
if(is_array($nav)) {
|
||||
$navkeys=array_keys($nav);
|
||||
switch($navkeys[2]) {
|
||||
case "Fundraising":
|
||||
echo "<ul class=\"mainnav\">\n";
|
||||
echo "<li><h4 style=\"text-align: center;\">".i18n("Fundraising")."</h4></li>\n";
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/donors.php\">".i18n("Fundraising Dashboard").'</a></li>';
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/donors.php\">".i18n("Manage Campaigns").'</a></li>';
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/donors.php\">".i18n("Manage Donors").'</a></li>';
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/admin/reports.php?area=fundraising\">".i18n("Fundraising Reports").'</a></li>';
|
||||
echo "</ul><br />\n";
|
||||
break;
|
||||
default:
|
||||
//no special menu
|
||||
break;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<ul class="mainnav">
|
||||
<?
|
||||
echo "<li><a href=\"{$config['SFIABDIRECTORY']}/index.php\">".i18n("Home Page").'</a></li>';
|
||||
|
Loading…
Reference in New Issue
Block a user