[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 4175 - (download) (as text) (annotate)
Tue Jun 27 20:08:02 2006 UTC (13 years, 7 months ago) by gage
File size: 2636 byte(s)
Adding more files for wwassignment

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

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9