You can look at bcms-ui-base on contrib. But maybe its more complicated that most packages that use ad_return_template. Try grepping for ad_return_template you will surely get a lot of those. I think the old bboard has lots of them.