<script language="javascript" type="text/javascript">
  function omov(id, over) {
	document.getElementById('dat_' + id).style.backgroundColor = (over?"#F1F3F8":"#FFFFFF");
  }
  
  function checkAll(formID, boolean) {
	var formSet = document.forms[formID].getElementsByTagName('input');
	for (var i=0; i<formSet.length; i++) {
		formSet[i].checked = boolean;
	}
  }
  
</script>
	
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td colspan="3"><h2 align="center">Edit Dat files </h2></strong></td>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</strong></td>
  </tr>
  <tr>
    <td colspan="3" align="center">Questionaires</strong></td>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</strong></td>
  </tr>

<ZONE questionnaires enabled>
<LOOP questionnaires_list>
  <tr id="dat_{questionnaires.name}">
    <td onMouseOver="omov('{questionnaires.name}', 1);" onMouseOut="omov('{questionnaires.name}', 0);">{questionnaires.name}</td>
    <td onMouseOver="omov('{questionnaires.name}', 1);" onMouseOut="omov('{questionnaires.name}', 0);">{questionnaires.size} Kb </td>
    <td onMouseOver="omov('{questionnaires.name}', 1);" onMouseOut="omov('{questionnaires.name}', 0);"><a href="?L=admin.templates.editdat&amp;id={questionnaires.file}">Edit</a></td>
    </tr>
  <tr>
    <td height="1" colspan="3" bgcolor="#CCCCCC"><img src="{themePath}/images/frame/spacer.gif" alt="Spacer" height="1" /></td>
  </tr>
</LOOP questionnaires_list>
</ZONE questionnaires enabled>
<ZONE questionnaires disabled>
  <tr>
    <td colspan="3">&nbsp;</strong></td>
  </tr>

  <tr>
    <td colspan="3">No questionaires found</strong></td>
  </tr>
</ZONE questionnaires disabled>
  <tr>
    <td colspan="3">&nbsp;</strong></td>
  </tr>

  <tr>
    <td colspan="3" align="center">Other</strong></td>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</strong></td>
  </tr>


<ZONE other enabled>
<LOOP other_list>
  <tr id="dat_{other.name}">
    <td onMouseOver="omov('{other.name}', 1);" onMouseOut="omov('{other.name}', 0);">{other.name}</td>
    <td onMouseOver="omov('{other.name}', 1);" onMouseOut="omov('{other.name}', 0);">{other.size} Kb </td>
    <td onMouseOver="omov('{other.name}', 1);" onMouseOut="omov('{other.name}', 0);"><a href="?L=admin.templates.editdat&amp;id={other.file}">Edit</a></td>
    </tr>
  <tr>
    <td height="1" colspan="3" bgcolor="#CCCCCC"><img src="{themePath}/images/frame/spacer.gif" alt="Spacer" height="1" /></td>
  </tr>
</LOOP other_list>
</ZONE other enabled>
<ZONE other disabled>
  <tr>
    <td colspan="3">No files found</strong></td>
  </tr>
</ZONE other disabled>
</table>

<br /><br />
