// Code generated by qtc from "stuff.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line views/stuff.qtpl:1 package views //line views/stuff.qtpl:1 import "fmt" //line views/stuff.qtpl:2 import "path/filepath" //line views/stuff.qtpl:3 import "sort" //line views/stuff.qtpl:5 import "github.com/bouncepaw/mycorrhiza/cfg" //line views/stuff.qtpl:6 import "github.com/bouncepaw/mycorrhiza/hyphae" //line views/stuff.qtpl:7 import "github.com/bouncepaw/mycorrhiza/user" //line views/stuff.qtpl:8 import "github.com/bouncepaw/mycorrhiza/util" //line views/stuff.qtpl:9 import "github.com/bouncepaw/mycorrhiza/l18n" //line views/stuff.qtpl:11 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line views/stuff.qtpl:11 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line views/stuff.qtpl:11 func StreamBaseHTML(qw422016 *qt422016.Writer, title, body string, lc *l18n.Localizer, u *user.User, headElements ...string) { //line views/stuff.qtpl:11 qw422016.N().S(` `) //line views/stuff.qtpl:17 qw422016.E().S(title) //line views/stuff.qtpl:17 qw422016.N().S(` `) //line views/stuff.qtpl:21 for _, el := range headElements { //line views/stuff.qtpl:21 qw422016.N().S(el) //line views/stuff.qtpl:21 } //line views/stuff.qtpl:21 qw422016.N().S(`
`) //line views/stuff.qtpl:69 qw422016.N().S(body) //line views/stuff.qtpl:69 qw422016.N().S(` `) //line views/stuff.qtpl:81 StreamCommonScripts(qw422016) //line views/stuff.qtpl:81 qw422016.N().S(` `) //line views/stuff.qtpl:85 } //line views/stuff.qtpl:85 func WriteBaseHTML(qq422016 qtio422016.Writer, title, body string, lc *l18n.Localizer, u *user.User, headElements ...string) { //line views/stuff.qtpl:85 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:85 StreamBaseHTML(qw422016, title, body, lc, u, headElements...) //line views/stuff.qtpl:85 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:85 } //line views/stuff.qtpl:85 func BaseHTML(title, body string, lc *l18n.Localizer, u *user.User, headElements ...string) string { //line views/stuff.qtpl:85 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:85 WriteBaseHTML(qb422016, title, body, lc, u, headElements...) //line views/stuff.qtpl:85 qs422016 := string(qb422016.B) //line views/stuff.qtpl:85 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:85 return qs422016 //line views/stuff.qtpl:85 } //line views/stuff.qtpl:87 func StreamTitleSearchHTML(qw422016 *qt422016.Writer, query string, generator func(string) <-chan string, lc *l18n.Localizer) { //line views/stuff.qtpl:87 qw422016.N().S(`

`) //line views/stuff.qtpl:90 qw422016.E().S(lc.Get("ui.search_results_query", &l18n.Replacements{"query": query})) //line views/stuff.qtpl:90 qw422016.N().S(`

`) //line views/stuff.qtpl:91 qw422016.E().S(lc.Get("ui.search_results_desc")) //line views/stuff.qtpl:91 qw422016.N().S(`

