Fixed to hide hidden activities from normal users and to display dimmed for teachers / admins. Also fixed an off by 1 error when displaying topics.
Fixed to hide hidden activities from normal users and to display dimmed for teachers / admins.
Also fixed an off by 1 error when displaying topics.

dilawar/moodle