Porting from d6 -> d7
variables
Merge pull request #1 from willtp87/7.x

variables
Merge pull request #1 from daniel-dgi/7.x

Porting from d6 -> d7