<?cs include:"super_util.cs" ?>
<?cs def:print_content() ?>
     <fieldset>
      <legend><?cs var:lang.super_chg_crs_access.page_title ?></legend>
     <table border="1" cellspacing="0" cellpadding="2">
      <tr>
        <?cs each:this = lang.super_chg_crs_access.label ?>
           <th>
             <?cs var:this ?>
           </th>
        <?cs /each ?>
     </tr>
     <?cs each:chg = chg_course ?>
      <tr>
        <td><?cs var:chg.dirname ?></td>
        <?cs if:chg.read_ok ?>
         <td><?cs var:chg.course_no ?></td>
         <td><?cs var:chg.title ?></td>
         <td><?cs var:chg.instructor ?></td>
         <td><?cs var:chg.semester ?></td>
         <td><?cs var:lang.super_chg_crs_access.access[chg.orig_access] ?></td>
         <td><?cs var:lang.super_chg_crs_access.access[chg.access] ?></td>
        <?cs else ?>
         <td class="tr_error"><?cs var:lang.super_chg_crs_access.read_error ?></td>  
         <td>&nbsp;</td>  
         <td>&nbsp;</td>  
         <td>&nbsp;</td>  
         <td>&nbsp;</td>  
         <td>&nbsp;</td>  
        <?cs /if ?>
      </tr>
    <?cs /each ?>
  </table>    
</fieldset>
<?cs /def ?>

<?cs call:html_header() ?>
   <head>
      <title><?cs var:lang.super_chg_crs_access.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() ?> 
   </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() ?>
