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', ...@@ -83,7 +83,7 @@ $module['nav'][] = array( 'title' => 'Fetchmail',
//**** Statistics menu //**** Statistics menu
$items = array(); $items = array();
$items[] = array( 'title' => 'Mailboxes', $items[] = array( 'title' => 'Mailbox traffic',
'target' => 'content', 'target' => 'content',
'link' => 'mail/mail_user_stats.php'); 'link' => 'mail/mail_user_stats.php');
......
...@@ -85,6 +85,7 @@ if(isset($_GET['nav']) && $_GET['nav'] == 'side') { ...@@ -85,6 +85,7 @@ if(isset($_GET['nav']) && $_GET['nav'] == 'side') {
$tmp_items[] = $item; $tmp_items[] = $item;
} }
$nav['title'] = $app->lng($nav['title']); $nav['title'] = $app->lng($nav['title']);
$nav['startpage'] = $_SESSION['s']['module']['startpage'];
$nav['items'] = $tmp_items; $nav['items'] = $tmp_items;
$nav_translated[] = $nav; $nav_translated[] = $nav;
} }
......
...@@ -85,6 +85,10 @@ body{ ...@@ -85,6 +85,10 @@ body{
border-left-color: #999999; border-left-color: #999999;
text-align: left; text-align: left;
} }
.navLeftHead a {
text-decoration: none;
color: #4E70A7;
}
.navLeftItem { .navLeftItem {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px; font-size: 10px;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<tmpl_loop name="nav_left"> <tmpl_loop name="nav_left">
<table bgcolor="#F4F6FB" width="115"> <table bgcolor="#F4F6FB" width="115">
<tr> <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>
<tr> <tr>
<td> <td>
......
Supports Markdown
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