[Bug 946267] Showfor: Code changes for TB support.

Most of the real work will be in the database via the admin.