<form name="form" method="post" action="mod.php">
<table cellpadding="5">
<tr valign="top">
- <td align="right"><p><b><?php print_string("forumname", "forum")?>:</b></p></td>
+ <td align="right"><b><?php print_string("forumname", "forum")?>:</b></td>
<td>
<input type="text" name="name" size="30" value="<?php p($form->name) ?>" />
</td>
</tr>
<tr valign="top">
- <td align="right"><p><b><?php print_string("forumtype", "forum")?>:</b></p></td>
+ <td align="right"><b><?php print_string("forumtype", "forum")?>:</b></td>
<td>
<?php
$student = strtolower($course->student);
</td>
</tr>
<tr valign="top">
- <td align="right"><p><b><?php print_string("forumintro", "forum")?>:</b></p>
+ <td align="right"><b><?php print_string("forumintro", "forum")?>:</b><br />
<font size="1">
<?php
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
</tr>
<tr valign="top">
- <td align="right"><p><b><?php print_string("allowdiscussions", "forum", strtolower("$course->student")) ?>:</b></p></td>
+ <td align="right"><b><?php print_string("allowdiscussions", "forum", strtolower("$course->student")) ?>:</b></td>
<td>
<?php
choose_from_menu($FORUM_OPEN_MODES, "open", $form->open, "");
</td>
</tr>
<tr>
- <td align="right"><p><b><?php print_string("forcesubscribeq", "forum") ?>:</b></p></td>
+ <td align="right"><b><?php print_string("forcesubscribeq", "forum") ?>:</b></td>
<td>
<?php
unset($options);
</td>
</tr>
<tr valign="top">
- <td align="right"><p><b><?php print_string("maxattachmentsize", "forum") ?>:</b></p></td>
+ <td align="right"><b><?php print_string("maxattachmentsize", "forum") ?>:</b></td>
<td>
<?php
$choices = get_max_upload_sizes($CFG->maxbytes, $course->maxbytes);
//Only show rss parameters if rss is activated at site and forum levels
if ($CFG->enablerssfeeds && $CFG->forum_enablerssfeeds) {
echo "<tr valign=\"top\">";
- echo "<td align=\"right\"><p><b>".get_string("rsstype").":</b></p></td>";
+ echo "<td align=\"right\"><b>".get_string("rsstype").":</b></td>";
echo "<td>";
unset($choices);
$choices[0] = get_string("none");
echo "</tr>";
echo "<tr valign=\"top\">";
- echo "<td align=\"right\"><p><b>".get_string("rssarticles").":</b></p></td>";
+ echo "<td align=\"right\"><b>".get_string("rssarticles").":</b></td>";
echo "<td>";
unset($choices);
$choices[0] = "0";
}
?>
<tr>
- <td align="right" valign="top"><p><b><?php print_string("allowratings", "forum") ?>:</b></p></td>
+ <td align="right" valign="top"><b><?php print_string("allowratings", "forum") ?>:</b></td>
<td>
<?php
echo "<script type=\"text/javascript\">";
<form name="theform" method="post" action="post.php" enctype="multipart/form-data">
<table border="0" cellpadding="5">
<tr valign="top">
- <td align="right"><p><b><?php print_string("subject", "forum"); ?>:</b></p></td>
+ <td align="right"><b><?php print_string("subject", "forum"); ?>:</b></td>
<td>
- <input type="text" name="subject" size="60" value="<?php p($post->subject) ?>" />
+ <input type="text" name="subject" size="60" value="<?php p($post->subject) ?>" alt="<?php print_string("subject", "forum"); ?>" />
</td>
</tr>
<tr valign="top">
- <td align="right"><p><b>
+ <td align="right"><b>
<?php print_string("message", "forum"); ?>:
- </b></p></td>
+ </b></td>
<td align="left" rowspan="2">
<?php print_textarea($usehtmleditor, 25, 65, 630, 400, "message", $post->message); ?>
</td>
<tr valign="top">
- <td align="right"><p><b><?php print_string("formattexttype"); ?>:</b></p></td>
+ <td align="right"><b><?php print_string("formattexttype"); ?>:</b></td>
<td>
<?php
if ($usehtmleditor) { /// Trying this out for a while
<tr valign="top">
- <td align="right"><p><b><?php print_string("subscription", "forum") ?>:</b></p></td>
+ <td align="right"><b><?php print_string("subscription", "forum") ?>:</b></td>
<td>
<?php
if (forum_is_forcesubscribed($forum->id)) {
<?php if ($forum->maxbytes != 1) { // 1 = No attachments at all ?>
<tr valign="top">
- <td align="right"><p><b><?php print_string("attachment", "forum") ?>:<br />(<?php print_string("optional") ?>) </b></p></td>
+ <td align="right"><b><?php print_string("attachment", "forum") ?>:<br />(<?php print_string("optional") ?>) </b></td>
<td>
<?php $maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes, $forum->maxbytes); ?>
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $maxbytes ?>" />
- <input type="file" name="attachment" size="40" />
+ <input type="file" name="attachment" size="40" alt="<?php print_string("attachment", "forum") ?>" />
<?php
helpbutton("attachment", get_string("attachment", "forum"), "forum");
print_string("maxsize", "", display_size($maxbytes));
if ($course->category) {
print_header("$course->shortname: $discussion->name: $toppost->subject", "$course->fullname",
- "<a href=../../course/view.php?id=$course->id>$course->shortname</a> ->
+ "<a href=\"../../course/view.php?id=$course->id\">$course->shortname</a> ->
$navmiddle -> $navtail", $formstart, "", true, "", navmenu($course, $cm));
} else {
print_header("$course->shortname: $discussion->name: $toppost->subject", "$course->fullname",