Fixes: #2697 moving smarty var from variables_common.inc to variables.inc