Commit 94890d75 authored by tbrehm's avatar tbrehm
Browse files

Make headers clickable in menu.

parent 2f07ae7b
......@@ -83,7 +83,7 @@ $module['nav'][] = array( 'title' => 'Fetchmail',
//**** Statistics menu
$items = array();
$items[] = array( 'title' => 'Mailboxes',
$items[] = array( 'title' => 'Mailbox traffic',
'target' => 'content',
'link' => 'mail/mail_user_stats.php');
......
......@@ -85,6 +85,7 @@ if(isset($_GET['nav']) && $_GET['nav'] == 'side') {
$tmp_items[] = $item;
}
$nav['title'] = $app->lng($nav['title']);
$nav['startpage'] = $_SESSION['s']['module']['startpage'];
$nav['items'] = $tmp_items;
$nav_translated[] = $nav;
}
......
......@@ -85,6 +85,10 @@ body{
border-left-color: #999999;
text-align: left;
}
.navLeftHead a {
text-decoration: none;
color: #4E70A7;
}
.navLeftItem {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
......
......@@ -6,7 +6,7 @@
<tmpl_loop name="nav_left">
<table bgcolor="#F4F6FB" width="115">
<tr>
<td class="navLeftHead"><tmpl_var name="title"></td>
<td class="navLeftHead"><a href="#" onClick="loadContent('<tmpl_var name='startpage'>')"><tmpl_var name="title"></a></td>
</tr>
<tr>
<td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment