mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-05 03:18:44 +00:00
Switch to html/template
This commit is contained in:
parent
c390a0c327
commit
2d49ff9fb4
12 changed files with 31 additions and 25 deletions
|
@ -711,7 +711,7 @@ func (s *service) UserSearchPage(c *client,
|
|||
if len(results.Statuses) == 20 {
|
||||
offset += 20
|
||||
nextLink = fmt.Sprintf("/usersearch/%s?q=%s&offset=%d", id,
|
||||
url.QueryEscape(q), offset)
|
||||
q, offset)
|
||||
}
|
||||
|
||||
if len(q) > 0 {
|
||||
|
@ -770,7 +770,7 @@ func (s *service) SearchPage(c *client,
|
|||
(qType == "statuses" && len(results.Statuses) == 20) {
|
||||
offset += 20
|
||||
nextLink = fmt.Sprintf("/search?q=%s&type=%s&offset=%d",
|
||||
url.QueryEscape(q), qType, offset)
|
||||
q, qType, offset)
|
||||
}
|
||||
|
||||
if len(q) > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue