fix gallery
Merge branch 'gallery-fixing' of github.com:softwareplanet/cms into gallery-fixing