2005-10-05 12:39:51 PDT
One easy way to do this might be to have OpenBiblio beep whenever there are any error messages. Because of some bugs that still exist, it may actually beep more often than that, though. Edit shared/header.php and add code like this after the include("../shared/header_top.php") line:
if (isset($_SESSION['pageErrors']) and !empty($_SESSION['pageErrors'])) {
?>
SOME HTML HERE
<?php
}
Then the HTML you put in there will be added to the top of the page (after the header) when there are errors. You'll need to work out for yourself what HTML to put there, but these pages may help:
http://www.phon.ucl.ac.uk/home/mark/audio/play.htm
http://www.boutell.com/newfaq/creating/scriptsound.html
As usual, this idea is utterly untested. Let me know how it works.
Micah