'; printHeader('Settings Directory', 1); print '

Advanced Configuration

'; $q = "SELECT `setting`, `name`, `description` FROM `" . OCC_TABLE_CONFIG . "` WHERE `module`='OC' ORDER BY `module`, `setting`"; $r = mysql_query($q) or err('Unable to retrieve OpenConf settings'); $row = 1; print ''; while ($l = mysql_fetch_assoc($r)) { print '\n"; $row = (($row == 1) ? 2 : 1); } $q = "SELECT `module`, `setting`, `name`, `description` FROM `" . OCC_TABLE_CONFIG . "` WHERE `module`!='OC' ORDER BY `module`, `setting`"; $r = mysql_query($q) or err('Unable to retrieve module settings'); $module = ''; while ($l = mysql_fetch_assoc($r)) { if ($l['module'] != $module) { $module = $l['module']; print ''; } print '\n"; $row = (($row == 1) ? 2 : 1); } print '
SettingNameDescription
' . safeHTMLstr($l['setting']) . '' . safeHTMLstr($l['name']) . '' . $l['description'] . "
' . safeHTMLstr($OC_modulesAR[$l['module']]['name']) . ' Module' . (oc_moduleActive($l['module']) ? '' : ' - Inactive') . '
' . safeHTMLstr($l['setting']) . '' . safeHTMLstr($l['name']) . '' . $l['description'] . "
'; printFooter(); ?>