/* This file was automatically generated by the software. Please don't edit it as your changes may be overwritten at any moment. */ package main import "io" import "strconv" func init() { template_forums_handle = template_forums //o_template_forums_handle = template_forums ctemplates = append(ctemplates,"forums") tmpl_ptr_map["forums"] = &template_forums_handle tmpl_ptr_map["o_forums"] = template_forums } func template_forums(tmpl_forums_vars ForumsPage, w io.Writer) { w.Write([]byte(` ` + tmpl_forums_vars.Title + `
`)) if len(tmpl_forums_vars.NoticeList) != 0 { for _, item := range tmpl_forums_vars.NoticeList { w.Write([]byte(`
` + item + `
`)) } } w.Write([]byte(`
`)) if len(tmpl_forums_vars.ItemList) != 0 { for _, item := range tmpl_forums_vars.ItemList { w.Write([]byte(` `)) } } else { w.Write([]byte(`
You don't have access to any forums.
`)) } w.Write([]byte(`
`)) }