2 /****************************************************************/
4 /****************************************************************/
5 /* Copyright (c) 2002-2005 by Greg Gay */
6 /* Adaptive Technology Resource Centre / University of Toronto */
9 /* This program is free software. You can redistribute it and/or*/
10 /* modify it under the terms of the GNU General Public License */
11 /* as published by the Free Software Foundation. */
12 /****************************************************************/
13 // $Id: admin_voice_html.php 5123 2005-07-12 14:59:03Z greg
15 // Generate the HTML for the Administrator's Voice Manager
18 <table class="data" style="width:95%;" summary="" rules="cols" >
22 <h3><?php echo _AT('manage_atutor_voice'); ?></h3>
29 if ($handle = opendir(AT_SPEECH_TEMPLATE_DIR)) {
33 while (false !== ($file = readdir($handle))) {
34 if($file != "." && $file !=".."){
35 echo '<li><a href="'.AT_SPEECH_TEMPLATE_URL.$file.'">'.$file.'</a> (<a href="'.$_SERVER['PHP_SELF'].'?delete='.$file.SEP.'tab='.$tab.'">'._AT('delete').'</a>)</li>'."\n";
40 echo _AT('no_files_found');