checkPassword($_POST['passwd']))) {
$_SESSION["mainconf_password"] = $_POST['passwd'];
metaRefresh("mainmanage.php");
exit();
}
else {
$message = _("The password is invalid! Please try again.");
}
}
echo $_SESSION['header'];
?>
read()) {
if (substr($cssEntry, strlen($cssEntry) - 4, 4) != '.css') continue;
echo " \n";
}
?>
\n";
echo "\n";
echo "\n";
// include all JavaScript files
$jsDirName = dirname(__FILE__) . '/../lib';
$jsDir = dir($jsDirName);
$jsFiles = array();
while ($jsEntry = $jsDir->read()) {
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
$jsFiles[] = $jsEntry;
}
sort($jsFiles);
foreach ($jsFiles as $jsEntry) {
echo "\n";
}
?>
isWritable()) {
StatusMessage('WARN', 'The config file is not writable.', 'Your changes cannot be saved until you make the file writable for the webserver user.');
}
?>