foreach ($POD->PODS as $name => $podling) { // if it was checked, enable it. if not, disable it. if ($form[$name]) { $message .= $POD->enablePOD($name); } else { if ($POD->isEnabled($name)) { $message .= $POD->disablePOD($name); } } } // save everything to lib/etc/options.php $POD->saveLibOptions(); if (!$POD->success()) { $message .= $POD->error(); } else { $POD->processIncludes(); $message .= $POD->writeHTACCESS($htaccessPath); } } $POD->changeTheme('admin'); $POD->header(); $current_tab = "pods"; ?> <?php include_once "option_nav.php"; ?> <?php if ($message != '') { ?> <div class="info">