function arrange_fields_page_alter in Arrange Fields 7
File
- ./
arrange_fields.module, line 1762
Code
function arrange_fields_page_alter(&$page) {
// If we are on one of our popup pages, we do not want to show any extra content
// like sidebars and the like. Only keep the "content" array, as well
// as the properties who are prefixed by a # symbol.
if (af_get($GLOBALS["arrange_fields_in_popup"])) {
foreach ($page as $key => $val) {
if (!strstr($key, "#") && $key != "content") {
unset($page[$key]);
}
}
}
}