Skip to content
Snippets Groups Projects
Commit f5f90b62 authored by Robin Wood's avatar Robin Wood
Browse files

Merge branch 'help_external_script' into csp

parents 8c1da8bc 6d2d199d
Branches
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ function dvwaHtmlEcho( $pPage ) {
foreach( $menuBlock as $menuItem ) {
$selectedClass = ( $menuItem[ 'id' ] == $pPage[ 'page_id' ] ) ? 'selected' : '';
$fixedUrl = DVWA_WEB_PAGE_TO_ROOT.$menuItem[ 'url' ];
$menuBlockHtml .= "<li onclick=\"window.location='{$fixedUrl}'\" class=\"{$selectedClass}\"><a href=\"{$fixedUrl}\">{$menuItem[ 'name' ]}</a></li>\n";
$menuBlockHtml .= "<li class=\"{$selectedClass}\"><a href=\"{$fixedUrl}\">{$menuItem[ 'name' ]}</a></li>\n";
}
$menuHtml .= "<ul class=\"menuBlocks\">{$menuBlockHtml}</ul>";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment