eliminated the last amsterdam_ special variable, amsterdam_suppressLogin

This commit is contained in:
2026-02-10 21:42:49 -07:00
parent 2e7474168b
commit d827001329
5 changed files with 9 additions and 6 deletions
+3
View File
@@ -112,6 +112,9 @@ func AmSendPageData(ctxt echo.Context, amctxt AmContext, command string, data an
}
menus[1] = AmMenu("fixed")
amctxt.VarMap().Set("__leftMenus", menus)
if tmp := amctxt.GetScratch("frame_suppressLogin"); tmp != nil {
amctxt.VarMap().Set("__suppressLogin", true)
}
err = ctxt.Render(httprc, "frame.jet", amctxt)
default:
err = fmt.Errorf("AmSendPageData(): unknown rendering type: %s", command)