friendica/red — pull request #17 by fermionic (2013-01-11 16:48:14+00:00)
Title: automatic, command-line conversion

Update friendica-to-smarty-tpl.py to accept a command-line parameter '-p' that allows you to specify the directory to convert on the command line, like

./friendica-to-smarty-tpl.py -p /usr/local/www/red/view/

Also, add a new script that automatically converts all the template folders under a top-level Red installation:

./updatetpl.py -p /usr/local/www/red/

This allows for a one-shot update of all template files, or even inclusion in a Makefile.

Incidentally, I missed the French files when I updated the international templates. This script caught them, so they're included with this pull.