`) //line views/stuff.qtpl:100 } //line views/stuff.qtpl:100 func WriteTitleSearchHTML(qq422016 qtio422016.Writer, query string, generator func(string) <-chan string, lc *l18n.Localizer) { //line views/stuff.qtpl:100 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:100 StreamTitleSearchHTML(qw422016, query, generator, lc) //line views/stuff.qtpl:100 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:100 } //line views/stuff.qtpl:100 func TitleSearchHTML(query string, generator func(string) <-chan string, lc *l18n.Localizer) string { //line views/stuff.qtpl:100 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:100 WriteTitleSearchHTML(qb422016, query, generator, lc) //line views/stuff.qtpl:100 qs422016 := string(qb422016.B) //line views/stuff.qtpl:100 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:100 return qs422016 //line views/stuff.qtpl:100 } // It outputs a poorly formatted JSON, but it works and is valid. //line views/stuff.qtpl:103 func StreamTitleSearchJSON(qw422016 *qt422016.Writer, query string, generator func(string) <-chan string) { //line views/stuff.qtpl:103 qw422016.N().S(` `) //line views/stuff.qtpl:105 // Lol counter := 0 //line views/stuff.qtpl:107 qw422016.N().S(` { "source_query": "`) //line views/stuff.qtpl:109 qw422016.E().S(query) //line views/stuff.qtpl:109 qw422016.N().S(`", "results": [ `) //line views/stuff.qtpl:111 for hyphaName := range generator(query) { //line views/stuff.qtpl:111 qw422016.N().S(` `) //line views/stuff.qtpl:112 if counter > 0 { //line views/stuff.qtpl:112 qw422016.N().S(`, `) //line views/stuff.qtpl:112 } //line views/stuff.qtpl:112 qw422016.N().S(`{ "canonical_name": "`) //line views/stuff.qtpl:113 qw422016.E().S(hyphaName) //line views/stuff.qtpl:113 qw422016.N().S(`", "beautiful_name": "`) //line views/stuff.qtpl:114 qw422016.E().S(util.BeautifulName(hyphaName)) //line views/stuff.qtpl:114 qw422016.N().S(`", "url": "`) //line views/stuff.qtpl:115 qw422016.E().S(cfg.URL + "/hypha/" + hyphaName) //line views/stuff.qtpl:115 qw422016.N().S(`" }`) //line views/stuff.qtpl:116 counter++ //line views/stuff.qtpl:116 qw422016.N().S(` `) //line views/stuff.qtpl:117 } //line views/stuff.qtpl:117 qw422016.N().S(` ] } `) //line views/stuff.qtpl:120 } //line views/stuff.qtpl:120 func WriteTitleSearchJSON(qq422016 qtio422016.Writer, query string, generator func(string) <-chan string) { //line views/stuff.qtpl:120 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:120 StreamTitleSearchJSON(qw422016, query, generator) //line views/stuff.qtpl:120 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:120 } //line views/stuff.qtpl:120 func TitleSearchJSON(query string, generator func(string) <-chan string) string { //line views/stuff.qtpl:120 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:120 WriteTitleSearchJSON(qb422016, query, generator) //line views/stuff.qtpl:120 qs422016 := string(qb422016.B) //line views/stuff.qtpl:120 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:120 return qs422016 //line views/stuff.qtpl:120 } //line views/stuff.qtpl:122 func StreamBacklinksHTML(qw422016 *qt422016.Writer, hyphaName string, generator func(string) <-chan string, lc *l18n.Localizer) { //line views/stuff.qtpl:122 qw422016.N().S(`

`) //line views/stuff.qtpl:125 qw422016.N().S(lc.Get( "ui.backlinks_heading", &l18n.Replacements{ "hypha_link": fmt.Sprintf( `%s`, hyphaName, util.BeautifulName(hyphaName), ), }, )) //line views/stuff.qtpl:134 qw422016.N().S(`

`) //line views/stuff.qtpl:135 qw422016.E().S(lc.Get("ui.backlinks_desc")) //line views/stuff.qtpl:135 qw422016.N().S(`

`) //line views/stuff.qtpl:145 } //line views/stuff.qtpl:145 func WriteBacklinksHTML(qq422016 qtio422016.Writer, hyphaName string, generator func(string) <-chan string, lc *l18n.Localizer) { //line views/stuff.qtpl:145 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:145 StreamBacklinksHTML(qw422016, hyphaName, generator, lc) //line views/stuff.qtpl:145 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:145 } //line views/stuff.qtpl:145 func BacklinksHTML(hyphaName string, generator func(string) <-chan string, lc *l18n.Localizer) string { //line views/stuff.qtpl:145 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:145 WriteBacklinksHTML(qb422016, hyphaName, generator, lc) //line views/stuff.qtpl:145 qs422016 := string(qb422016.B) //line views/stuff.qtpl:145 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:145 return qs422016 //line views/stuff.qtpl:145 } //line views/stuff.qtpl:147 func StreamHelpHTML(qw422016 *qt422016.Writer, content, lang string, lc *l18n.Localizer) { //line views/stuff.qtpl:147 qw422016.N().S(`
`) //line views/stuff.qtpl:151 qw422016.N().S(content) //line views/stuff.qtpl:151 qw422016.N().S(`
`) //line views/stuff.qtpl:154 qw422016.N().S(helpTopicsHTML(lang, lc)) //line views/stuff.qtpl:154 qw422016.N().S(`
`) //line views/stuff.qtpl:156 } //line views/stuff.qtpl:156 func WriteHelpHTML(qq422016 qtio422016.Writer, content, lang string, lc *l18n.Localizer) { //line views/stuff.qtpl:156 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:156 StreamHelpHTML(qw422016, content, lang, lc) //line views/stuff.qtpl:156 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:156 } //line views/stuff.qtpl:156 func HelpHTML(content, lang string, lc *l18n.Localizer) string { //line views/stuff.qtpl:156 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:156 WriteHelpHTML(qb422016, content, lang, lc) //line views/stuff.qtpl:156 qs422016 := string(qb422016.B) //line views/stuff.qtpl:156 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:156 return qs422016 //line views/stuff.qtpl:156 } //line views/stuff.qtpl:158 func StreamHelpEmptyErrorHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:158 qw422016.N().S(`

