1 <form method=
"post" action=
"module.php" id=
"form">
3 <input type=
"hidden" name=
"sesskey" value=
"<?php echo $USER->sesskey ?>" />
5 <table cellpadding
="9" cellspacing
="0" >
7 <td align
="right">forum_displaymode
:</td
>
9 <?php
choose_from_menu ($FORUM_LAYOUT_MODES, "forum_displaymode", $CFG->forum_displaymode
, "", "", ""); ?>
12 <?php print_string("configdisplaymode", "forum") ?>
16 <td align=
"right">forum_replytouser:
</td>
20 $options[0] = get_string("no");
21 $options[1] = get_string("yes");
22 choose_from_menu ($options, "forum_replytouser", $CFG->forum_replytouser
, "", "", "");
26 <?php print_string("configreplytouser", "forum") ?>
30 <td align=
"right">forum_shortpost:
</td>
32 <input name=
"forum_shortpost" type=
"text" size=
"5" value=
"<?php p($CFG->forum_shortpost) ?>" />
35 <?php
print_string("configshortpost", "forum") ?>
39 <td align=
"right">forum_longpost:
</td>
41 <input name=
"forum_longpost" type=
"text" size=
"5" value=
"<?php p($CFG->forum_longpost) ?>" />
44 <?php
print_string("configlongpost", "forum") ?>
48 <td align=
"right">forum_manydiscussions:
</td>
50 <input name=
"forum_manydiscussions" type=
"text" size=
"5" value=
"<?php p($CFG->forum_manydiscussions) ?>" />
53 <?php
print_string("configmanydiscussions", "forum") ?>
57 <td align=
"right">forum_maxbytes:
</td>
59 $choices = get_max_upload_sizes($CFG->maxbytes
);
60 choose_from_menu ($choices, "forum_maxbytes", $CFG->forum_maxbytes
, "");
64 <?php print_string("configmaxbytes", "forum") ?>
69 <td align=
"right">forum_trackreadposts:
</td>
73 $options[0] = get_string("no");
74 $options[1] = get_string("yes");
75 choose_from_menu ($options, "forum_trackreadposts", $CFG->forum_trackreadposts
, "", "", "");
79 <?php print_string("configtrackreadposts", "forum") ?>
83 <td align=
"right">forum_oldpostdays:
</td>
85 <input name=
"forum_oldpostdays" type=
"text" size=
"5" value=
"<?php p($CFG->forum_oldpostdays) ?>" />
88 <?php
print_string("configoldpostdays", "forum") ?>
92 <td align=
"right">forum_usermarksread:
</td>
96 $options[0] = get_string("no");
97 $options[1] = get_string("yes");
98 choose_from_menu ($options, "forum_usermarksread", $CFG->forum_usermarksread
, "", "", "");
102 <?php print_string("configusermarksread", "forum") ?>
106 <td align=
"right">forum_cleanreadtime:
</td>
134 choose_from_menu ($options, "forum_cleanreadtime", $CFG->forum_cleanreadtime
, "", "", "");
138 <?php print_string("configcleanreadtime", "forum") ?>
143 <td align=
"right">forum_enablerssfeeds:
</td>
146 if (!isset($CFG->enablerssfeeds
) ||
$CFG->enablerssfeeds
== 0) {
150 $options[0] = get_string("no");
151 $options[1] = get_string("yes");
153 $forum_enablerssfeeds = false;
154 if (isset($CFG->forum_enablerssfeeds
) && $CFG->forum_enablerssfeeds
== 1) {
155 $forum_enablerssfeeds = true;
159 choose_from_menu ($options, "forum_enablerssfeeds", $forum_enablerssfeeds, "", "", "");
165 print_string("configenablerssfeeds","forum");
166 if (!isset($CFG->enablerssfeeds
) ||
$CFG->enablerssfeeds
== 0) {
167 print_string("configenablerssfeedsdisabled");
174 <td align=
"right">forum_enabletimedposts:
</td>
178 $options[0] = get_string("no");
179 $options[1] = get_string("yes");
180 choose_from_menu ($options, "forum_enabletimedposts", $CFG->forum_enabletimedposts
, "", "", "");
185 print_string("configenabletimedposts","forum");
191 <td colspan=
"3" align=
"center">
192 <input type=
"submit" value=
"<?php print_string("savechanges
") ?>" /></td
>