codingstyle: cleanup block_mediagallery.php