<?php
+
/**
* newmails_opt.php - options page
*
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* Displays all options relating to new mail sounds
*
+ * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage newmail
$d = dir(SM_PATH . 'plugins/newmail/sounds');
while($entry=$d->read()) {
// $fname = get_location () . '/sounds/' . $entry;
- if ($entry != '..' && $entry != '.' && $entry != 'CVS') {
+ if ($entry != '..' && $entry != '.' && $entry != 'CVS' && $entry != 'index.php') {
echo '<option ';
if ($entry == $newmail_media) {
echo 'selected="selected" ';