Converted admin-extensions.inc to use the new templating for header and footer.