A little bit of clean up

Fixed a few small XHTML validation errors
Fixed incorrect language string
Fixed empty latest bots block if no bot has visited the site
This commit is contained in:
Marc Alexander
2011-03-06 16:48:07 +01:00
parent 78fdac9161
commit 703a8e4c64
18 changed files with 92 additions and 81 deletions

5
root/portal/modules/portal_latest_bots.php Normal file → Executable file
View File

@@ -87,7 +87,10 @@ class portal_latest_bots_module
'LAST_VISITED_BOTS' => sprintf($user->lang['LAST_VISITED_BOTS'], $config['board3_last_visited_bots_number_' . $module_id]),
));
return 'latest_bots_side.html';
if(!empty($row))
{
return 'latest_bots_side.html';
}
}
function get_template_acp($module_id)