<?cs include:"super_util.cs" ?>

<?cs def:print_content() ?>
<fieldset>
 <legend>
   <?cs var:lang.super_list_usage_reports.page_title ?> <?cs var:current_time ?>
 </legend>

<table width="100%">
<tr><td align="center">
<table cellpadding="10">
<?cs each:grp = group ?>
 <tr>
   <td><b><?cs var:lang.super_list_usage_reports.group_label ?></b> <?cs var:grp.name ?> 
     (<a href="<?cs var:grp.describe_url ?>" title="<?cs var:lang.super_list_usage_reports.edit_group_description ?>" ><?cs if:grp.description ?><?cs var:grp.description ?><?cs else ?><?cs var:lang.super_list_usage_reports.no_description ?><?cs /if ?></a>)
   </td>
   <td><?cs if:grp.report_date && grp.view_report_url ?>
          <b><?cs var:lang.super_list_usage_reports.view_report_label ?></b> <a href="<?cs var:grp.view_report_url ?>" title="<?cs var:view_report_link_title ?>"><?cs var:grp.report_date ?></a> 
        <?cs else ?>
          <i><?cs var:lang.super_list_usage_reports.report_not_available ?></i>
        <?cs /if ?>
   </td>
   <td>
    <a href="<?cs var:grp.create_report_url ?>" title="<?cs var:lang.super_list_usage_reports.new_report_link_title ?>" onclick="return verify_new_report()"><?cs var:lang.super_list_usage_reports.new_report_link ?></a>
   </td>
 </tr>
<?cs /each ?>
</table>
</td></tr>
</table>
</fieldset>
<?cs /def ?>


<?cs call:html_header() ?>
   <head>
      <title><?cs var:lang.super_list_usage_reports.page_title ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <link rel="StyleSheet" href="<?cs var:image_path ?>super_template.css" type="text/css"  />
    <?cs call:addDoIMenu() ?>
   <script type="text/javascript">
     function verify_new_report()
      {
        return confirm('<?cs var:lang.super_list_usage_reports.javascript_verify_new_report ?>');
      }
   </script>
  </head>
<body>
 <div id="container">
  <?cs call:top_container() ?>
  <?cs call:doIMenu() ?>
  <div id="content">
   <?cs call:print_content() ?>
  </div>
</div>
</body>
</html>
<?cs call:runtime() ?>

