Add new variables to template arrays
Fix previous template.lib.php improvement - fixes 3d47211 and loosely refs BT#7154