Commit 9b052e27 authored by metzlerd's avatar metzlerd
Browse files

Changed anchor to id to fix ie 8 bug.

parent 757ad62f
...@@ -751,7 +751,7 @@ function forena_user_reports($category = '') { ...@@ -751,7 +751,7 @@ function forena_user_reports($category = '') {
$links = ''; $links = '';
foreach ($reports as $category => $reports) { foreach ($reports as $category => $reports) {
$links .= '<li><a href="#' . urlencode($category) . '">' . $category . '</a></li> '; $links .= '<li><a href="#' . urlencode($category) . '">' . $category . '</a></li> ';
$output .= '<h3><a name="' . urlencode($category) . '"/>' . $category . '</h3>'; $output .= '<h3 id="' . urlencode($category) . '">' . $category . '</h3>';
$output .= '<ul>'; $output .= '<ul>';
foreach ($reports as $r) { foreach ($reports as $r) {
$output .= '<li>' . l($r['title'], $report_repos . '/' . str_replace('/', '.', $r['report_name'])) . '</li>'; $output .= '<li>' . l($r['title'], $report_repos . '/' . str_replace('/', '.', $r['report_name'])) . '</li>';
......
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