fix indentation in student_editor

This commit is contained in:
dave 2010-01-24 06:47:12 +00:00
parent 8b3cd2a289
commit dc326ccf86

View File

@ -24,7 +24,7 @@
<?
require_once('../common.inc.php');
require_once('../user.inc.php');
user_auth_required('committee', 'admin');
$auth_type = user_auth_required(array('fair','committee'), 'admin');
$registrations_id = intval($_GET['id']);
$action = $_GET['action'];
@ -158,8 +158,6 @@ function students_load()
global $registrations_id;
global $config;
//now query and display
$q=mysql_query("SELECT * F ROM students WHERE registrations_id='".$registrations_id."' AND year='".$config['FAIRYEAR']."'");
echo mysql_error();
@ -203,8 +201,7 @@ for($x=1;$x<=$numtoshow;$x++) {
echo " <td>".i18n("Last Name")."</td><td><input type=\"text\" name=\"lastname[$x]\" value=\"$studentinfo->lastname\" />".REQUIREDFIELD."</td>\n";
echo "</tr>\n";
if($config['participant_student_personal']=="yes")
{
if($config['participant_student_personal']=="yes") {
echo "<tr>\n";
echo " <td>".i18n("Gender")."</td><td>";
echo "<select name=\"sex[$x]\">";