what's one more cheap hack
This commit is contained in:
parent
767b34b71c
commit
42ee3becde
1
web.go
1
web.go
|
@ -526,6 +526,7 @@ func showhonker(w http.ResponseWriter, r *http.Request) {
|
||||||
name = html.EscapeString(name)
|
name = html.EscapeString(name)
|
||||||
msg := fmt.Sprintf(`honks by honker: <a href="%s" ref="noreferrer">%s</a>`, name, name)
|
msg := fmt.Sprintf(`honks by honker: <a href="%s" ref="noreferrer">%s</a>`, name, name)
|
||||||
templinfo := getInfo(r)
|
templinfo := getInfo(r)
|
||||||
|
templinfo["PageName"] = "honker"
|
||||||
templinfo["ServerMessage"] = template.HTML(msg)
|
templinfo["ServerMessage"] = template.HTML(msg)
|
||||||
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
||||||
honkpage(w, u, honks, templinfo)
|
honkpage(w, u, honks, templinfo)
|
||||||
|
|
Loading…
Reference in New Issue