Fixing hide buttons see BT#8417
Minor update docs + format code
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19