[ticket/11310] Add hashes to action links to prevent CSRF attacks

PHPBB3-11310