add hooks panel.menu:before and panel.menu:after
fix plugin em-cartaz to use panel.menu hooks