From 5ac5eb550380e9c9a5c4fdbbbf08fadbe01ff4a9 Mon Sep 17 00:00:00 2001 From: rr- Date: Thu, 7 Jul 2016 21:18:35 +0200 Subject: [PATCH] client/general: refactor URL parameter handling --- client/html/post.tpl | 18 +++---------- client/html/post_readonly_sidebar.tpl | 8 ++---- client/html/posts_header.tpl | 6 ++--- client/html/posts_page.tpl | 8 ++---- client/html/tag_category_row.tpl | 2 +- client/html/tag_delete.tpl | 2 +- client/html/tag_summary.tpl | 2 +- client/html/tags_header.tpl | 2 +- client/html/tags_page.tpl | 20 +++++++------- client/html/user_summary.tpl | 10 +++---- client/html/users_header.tpl | 2 +- client/js/controllers/comments_controller.js | 12 ++++----- client/js/controllers/help_controller.js | 4 +-- client/js/controllers/page_controller.js | 2 +- .../controllers/password_reset_controller.js | 2 +- client/js/controllers/post_controller.js | 18 ++++++------- client/js/controllers/post_list_controller.js | 16 +++++------ .../controllers/tag_categories_controller.js | 1 - client/js/controllers/tag_controller.js | 4 +-- client/js/controllers/tag_list_controller.js | 14 +++++----- client/js/controllers/user_controller.js | 4 +-- client/js/controllers/user_list_controller.js | 14 +++++----- client/js/router.js | 11 ++++---- client/js/util/misc.js | 27 ++++++++++++------- client/js/util/views.js | 18 +++++++++++++ client/js/views/endless_page_view.js | 2 +- client/js/views/home_view.js | 4 +-- client/js/views/manual_page_view.js | 2 +- client/js/views/posts_header_view.js | 16 +++++------ client/js/views/tags_header_view.js | 4 +-- client/js/views/users_header_view.js | 4 +-- 31 files changed, 132 insertions(+), 127 deletions(-) diff --git a/client/html/post.tpl b/client/html/post.tpl index ecb4ba8a..af984223 100644 --- a/client/html/post.tpl +++ b/client/html/post.tpl @@ -3,11 +3,7 @@