331143e094
Added a new package, "categories", with the valid categories for each Nyaa and Sukebei. On upload, check if the category is present on the valid ones. Also changed the template function Category_Nyaa and Category_Sukebei to reflect this. |
||
---|---|---|
.. | ||
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 |