a quick little bug fix, to the orphaned li tag (which shows as an extra bullet point) at the bottom of the pages list on the sitemap, if you have chosen to exclude all info boxes from the sitemap list
in dynamic_sitemap.php about line 273 change the box files section from
// Box Files
for ($b = 0; $b < count($boxHeading); ++$B)
{
echo '<li>'.$boxHeading[$b]['heading'][$b];
$nb_elements = count($boxHeading[$b]['filename']);
if($nb_elements > 0)
{
if (tep_not_null($boxHeading[$b]['filename'][0]))
{
echo '<ul>';
for ($f = 0; $f < $nb_elements ; ++$f)
if (tep_not_null($boxHeading[$b]['filename'][$f]))
echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>';
echo '</ul>';
}
}
echo '</li>';
}
to
// Box Files
for ($b = 0; $b < count($files['name']); ++$B)
{
echo '<li><a title="'. $files['name'][$b] .'" href="' . tep_href_link($files['path'][$b]) . '">' . $files['name'][$b] . '</a></li>';
}
// Box Files
for ($b = 0; $b < count($boxHeading); ++$B)
{
$nb_elements = count($boxHeading[$b]['filename']);
if($nb_elements > 0)
{
echo '<li>'.$boxHeading[$b]['heading'][$b];
if (tep_not_null($boxHeading[$b]['filename'][0]))
{
echo '<ul>';
for ($f = 0; $f < $nb_elements ; ++$f)
if (tep_not_null($boxHeading[$b]['filename'][$f]))
echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>';
echo '</ul>';
}
echo '</li>';
}
}