1968d2ae54
* Add T field to template variables * Remove languages.SetTranslationFromRequest * Add Tfunc on handlers * Remove T and Ts from template_functions * Update templates Change the templates to use the local Tfunc, instead of the global one. Also changed the signature of the fields on template_variables.go, so that they return a template.HTML to avoid escaping problems. * Remove unnecessary variable |
||
---|---|---|
.. | ||
crypto | ||
languages | ||
log | ||
messages | ||
metainfo | ||
modelHelper | ||
search | ||
signals | ||
timeHelper | ||
format.go | ||
magnet.go | ||
markdown.go | ||
safe.go | ||
server.go | ||
unzlib.go | ||
whitespace.go |