Skip to content

Commit

Permalink
Better button behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Aug 9, 2003
1 parent b800ac5 commit 3f26745
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mod/forum/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,14 @@
if (count($posts) == $perpage) {
$options = array();
$options["id"] = $course->id;
$options["search"] = urlencode($search);
$options["search"] = $search;
$options["page"] = $page+1;
$options["perpage"] = $perpage;
echo "<center>";
print_single_button("search.php", $options, get_string("searcholderposts", "forum"));
echo "</center>";
} else {
print_heading(get_string("nomorepostscontaining", "forum", $search));
}
}

Expand Down

0 comments on commit 3f26745

Please sign in to comment.