I'm customizing a SP2010 site and my main pages look fine, but when I go into a site that's using the 2007 look and feel and select Site Settings or another system page, the Master Page isn't matching the branding of the rest of the site. I've tried, unsuccessfully, to track down the Master Page that is responsible.
Is there a way on the settings.aspx page to display the Master Page in use? I'm looking for a bit of code that I can insert in settings.aspx and have it display the name of the current Master Page.