UCSF: fix up headers and footers on legacy pages