In the standard LXR release, headers and footers are the same for all modes. However, you can use a template code variant in lxr.conf to customise them for a specific mode.
Add any of the following parameters (they are independent of each other):
'sourcedirhead', 'sourcedirtail':
for directory listing
'sourcehead' and 'sourcetail'
'sourcehead', 'sourcetail':
for source file display
'diffhead', 'difftail':
for difference markup
'identhead', 'identtail':
for identifier search
'searchhead', 'searchtail':
for free-text search
'showconfighead', 'showconfigtail':
for configuration display
Keep 'htmlhead' and 'htmltail' to provide
a default designation in case you forgot a variant.