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 |
||
---|---|---|
.. | ||
api_handler.go | ||
database_dump_handler.go | ||
faq_handler.go | ||
home_handler.go | ||
init.go | ||
language_handler.go | ||
modpanel.go | ||
not_found_handler.go | ||
router.go | ||
rss_handler.go | ||
search_handler.go | ||
template.go | ||
template_functions.go | ||
template_test.go | ||
template_variables.go | ||
torrent_report_handler.go | ||
upload.go | ||
upload_handler.go | ||
user_handler.go | ||
view_torrent_handler.go | ||
wrap_handler.go |