moodle/admin/site.html
martin b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00

48 lines
1.6 KiB
HTML

<FORM METHOD="post" action="site.php" NAME="form">
<TABLE cellpadding=9 cellspacing=0 >
<tr valign=top>
<td><P>Full site name:</td>
<td><input type="text" name="fullname" size=50 value="<? p($form->fullname) ?>">
<? formerr($err["fullname"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Short name for site (eg single word):</td>
<td><input type="text" name="shortname" size=50 value="<? p($form->shortname) ?>">
<? formerr($err["shortname"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Front page description:</td>
<td><TEXTAREA NAME=summary COLS=50 ROWS=10 WRAP=virtual><? p($form->summary) ?></TEXTAREA>
<? formerr($err["summary"]) ?>
</td>
</tr>
<tr valign=top>
<td><P>Front page format:</td>
<td><?
$options = array("0" => "Show list of courses",
"1" => "1 news item",
"2" => "2 news items",
"3" => "3 news items",
"4" => "4 news items",
"5" => "5 news items",
"6" => "6 news items",
"7" => "7 news items",
"8" => "8 news items",
"9" => "9 news items",
"10" => "10 news items");
choose_from_menu ($options, "newsitems", "$form->newsitems");
formerr($err["newsitems"]);
?>
</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Update the site"></td>
</tr>
</TABLE>
<INPUT type="hidden" name="id" value="<?=$form->id ?>">
<INPUT type="hidden" name="category" value="<?=$form->category ?>">
</FORM>