mod_menu: show warning when a resource is unpublished.
(cherry picked from commit 25b791781a3b625ec76bc2917a5d038e42210e9f)