`) //line views/stuff.qtpl:159 qw422016.E().S(lc.Get("help.empty_error_title")) //line views/stuff.qtpl:159 qw422016.N().S(`

`) //line views/stuff.qtpl:160 qw422016.E().S(lc.Get("help.empty_error_line_1")) //line views/stuff.qtpl:160 qw422016.N().S(`

`) //line views/stuff.qtpl:161 qw422016.E().S(lc.Get("help.empty_error_line_2a")) //line views/stuff.qtpl:161 qw422016.N().S(` `) //line views/stuff.qtpl:161 qw422016.E().S(lc.Get("help.empty_error_link")) //line views/stuff.qtpl:161 qw422016.N().S(` `) //line views/stuff.qtpl:161 qw422016.E().S(lc.Get("help.empty_error_line_2b")) //line views/stuff.qtpl:161 qw422016.N().S(`

`) //line views/stuff.qtpl:162 } //line views/stuff.qtpl:162 func WriteHelpEmptyErrorHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:162 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:162 StreamHelpEmptyErrorHTML(qw422016, lc) //line views/stuff.qtpl:162 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:162 } //line views/stuff.qtpl:162 func HelpEmptyErrorHTML(lc *l18n.Localizer) string { //line views/stuff.qtpl:162 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:162 WriteHelpEmptyErrorHTML(qb422016, lc) //line views/stuff.qtpl:162 qs422016 := string(qb422016.B) //line views/stuff.qtpl:162 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:162 return qs422016 //line views/stuff.qtpl:162 } //line views/stuff.qtpl:164 func streamhelpTopicsHTML(qw422016 *qt422016.Writer, lang string, lc *l18n.Localizer) { //line views/stuff.qtpl:164 qw422016.N().S(` `) //line views/stuff.qtpl:198 } //line views/stuff.qtpl:198 func writehelpTopicsHTML(qq422016 qtio422016.Writer, lang string, lc *l18n.Localizer) { //line views/stuff.qtpl:198 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:198 streamhelpTopicsHTML(qw422016, lang, lc) //line views/stuff.qtpl:198 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:198 } //line views/stuff.qtpl:198 func helpTopicsHTML(lang string, lc *l18n.Localizer) string { //line views/stuff.qtpl:198 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:198 writehelpTopicsHTML(qb422016, lang, lc) //line views/stuff.qtpl:198 qs422016 := string(qb422016.B) //line views/stuff.qtpl:198 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:198 return qs422016 //line views/stuff.qtpl:198 } //line views/stuff.qtpl:200 func streamhelpTopicBadgeHTML(qw422016 *qt422016.Writer, lang, topic string) { //line views/stuff.qtpl:200 qw422016.N().S(` ? `) //line views/stuff.qtpl:202 } //line views/stuff.qtpl:202 func writehelpTopicBadgeHTML(qq422016 qtio422016.Writer, lang, topic string) { //line views/stuff.qtpl:202 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:202 streamhelpTopicBadgeHTML(qw422016, lang, topic) //line views/stuff.qtpl:202 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:202 } //line views/stuff.qtpl:202 func helpTopicBadgeHTML(lang, topic string) string { //line views/stuff.qtpl:202 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:202 writehelpTopicBadgeHTML(qb422016, lang, topic) //line views/stuff.qtpl:202 qs422016 := string(qb422016.B) //line views/stuff.qtpl:202 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:202 return qs422016 //line views/stuff.qtpl:202 } //line views/stuff.qtpl:204 func StreamUserListHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:204 qw422016.N().S(`

