- Cleanup the user list includes

- Fix a big that wasn't causing the "show only complete registrations" to stick.
This commit is contained in:
dave 2009-02-06 06:33:58 +00:00
parent 65ba63bd81
commit 37b774f68a

View File

@ -22,10 +22,11 @@
*/
?>
<?
require("../common.inc.php");
require_once("../user.inc.php");
require_once('../common.inc.php');
require_once('../user.inc.php');
user_auth_required('committee', 'admin');
include "judges.inc.php";
require_once('judges.inc.php');
$show_types = $_GET['show_types'];
if(user_valid_type($show_types) == false) $show_types = array('judge');
@ -95,7 +96,7 @@ function toggleoptions()
echo "<tr><td>".i18n('Complete').":</td><td>";
echo "<select name=\"show_complete\">";
$s = ($show_complete == 'yes') ? 'selected="selected"' : '';
echo "<option value=\"all\" $s>".i18n('Show only complete registrations')."</option>";
echo "<option value=\"yes\" $s>".i18n('Show only complete registrations')."</option>";
$s = ($show_complete == 'no') ? 'selected="selected"' : '';
echo "<option value=\"no\" $s>".i18n('Show ALL registrations')."</option>";
echo "</select>";