see http://php.net/manual/en/function.readdir.php - specifically:
/* This is the correct way to loop over the directory. */
while (false !== ($entry = readdir($handle))) {
echo "$entry\n";
}
/* This is the WRONG way to loop over the directory. */
while ($entry = readdir($handle)) {
echo "$entry\n";
}
- Cleaned up css (removed some unused classes)
- Changed quick search size and added ability to customize it
- Removed width=100% in preferences tables
- Corrected missing closing tag in sidebar
- Minor corrections