2002-06-20 15:15:22 +00:00
|
|
|
<form name="form" method="post" action="<?=$ME ?>">
|
|
|
|
<table cellpadding=5>
|
|
|
|
<tr>
|
|
|
|
<tr valign=top>
|
|
|
|
<td align=right><P><B>Forum Name:</B></P></TD>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="name" size=30 value="<? p($form->name) ?>">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign=top>
|
|
|
|
<td align=right><P><B>Type of Forum:</B></P></TD>
|
|
|
|
<td>
|
|
|
|
<?
|
|
|
|
$student = strtolower($course->student);
|
|
|
|
require("$CFG->dirroot/mod/forum/lib.php");
|
2002-08-02 09:50:53 +00:00
|
|
|
asort($FORUM_TYPES);
|
|
|
|
choose_from_menu($FORUM_TYPES, "type", $form->type);
|
2002-06-20 15:15:22 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign=top>
|
|
|
|
<td align=right><P><B>Forum Introduction:</B></P></TD>
|
|
|
|
<td>
|
|
|
|
<textarea name="intro" rows=4 cols=50 wrap="virtual"><? p($form->intro) ?></textarea>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr valign=top>
|
|
|
|
<td align=right><P><B>Can <?=$course->student?>s start new discussions?:</B></P></TD>
|
|
|
|
<td>
|
|
|
|
<input type=radio name=open value=1 <? if ($form->open == 1) echo "CHECKED"; ?> >Yes
|
|
|
|
<input type=radio name=open value=0 <? if ($form->open == 0) echo "CHECKED"; ?> >No
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td align=right><P><B>Will this forum contain assessments?:</B></P></TD>
|
|
|
|
<td>
|
|
|
|
<input type=radio name=assessed value=1 <? if ($form->assessed == 1) echo "CHECKED"; ?> >Yes
|
|
|
|
<input type=radio name=assessed value=0 <? if ($form->assessed == 0) echo "CHECKED"; ?> >No
|
|
|
|
</td>
|
|
|
|
</tr>
|
2002-07-31 14:19:35 +00:00
|
|
|
<tr>
|
|
|
|
<td align=right><P><B>Force everyone to be subscribed to this forum?:</B></P></TD>
|
|
|
|
<td>
|
|
|
|
<input type=radio name=forcesubscribe value=1 <? if ($form->forcesubscribe == 1) echo "CHECKED"; ?> >Yes
|
|
|
|
<input type=radio name=forcesubscribe value=0 <? if ($form->forcesubscribe == 0) echo "CHECKED"; ?> >No
|
|
|
|
</td>
|
|
|
|
</tr>
|
2002-06-20 15:15:22 +00:00
|
|
|
</table>
|
|
|
|
<CENTER>
|
|
|
|
<input type="hidden" name=course value="<? p($form->course) ?>">
|
|
|
|
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">
|
2002-06-25 11:49:06 +00:00
|
|
|
<input type="hidden" name=section value="<? p($form->section) ?>">
|
2002-06-20 15:15:22 +00:00
|
|
|
<input type="hidden" name=module value="<? p($form->module) ?>">
|
|
|
|
<input type="hidden" name=modulename value="<? p($form->modulename) ?>">
|
|
|
|
<input type="hidden" name=instance value="<? p($form->instance) ?>">
|
|
|
|
<input type="hidden" name=mode value="<? p($form->mode) ?>">
|
|
|
|
<input type="submit" value="Save these settings">
|
|
|
|
</CENTER>
|
|
|
|
</FORM>
|