Public view fixes

fix undefined index errors in public share view and disable "share" action.

@PVince81 You introduced the ajaxLoad parameter in the files index.php template, right? Is this also useful for the public share view? For now I set it to false, see L243 apps/files_sharing/public.php. Feel free to update it if you think that it makes sense to set it to true in some circumstances.