How can you use variables and wordlets in your headers and footers?
also
Is there any reason the templates can't be edited from the control panel, it seems a little weird that you cant just select the template you want to edit in a "Templates Section" of the control panel, edit what you need to, then save your changes.