Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/router
Ramon Dantas 1968d2ae54 Move translation func to template variables (#652)
* 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
2017-05-21 08:38:28 +10:00
..
api_handler.go
database_dump_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
faq_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
home_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
init.go
language_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
modpanel.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
not_found_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
router.go
rss_handler.go
search_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
template.go
template_functions.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
template_test.go
template_variables.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
torrent_report_handler.go
upload.go added ircs support 2017-05-20 18:40:20 +02:00
upload_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
user_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
view_torrent_handler.go Move translation func to template variables (#652) 2017-05-21 08:38:28 +10:00
wrap_handler.go