From: Tomas K. <to...@us...> - 2005-11-06 09:41:13
|
Update of /cvsroot/squirrelmail/squirrelmail/plugins/newmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29563 Modified Files: Tag: SM-1_4-STABLE newmail_opt.php Log Message: don't list index.php in sound selection box Index: newmail_opt.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/newmail/newmail_opt.php,v retrieving revision 1.17.2.7 retrieving revision 1.17.2.8 diff -u -w -r1.17.2.7 -r1.17.2.8 --- newmail_opt.php 27 Dec 2004 15:03:58 -0000 1.17.2.7 +++ newmail_opt.php 6 Nov 2005 09:41:05 -0000 1.17.2.8 @@ -136,7 +136,7 @@ $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 ($fname == $media) { echo 'selected="selected" '; |