More functions. It's a good thing. Move stuff from template_header()
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Needlessly complex. Also, shouldn't str_replace("\r"..) be done on input?
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>