Skip to content

Commit

Permalink
Merge branch 'MDL-33996-forum-advanced-timestamp' of git://github.com…
Browse files Browse the repository at this point in the history
…/mudrd8mz/moodle
  • Loading branch information
danpoltawski committed Feb 21, 2013
2 parents 72c70f9 + 15f8317 commit fc7d3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion mod/forum/lang/en/forum.php
Expand Up @@ -281,7 +281,6 @@
$string['noposts'] = 'No posts';
$string['nopostsmadebyuser'] = '{$a} has made no posts';
$string['nopostsmadebyyou'] = 'You haven\'t made any posts';
$string['nopostscontaining'] = 'No posts containing \'{$a}\' were found';
$string['noquestions'] = 'There are no questions yet in this forum';
$string['nosubscribers'] = 'There are no subscribers yet for this forum';
$string['notexists'] = 'Discussion no longer exists';
Expand Down
4 changes: 2 additions & 2 deletions mod/forum/search.php
Expand Up @@ -141,12 +141,12 @@
$searchform = forum_search_form($course, $search);

$PAGE->navbar->add($strsearch, new moodle_url('/mod/forum/search.php', array('id'=>$course->id)));
$PAGE->navbar->add(s($search, true));
$PAGE->navbar->add($strsearchresults);
if (!$posts = forum_search_posts($searchterms, $course->id, $page*$perpage, $perpage, $totalcount)) {
$PAGE->set_title($strsearchresults);
$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string("nopostscontaining", "forum", $search));
echo $OUTPUT->heading(get_string("noposts", "forum"));

if (!$individualparams) {
$words = $search;
Expand Down

0 comments on commit fc7d3fd

Please sign in to comment.