2001-11-22 06:23:56 +00:00
|
|
|
<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>
|
2002-06-10 05:19:03 +00:00
|
|
|
<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");
|
2002-06-25 11:49:06 +00:00
|
|
|
choose_from_menu ($options, "newsitems", "$form->newsitems");
|
|
|
|
formerr($err["newsitems"]);
|
2002-06-10 05:19:03 +00:00
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2001-11-22 06:23:56 +00:00
|
|
|
<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>
|