forked from science-ation/science-ation
- Cleanup the user list includes
- Fix a big that wasn't causing the "show only complete registrations" to stick.
This commit is contained in:
parent
65ba63bd81
commit
37b774f68a
@ -22,10 +22,11 @@
|
|||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<?
|
<?
|
||||||
require("../common.inc.php");
|
require_once('../common.inc.php');
|
||||||
require_once("../user.inc.php");
|
require_once('../user.inc.php');
|
||||||
user_auth_required('committee', 'admin');
|
user_auth_required('committee', 'admin');
|
||||||
include "judges.inc.php";
|
|
||||||
|
require_once('judges.inc.php');
|
||||||
|
|
||||||
$show_types = $_GET['show_types'];
|
$show_types = $_GET['show_types'];
|
||||||
if(user_valid_type($show_types) == false) $show_types = array('judge');
|
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 "<tr><td>".i18n('Complete').":</td><td>";
|
||||||
echo "<select name=\"show_complete\">";
|
echo "<select name=\"show_complete\">";
|
||||||
$s = ($show_complete == 'yes') ? 'selected="selected"' : '';
|
$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"' : '';
|
$s = ($show_complete == 'no') ? 'selected="selected"' : '';
|
||||||
echo "<option value=\"no\" $s>".i18n('Show ALL registrations')."</option>";
|
echo "<option value=\"no\" $s>".i18n('Show ALL registrations')."</option>";
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user