setAjaxReplyContent(loadTemplate('admin_area_' . trim(postRequestElement('tab')), true));
// Has the template been loaded?
- if (isset($GLOBALS['tpl_content']['admin_page_' . trim(postRequestElement('tab'))])) {
+ if (isset($GLOBALS['template_content']['html']['admin_page_' . trim(postRequestElement('tab'))])) {
// All okay if we reach this point
setHttpStatus('200 OK');
} else {