`) //line views/stuff.qtpl:207 qw422016.E().S(lc.Get("ui.users_heading")) //line views/stuff.qtpl:207 qw422016.N().S(`

`) //line views/stuff.qtpl:209 var ( admins = make([]string, 0) moderators = make([]string, 0) editors = make([]string, 0) ) for u := range user.YieldUsers() { switch u.Group { case "admin": admins = append(admins, u.Name) case "moderator": moderators = append(moderators, u.Name) case "editor", "trusted": editors = append(editors, u.Name) } } sort.Strings(admins) sort.Strings(moderators) sort.Strings(editors) //line views/stuff.qtpl:227 qw422016.N().S(`

`) //line views/stuff.qtpl:229 qw422016.E().S(lc.Get("ui.users_admins")) //line views/stuff.qtpl:229 qw422016.N().S(`

    `) //line views/stuff.qtpl:230 for _, name := range admins { //line views/stuff.qtpl:230 qw422016.N().S(`
  1. `) //line views/stuff.qtpl:231 qw422016.E().S(name) //line views/stuff.qtpl:231 qw422016.N().S(`
  2. `) //line views/stuff.qtpl:232 } //line views/stuff.qtpl:232 qw422016.N().S(`

`) //line views/stuff.qtpl:235 qw422016.E().S(lc.Get("ui.users_moderators")) //line views/stuff.qtpl:235 qw422016.N().S(`

    `) //line views/stuff.qtpl:236 for _, name := range moderators { //line views/stuff.qtpl:236 qw422016.N().S(`
  1. `) //line views/stuff.qtpl:237 qw422016.E().S(name) //line views/stuff.qtpl:237 qw422016.N().S(`
  2. `) //line views/stuff.qtpl:238 } //line views/stuff.qtpl:238 qw422016.N().S(`

`) //line views/stuff.qtpl:241 qw422016.E().S(lc.Get("ui.users_editors")) //line views/stuff.qtpl:241 qw422016.N().S(`

    `) //line views/stuff.qtpl:242 for _, name := range editors { //line views/stuff.qtpl:242 qw422016.N().S(`
  1. `) //line views/stuff.qtpl:243 qw422016.E().S(name) //line views/stuff.qtpl:243 qw422016.N().S(`
  2. `) //line views/stuff.qtpl:244 } //line views/stuff.qtpl:244 qw422016.N().S(`
`) //line views/stuff.qtpl:248 } //line views/stuff.qtpl:248 func WriteUserListHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:248 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:248 StreamUserListHTML(qw422016, lc) //line views/stuff.qtpl:248 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:248 } //line views/stuff.qtpl:248 func UserListHTML(lc *l18n.Localizer) string { //line views/stuff.qtpl:248 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:248 WriteUserListHTML(qb422016, lc) //line views/stuff.qtpl:248 qs422016 := string(qb422016.B) //line views/stuff.qtpl:248 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:248 return qs422016 //line views/stuff.qtpl:248 } //line views/stuff.qtpl:250 func StreamHyphaListHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:250 qw422016.N().S(`

`) //line views/stuff.qtpl:253 qw422016.E().S(lc.Get("ui.list_heading")) //line views/stuff.qtpl:253 qw422016.N().S(`

`) //line views/stuff.qtpl:254 qw422016.E().S(lc.GetPlural("ui.list_desc", hyphae.Count())) //line views/stuff.qtpl:254 qw422016.N().S(`

`) //line views/stuff.qtpl:276 } //line views/stuff.qtpl:276 func WriteHyphaListHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:276 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:276 StreamHyphaListHTML(qw422016, lc) //line views/stuff.qtpl:276 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:276 } //line views/stuff.qtpl:276 func HyphaListHTML(lc *l18n.Localizer) string { //line views/stuff.qtpl:276 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:276 WriteHyphaListHTML(qb422016, lc) //line views/stuff.qtpl:276 qs422016 := string(qb422016.B) //line views/stuff.qtpl:276 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:276 return qs422016 //line views/stuff.qtpl:276 } //line views/stuff.qtpl:278 func StreamAboutHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:278 qw422016.N().S(`

