use Python 2.4 compatible script; update Smarty templates
update a few more Smarty templates
Merge pull request #578 from fermionic/20130110-update-smarty-conversion-script

use Python 2.4 compatible script; update Smarty templates