<!-- $Id: get_closed_lists.tt2 6513 2010-06-14 16:15:41Z david.verdin $ -->

<div class="block">
<form name="myform" action="[% path_cgi %]" method="post">
<fieldset>
<strong>[%|loc%]Closed lists[%END%]</strong>
<table summary="[%|loc%]Closed lists[%END%]" class="table_style">
 <tr class="color4">
   <th><strong><a href="#" onclick="toggle_selection(document.myform.selected_lists);return false;" title="[%|loc%]Toggle Selection[%END%]">&laquo;&raquo;</a></strong></th>
   <th><strong>[%|loc%]list name[%END%]</strong></th>
   <th><strong>[%|loc%]list subject[%END%]</strong></th>
   <th><strong>[%|loc%]Requested by[%END%]</strong></th>
 </tr>

[% FOREACH list = closed %]
[% IF dark == '1' %]
  <tr>[% SET dark = 0 %]
[% ELSE %]
  <tr class="color0">[% SET dark = 1 %]
[% END %]

<td><input type="checkbox" name="selected_lists" value="[% list.key %]" /></td>
<td><a href="[% path_cgi %]/admin/[% list.key %]">[% list.key %]</a></td>
<td>[% list.value.subject %]</td>
<td>[% list.value.by %]</td>
</tr>
[% END %]
</table>
<input class="MainMenuLinks" type="button" value="[%|loc%]Toggle Selection[%END%]" onclick="toggle_selection(document.myform.selected_lists)" />
<input class="MainMenuLinks" type="submit" name="action_purge_list" value="[%|loc%]Purge selected lists[%END%]" />
</fieldset>
</form>
</div>

<!-- end get_closed_lists.tt2 -->