`) //line views/stuff.qtpl:282 qw422016.E().S(lc.Get("ui.about_title", &l18n.Replacements{"name": cfg.WikiName})) //line views/stuff.qtpl:282 qw422016.N().S(`

  • `) //line views/stuff.qtpl:284 qw422016.N().S(lc.Get("ui.about_version", &l18n.Replacements{"pre": "", "post": ""})) //line views/stuff.qtpl:284 qw422016.N().S(` 1.7.0
  • `) //line views/stuff.qtpl:285 if cfg.UseAuth { //line views/stuff.qtpl:285 qw422016.N().S(`
  • `) //line views/stuff.qtpl:286 qw422016.E().S(lc.Get("ui.about_usercount")) //line views/stuff.qtpl:286 qw422016.N().S(` `) //line views/stuff.qtpl:286 qw422016.N().DUL(user.Count()) //line views/stuff.qtpl:286 qw422016.N().S(`
  • `) //line views/stuff.qtpl:287 qw422016.E().S(lc.Get("ui.about_homepage")) //line views/stuff.qtpl:287 qw422016.N().S(` `) //line views/stuff.qtpl:287 qw422016.E().S(cfg.HomeHypha) //line views/stuff.qtpl:287 qw422016.N().S(`
  • `) //line views/stuff.qtpl:288 qw422016.E().S(lc.Get("ui.about_admins")) //line views/stuff.qtpl:288 qw422016.N().S(``) //line views/stuff.qtpl:288 for i, username := range user.ListUsersWithGroup("admin") { //line views/stuff.qtpl:289 if i > 0 { //line views/stuff.qtpl:289 qw422016.N().S(` `) //line views/stuff.qtpl:290 } //line views/stuff.qtpl:290 qw422016.N().S(` `) //line views/stuff.qtpl:291 qw422016.E().S(username) //line views/stuff.qtpl:291 qw422016.N().S(``) //line views/stuff.qtpl:291 } //line views/stuff.qtpl:291 qw422016.N().S(`
  • `) //line views/stuff.qtpl:292 } else { //line views/stuff.qtpl:292 qw422016.N().S(`
  • `) //line views/stuff.qtpl:293 qw422016.E().S(lc.Get("ui.about_noauth")) //line views/stuff.qtpl:293 qw422016.N().S(`
  • `) //line views/stuff.qtpl:294 } //line views/stuff.qtpl:294 qw422016.N().S(`

`) //line views/stuff.qtpl:296 qw422016.N().S(lc.Get("ui.about_hyphae", &l18n.Replacements{"link": "/list"})) //line views/stuff.qtpl:296 qw422016.N().S(`

`) //line views/stuff.qtpl:300 } //line views/stuff.qtpl:300 func WriteAboutHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:300 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:300 StreamAboutHTML(qw422016, lc) //line views/stuff.qtpl:300 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:300 } //line views/stuff.qtpl:300 func AboutHTML(lc *l18n.Localizer) string { //line views/stuff.qtpl:300 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:300 WriteAboutHTML(qb422016, lc) //line views/stuff.qtpl:300 qs422016 := string(qb422016.B) //line views/stuff.qtpl:300 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:300 return qs422016 //line views/stuff.qtpl:300 } //line views/stuff.qtpl:302 func StreamCommonScripts(qw422016 *qt422016.Writer) { //line views/stuff.qtpl:302 qw422016.N().S(` `) //line views/stuff.qtpl:303 for _, scriptPath := range cfg.CommonScripts { //line views/stuff.qtpl:303 qw422016.N().S(` `) //line views/stuff.qtpl:305 } //line views/stuff.qtpl:305 qw422016.N().S(` `) //line views/stuff.qtpl:306 } //line views/stuff.qtpl:306 func WriteCommonScripts(qq422016 qtio422016.Writer) { //line views/stuff.qtpl:306 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:306 StreamCommonScripts(qw422016) //line views/stuff.qtpl:306 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:306 } //line views/stuff.qtpl:306 func CommonScripts() string { //line views/stuff.qtpl:306 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:306 WriteCommonScripts(qb422016) //line views/stuff.qtpl:306 qs422016 := string(qb422016.B) //line views/stuff.qtpl:306 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:306 return qs422016 //line views/stuff.qtpl:306 }