I am using Drupal 7.14. I have a custom module with a number of different output pages. I define the paths in hook_menu and then in the callback functions I do some work and call echo theme('mytemplate', array(..args...)) at the end to output my content.
I also have a second custom module that does different work but outputs its content in a similar way.
I want to output some wrapping html that is common to the two module page outputs. At the moment the way I do this is to require a head and foot html file in each of the module template files.
This doesn't feel like a very Drupal approach so I'd appreciate some guidance.
Note: the wrapping html is specific to these two modules so I'd prefer not to pollute my main page.tpl.php file with it.