From 7f6c1bada25371e1d0e8611ab3880d32d7baaf89 Mon Sep 17 00:00:00 2001 From: Azareal Date: Sat, 23 Feb 2019 17:47:42 +1000 Subject: [PATCH] Added the topics_search phrase. --- langs/english.json | 1 + routes/topic_list.go | 1 + 2 files changed, 2 insertions(+) diff --git a/langs/english.json b/langs/english.json index 01155052..1f0dabc1 100644 --- a/langs/english.json +++ b/langs/english.json @@ -121,6 +121,7 @@ "overview":"Overview", "page":"Page", "topics":"All Topics", + "topics_search":"Search Results", "forums":"Forum List", "create_topic":"Create Topic", "login":"Login", diff --git a/routes/topic_list.go b/routes/topic_list.go index 339aa639..1b47a6e1 100644 --- a/routes/topic_list.go +++ b/routes/topic_list.go @@ -162,6 +162,7 @@ func TopicListCommon(w http.ResponseWriter, r *http.Request, user common.User, h return nil } + header.Title = phrases.GetTitlePhrase("topics_search") pi := common.TopicListPage{header, topicList, forumList, common.Config.DefaultForum, common.TopicListSort{torder, false}, paginator} return renderTemplate("topics", w, r, header, pi) }