More Fix up html to conform to W3c standards - avoid duplicate id in nav menu

This commit is contained in:
Brian Read 2024-12-14 14:06:56 +00:00
parent 8e70adc797
commit c6eb08a727
4 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@
<!-- default +jquery --> <!-- default +jquery -->
<head> <head>
<title><%= $title %></title> <title><%= $title %></title>
<link rev="made" href="mailto:bugs%40koozali.org"> <link rel="made" href="mailto:bugs%40koozali.org">
<meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation"> <meta name="copyright" content="(head.tmpl)Copyright 2003-2004 Mitel Corporation">
%= stylesheet '/css/sme_core.css' %= stylesheet '/css/sme_core.css'
%= stylesheet '/css/sme_main.css' %= stylesheet '/css/sme_main.css'
@ -125,4 +125,4 @@
</body> </body>
</html> </html>

View File

@ -5,7 +5,7 @@
<!-- <a href='#' id='tognav' class='menu-title'>NAVIGATION</a> --> <!-- <a href='#' id='tognav' class='menu-title'>NAVIGATION</a> -->
<div id='menunav'> <div id='menunav'>
% my $cc = 1; % my $cc = 200;
% foreach my $h (sort { ($nav{$a}{'WEIGHT'}/$nav{$a}{'COUNT'}) % foreach my $h (sort { ($nav{$a}{'WEIGHT'}/$nav{$a}{'COUNT'})
% <=> ($nav{$b}{'WEIGHT'}/$nav{$b}{'COUNT'}) } keys %nav) { % <=> ($nav{$b}{'WEIGHT'}/$nav{$b}{'COUNT'}) } keys %nav) {
% %
@ -33,4 +33,4 @@
% } % }
</div> </div>
</div> </div>

View File

@ -5,7 +5,7 @@
<!-- ><div><a href='#' id='togadm' class='menu-title'>ADMINISTRATION</a></div> --> <!-- ><div><a href='#' id='togadm' class='menu-title'>ADMINISTRATION</a></div> -->
<div id='menuadm'> <div id='menuadm'>
% my $cc = 1; % my $cc = 100;
% foreach my $h (sort { ($nav{$a}{'WEIGHT'}/$nav{$a}{'COUNT'}) % foreach my $h (sort { ($nav{$a}{'WEIGHT'}/$nav{$a}{'COUNT'})
% <=> ($nav{$b}{'WEIGHT'}/$nav{$b}{'COUNT'}) } keys %nav) { % <=> ($nav{$b}{'WEIGHT'}/$nav{$b}{'COUNT'}) } keys %nav) {
<div><a href='#' class='section section-title'><%= $h %></a></div> <div><a href='#' class='section section-title'><%= $h %></a></div>
@ -35,4 +35,4 @@
% } % }
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@
<div id='usermenu'> <div id='usermenu'>
<a href='#' id='toguser' class='section section-title'>Current User (<%= session 'username' %>)</a> <a href='#' id='toguser' class='section section-title'>Current User (<%= session 'username' %>)</a>
<div id='menuuser'> <div id='menuuser'>
% my $cc = 1; % my $cc = 300;
% foreach my $h (sort { ($nav{$a}{'WEIGHT'}/$nav{$a}{'COUNT'}) % foreach my $h (sort { ($nav{$a}{'WEIGHT'}/$nav{$a}{'COUNT'})
% <=> ($nav{$b}{'WEIGHT'}/$nav{$b}{'COUNT'}) } keys %nav) { % <=> ($nav{$b}{'WEIGHT'}/$nav{$b}{'COUNT'}) } keys %nav) {
<!-- div class='section'><%= $h %></div --> <!-- div class='section'><%= $h %></div -->
@ -29,4 +29,4 @@
% } % }
</div> </div>
</div> </div>