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

<?cs def:image_test() ?>
<p />
<fieldset>
<legend class="fieldset_legend"><?cs var:lang.config_test.image_test_title ?></legend>
<?cs var:lang.config_test.image_test_intro ?><p />
<center><img src="<?cs var:image_path ?>manhattan.gif"><br /><?cs var:lang.config_test.image_path_label ?> <?cs var:image_path ?>manhattan.gif</center>
</fieldset>
<?cs /def ?>



<?cs def:server_name_test() ?>
<p />
<fieldset>
<legend class="fieldset_legend"><?cs var:lang.config_test.server_name_title ?></legend>
<table border="0"
<tr><td align="right"><?cs var:lang.config_test.server_name_label ?></td><td><b><?cs var:CGI.ServerName ?></b></td></tr>
<tr><td align="right"><?cs var:lang.config_test.server_string_label ?></td><td><b><?cs var:server_string ?></b></td></tr>
<tr><td align="right"><?cs var:lang.config_test.bin_alias_label ?></td><td><b><?cs var:alias ?></b></td></tr>
<tr><td align="right"><?cs var:lang.config_test.sbin_alias_label ?></td><td><b><?cs var:sbin_alias ?></b></td></tr>
<tr><td colspan="2"></td></tr>
<tr><td align="right"><?cs var:lang.config_test.doorstep_label ?></td><td><a href="<?cs var:doorstep_url ?>"><?cs var:doorstep_url ?></a></td></tr>
<tr><td align="right"><?cs var:lang.config_test.super_doorstep_label ?></td><td><a href="<?cs var:super_doorstep_url ?>"><?cs var:super_doorstep_url ?></a></td></tr>
</table>

<?cs var:lang.config_test.server_name_fix ?>
</fieldset>
<?cs /def ?>



<?cs def:symlink_test() ?>
<p />
<fieldset>
<legend class="fieldset_legend"><?cs var:lang.config_test.symlink_title	 ?></legend>
<?cs var:lang.config_test.symlink_test_label ?><br />
<center><img src="<?cs var:symlink_test_image ?>"><br /><?cs var:lang.config_test.image_path_label ?> <?cs var:symlink_test_image ?></center>
<?cs var:lang.config_test.symlink_fix ?>
</fieldset>
<?cs /def ?>




<?cs def:spellchecker_test() ?>
<p />
<fieldset>
<legend class="fieldset_legend"><?cs var:lang.config_test.spell_check_title ?></legend>
 <form action="">
   <table>
     <tr>
       <td>
<textarea id="msg" name="msg" cols="50" rows="6">
Ths is a tst of the spling cheker.
Click the Check Spelling button!
</textarea>
      </td>
       <td valign="top"><input type="button" value="Check Spelling" onclick="openSpellChecker(document.forms[0].msg);" /></td>
     </tr>
    </table>
 </form>
<p><?cs var:lang.config_test.spell_program_label ?> <b><?cs var:aspell_command ?></b></p>
<?cs var:lang.config_test.spell_description ?>
</fieldset>
<?cs /def ?>

<?cs def:test_pdftohtml() ?>
<p>
<fieldset>
<legend class="fieldset_legend"><?cs var:lang.config_test.pdftohtml_title ?></legend>
<?cs var:lang.config_test.pdftohtml_description ?>
<pre>
<?cs var:pdftohtml ?>
</pre>
</fieldset>
<?cs /def ?>



<?cs def:dump_server_settings() ?>
<p>
<fieldset>
<legend class="fieldset_legend"><?cs var:lang.config_test.server_settings_title ?></legend>
<?cs var:lang.config_test.server_settings_description ?>
<pre>
<?cs each:item=CGI ?>
CGI.<?cs var:name(item) ?> = <?cs var:item ?>
<?cs /each ?>
</pre>
<p />
<pre>
<?cs each:item=HTTP ?>
HTTP.<?cs var:name(item) ?> = <?cs var:item ?>
<?cs /each ?>
</pre>

</fieldset>
<?cs /def ?>



<?cs def:next_step() ?>
<p>
<?cs var:lang.config_test.super_conf_description ?><br />
<h2 align="center">
<a href="<?cs var:super_conf_url ?>"><?cs var:super_conf_url ?></a>
</h3>
<p>
<?cs /def ?>





<?cs call:html_heading() ?>
<head>
<title><?cs var:lang.config_test.page_title ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="StyleSheet" href="<?cs var:image_path ?>common.css" type="text/css"  />

<script type="text/javascript" src="<?cs var:server_name ?><?cs var:image_path ?>spellChecker.js"></script>
<script type="text/javascript">
 function openSpellChecker(txt) 
         {
          var speller = new spellChecker( txt,'<?cs var:server_string ?><?cs var:image_path ?>spellchecker.html','<?cs var:server_string ?>/<?cs var:alias ?>/spellchecker' );
          speller.openChecker();
         }
</script>
</head>

<?cs call:define_body() ?>
<h1><?cs var:lang.config_test.page_title ?></h1>
<?cs call:image_test() ?>
<?cs call:server_name_test() ?>
<?cs call:symlink_test() ?>
<?cs call:spellchecker_test() ?>
<?cs call:test_pdftohtml() ?>
<?cs call:dump_server_settings() ?>
<?cs call:next_step() ?>
</body>
</html>
