[ticket/11766] Hide edit, quote and delete buttons if topic is locked

But show quote button to guests if topic isn't locked

PHPBB3-11766