2003-05-10 09:21:02 +00:00
|
|
|
<form method="post" action="site.php" name="form">
|
|
|
|
<table cellpadding=9 cellspacing=0 >
|
2001-11-22 06:23:56 +00:00
|
|
|
<tr valign=top>
|
2003-05-10 09:21:02 +00:00
|
|
|
<td align=right><P><?php print_string("fullsitename") ?>:</td>
|
|
|
|
<td><input type="text" name="fullname" size=50 value="<?php p($form->fullname) ?>">
|
|
|
|
<?php if (isset($err["fullname"])) formerr($err["fullname"]); ?>
|
2002-12-30 05:13:43 +00:00
|
|
|
</td>
|
2001-11-22 06:23:56 +00:00
|
|
|
</tr>
|
|
|
|
<tr valign=top>
|
2003-05-10 09:21:02 +00:00
|
|
|
<td align=right><P><?php print_string("shortsitename") ?>:</td>
|
|
|
|
<td><input type="text" name="shortname" size=50 value="<?php p($form->shortname) ?>">
|
|
|
|
<?php if (isset($err["shortname"])) formerr($err["shortname"]); ?>
|
2002-12-30 05:13:43 +00:00
|
|
|
</td>
|
2001-11-22 06:23:56 +00:00
|
|
|
</tr>
|
|
|
|
<tr valign=top>
|
2003-05-10 09:21:02 +00:00
|
|
|
<td align=right><P><?php print_string("frontpagedescription") ?>:</P><br />
|
|
|
|
<font size=1>
|
|
|
|
<?php helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?><br />
|
|
|
|
<?php helpbutton("html", get_string("helphtml"), "moodle", true, true) ?><br />
|
|
|
|
</font>
|
2002-08-13 15:40:07 +00:00
|
|
|
</td>
|
2003-05-10 09:21:02 +00:00
|
|
|
<td><textarea name=summary cols=50 rows=10 wrap=virtual><?php p($form->summary) ?></textarea>
|
|
|
|
<?php if (isset($err["summary"])) formerr($err["summary"]); ?>
|
2001-11-22 06:23:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2002-06-10 05:19:03 +00:00
|
|
|
<tr valign=top>
|
2003-05-10 09:21:02 +00:00
|
|
|
<td align=right><P><?php print_string("frontpageformat") ?>:</td>
|
2003-07-30 13:05:51 +00:00
|
|
|
<td><?php
|
|
|
|
$options = array("0" => get_string("frontpagenews"),
|
|
|
|
"1" => get_string("frontpagecourselist"),
|
|
|
|
"2" => get_string("frontpagecategorynames"));
|
|
|
|
choose_from_menu ($options, "frontpage", "$form->frontpage", "");
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign=top>
|
|
|
|
<td align=right><p><?php print_string("newsitemsnumber") ?>:</td>
|
2003-05-10 09:21:02 +00:00
|
|
|
<td><?php
|
2002-08-13 15:40:07 +00:00
|
|
|
$newsitem = get_string("newsitem");
|
|
|
|
$newsitems = get_string("newsitems");
|
2003-07-30 13:05:51 +00:00
|
|
|
$options = array("0" => "0 $newsitems",
|
2002-08-13 15:40:07 +00:00
|
|
|
"1" => "1 $newsitem",
|
|
|
|
"2" => "2 $newsitems",
|
|
|
|
"3" => "3 $newsitems",
|
|
|
|
"4" => "4 $newsitems",
|
|
|
|
"5" => "5 $newsitems",
|
|
|
|
"6" => "6 $newsitems",
|
|
|
|
"7" => "7 $newsitems",
|
|
|
|
"8" => "8 $newsitems",
|
|
|
|
"9" => "9 $newsitems",
|
|
|
|
"10" => "10 $newsitems");
|
|
|
|
choose_from_menu ($options, "newsitems", "$form->newsitems", "");
|
2002-06-10 05:19:03 +00:00
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2001-11-22 06:23:56 +00:00
|
|
|
<tr>
|
|
|
|
<td></td>
|
2003-05-10 09:21:02 +00:00
|
|
|
<td><input type="submit" value="<?php print_string("savechanges") ?>"></td>
|
2001-11-22 06:23:56 +00:00
|
|
|
</tr>
|
2003-05-10 09:21:02 +00:00
|
|
|
</table>
|
|
|
|
<input type="hidden" name="id" value="<?php p($form->id) ?>">
|
|
|
|
<input type="hidden" name="category" value="<?php p($form->category) ?>">
|
|
|
|
<input type="hidden" name="format" value="<?php p($form->format) ?>">
|
|
|
|
</form>
|