aboutsummaryrefslogtreecommitdiffstats
path: root/mods
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2013-01-11 09:57:23 -0700
committerZach Prezkuta <fermion@gmx.com>2013-01-11 09:57:23 -0700
commit34dc11d68ee474cf7dbb1f2e86befe4bae3caf42 (patch)
tree8d1abc369802498ff0e524839fc80b24a8be048c /mods
parent1c01cba21ebebe7d1b2586c2ef355e930ae3e722 (diff)
downloadvolse-hubzilla-34dc11d68ee474cf7dbb1f2e86befe4bae3caf42.tar.gz
volse-hubzilla-34dc11d68ee474cf7dbb1f2e86befe4bae3caf42.tar.bz2
volse-hubzilla-34dc11d68ee474cf7dbb1f2e86befe4bae3caf42.zip
add warning messae about automatically generated templates
Diffstat (limited to 'mods')
-rwxr-xr-xmods/friendica-to-smarty-tpl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mods/friendica-to-smarty-tpl.py b/mods/friendica-to-smarty-tpl.py
index 369b8ea9a..9e4e52671 100755
--- a/mods/friendica-to-smarty-tpl.py
+++ b/mods/friendica-to-smarty-tpl.py
@@ -94,6 +94,9 @@ def fix_element(element):
def convert(filename, tofilename, php_tpl):
+ header = ldelim + "*\n *\tAUTOMATICALLY GENERATED TEMPLATE\n *\tDO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN\n *\n *" + rdelim
+ tofilename.write(header)
+
for line in filename:
newline = ''
st_pos = 0