FIX when user doesn't have access to a state, don't show resources when searching or displaying in a collection


git-svn-id: http://svn.resourcespace.org/svn/resourcespace@5889 c08608d7-6e46-0410-86ca-f2a6f1370df5
FIX - more urlencodes/htmlspecialchars  added


git-svn-id: http://svn.resourcespace.org/svn/resourcespace@5890 c08608d7-6e46-0410-86ca-f2a6f1370df5