[system] / trunk / wwmoodle / wwassignment / config.html Repository:
ViewVC logotype

View of /trunk/wwmoodle/wwassignment/config.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5109 - (download) (as text) (annotate)
Sun Jul 1 20:44:13 2007 UTC (12 years, 7 months ago) by mleventi
File size: 2830 byte(s)
Refactoring of some comments, Added Language Files, Quote Optimizations

    1 <?php
    2 // $Id$
    3 
    4     if( empty($CFG->wwassignment_webworkurl) ) {
    5         $CFG->wwassignment_webworkurl = "/webwork2";
    6     }
    7     if( empty($CFG->wwassignment_iframewidth) ) {
    8         $CFG->wwassignment_iframewidth = "95%";
    9     }
   10     if( empty($CFG->wwassignment_iframeheight) ) {
   11         $CFG->wwassignment_iframeheight = "500px";
   12     }
   13     if( empty($CFG->wwassignment_rpc_wsdl) ) {
   14         $CFG->wwassignment_rpc_wsdl = "HOSTNAME/webwork2_wsdl";
   15     }
   16     if( empty($CFG->wwassignment_rpc_key) ) {
   17         $CFG->wwassignment_rpc_key = "";
   18     }
   19 ?>
   20 <form method="post" action="module.php" name="form">
   21     <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>">
   22     <table cellpadding="9" cellspacing="0">
   23         <tr valign='top'>
   24             <td align="right"><label for='wwassignment_webworkurl'><b>wwassignment_webworkurl:</b></label></td>
   25             <td><input type='text' name='wwassignment_webworkurl' id='wwassignment_webworkurl' value="<?php p($CFG->wwassignment_webworkurl); ?>" size="30" /></td>
   26             <td><?php print_string('webwork_url', 'wwassignment'); ?></td>
   27         </tr>
   28         <tr valign='top'>
   29             <td align='right'><label for='wwassignment_iframewidth'><b>wwassignment_iframewidth:</b></label></td>
   30             <td><input type='text' name='wwassignment_iframewidth' id='wwassignment_iframewidth' value="<?php p($CFG->wwassignment_iframewidth); ?>" size="30" /></td>
   31             <td><?php print_string('iframe_width', 'wwassignment'); ?></td>
   32         </tr>
   33         <tr valign='top'>
   34             <td align='right'><label for='wwassignment_iframeheight'><b>wwassignment_iframeheight:</b></label></td>
   35             <td><input type='text' name='wwassignment_iframeheight' id='wwassignment_iframeheight' value="<?php p($CFG->wwassignment_iframeheight); ?>" size="30" /></td>
   36             <td><?php print_string('iframe_height', 'wwassignment'); ?></td>
   37         </tr>
   38         <tr valign='top'>
   39             <td align='right'><label for='wwassignment_rpc_wsdl'><b>wwassignment_rpc_wsdl:</b></label></td>
   40             <td><input type='text' name='wwassignment_rpc_wsdl' id='wwassignment_rpc_wsdl' value="<?php p($CFG->wwassignment_rpc_wsdl); ?>" size="30" /></td>
   41             <td><?php print_string('rpc_wsdl', 'wwassignment'); ?></td>
   42         </tr>
   43         <tr valign='top'>
   44             <td align='right'><label for='wwassignment_rpc_key'><b>wwassignment_rpc_key:</b></label></td>
   45             <td><input type='text' name='wwassignment_rpc_key' id='wwassignment_rpc_key' value="<?php p($CFG->wwassignment_rpc_key); ?>" size="30" /></td>
   46             <td><?php print_string('rpc_key', 'wwassignment'); ?></td>
   47         </tr>
   48         <tr>
   49             <td colspan="3" align="center"><input type="submit" value="<?php print_string("savechanges") ?>" /></td>
   50         </tr>
   51     </table>
   52 </form>

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9