[%- USE L %]
[%- USE T8 %]
[%- USE HTML %]
+<h1>[% title %]</h1>
[% L.javascript_tag('show_history.js') %]
<form method=post action="[% script %]">
<input type=hidden name=type value="[% type %]">
<table width=100%>
- <tr>
- <th class=listtop>[% title %]</th>
- </tr>
- <tr height="5"></tr>
<tr>
<td>
<table width=100%>
<input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
[%- END %]
-<input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- IF ( id ) %]
+ <input type=button onclick="set_history_window([% id %], 'id');" name=history id=history value="[% 'history' | $T8 %]">
+[%- END %]
+
</form>