If you view a logfile, and you want to delete it, you have to search the link again in the list, and hit the remove link there.
I've added a remove link to enable removing the current logfile being viewed. I also added an anchor to the html, so if you view a logfile, you go to the correct spot on the page.
/admin/logs.php
Find:
$view .= "<tr><td colspan="3" class="autorow-header-1 bold">{$ubbt_lang['DETAILS']} $file</td></tr>";
Replace with:
$view .= "<tr><td colspan="2" class="autorow-header-1 bold">{$ubbt_lang['DETAILS']} <a name="show"></a>$file</td>";
$view .= "<td colspan="2" class="autorow-header-1 bold" align="right">";
$view .= "[<a href="{$config['BASE_URL']}/admin/logs.php?action=remove&file={$file}">{$ubbt_lang['REMOVE']}]</a></tr>";
open /templates/default/admin/logs.tmpl
Find:
[<a href="{$config['BASE_URL']}/admin/logs.php?action=view&file={$log[$i]['name']}">{$ubbt_lang['VIEW']}</a>] ·
replace with:
[<a href="{$config['BASE_URL']}/admin/logs.php?action=view&file={$log[$i]['name']}#show">{$ubbt_lang['VIEW']}</a>] ·