diff --git a/judge.inc.php b/judge.inc.php
index e6bbe84..14b3a65 100644
--- a/judge.inc.php
+++ b/judge.inc.php
@@ -23,7 +23,7 @@
*/
?>
-
+require_once('user_edit.inc.php');
$preferencechoices=array(
-2=>"Very Low",
-1=>"Low",
@@ -58,6 +58,10 @@ function judge_status_expertise(&$u)
return 'complete';
}
+function judge_status_availability(&$u){
+ return 'complete';
+}
+
function judge_status_other(&$u)
{
global $config;
diff --git a/judge_expertise.php b/judge_expertise.php
index 3b0d007..93af69c 100644
--- a/judge_expertise.php
+++ b/judge_expertise.php
@@ -84,15 +84,15 @@ case 'save':
}
- if($_SESSION['embed'] == true) {
+// if($_SESSION['embed'] == true) {
echo "
".i18n("Judging Expertise")."
";
display_messages();
- } else {
+/* } else {
//send the header
send_header('Category and Division Preferences',
array('Judge Registration' => 'judge_main.php')
);
- }
+ }*/
$newstatus=judge_status_expertise($u);
?>
@@ -225,6 +225,6 @@ echo "\n";
- if($_SESSION['embed'] != true) send_footer();
+// if($_SESSION['embed'] != true) send_footer();
?>
diff --git a/judge_main.php b/judge_main.php
index 4c728fd..c0cd7dc 100644
--- a/judge_main.php
+++ b/judge_main.php
@@ -86,20 +86,20 @@
user_page_summary_begin();
user_page_summary_item("Contact Information",
- "user_personal.php", "user_personal_info_status", array($u));
+ "user_personal.php", "user_personal_info_status", array(&$u));
user_page_summary_item("Other Information",
- "judge_other.php", "judge_status_other", array($u));
+ "judge_other.php", "judge_status_other", array(&$u));
user_page_summary_item("Areas of Expertise",
- "judge_expertise.php", "judge_status_expertise", array($u));
+ "judge_expertise.php", "judge_status_expertise", array(&$u));
if($config['judges_availability_enable'] == 'yes') {
user_page_summary_item("Time Availability",
- "judge_availability.php", "judge_status_availability", array($u));
+ "judge_availability.php", "judge_status_availability", array(&$u));
}
if($config['judges_specialaward_enable'] == 'yes' || $u['special_award_only'] == 'yes') {
user_page_summary_item("Special Award Preferences",
- "judge_special_awards.php", "judge_status_special_awards", array($u));
+ "judge_special_awards.php", "judge_status_special_awards", array(&$u));
}
// user_page_summary_item("Areas of Expertise",
// "register_judges_expertise.php", "expertiseStatus", array($u));
diff --git a/judge_special_awards.php b/judge_special_awards.php
index 3bbc308..f87d77d 100644
--- a/judge_special_awards.php
+++ b/judge_special_awards.php
@@ -57,16 +57,16 @@ case 'save':
exit;
}
- if($_SESSION['embed'] == true) {
+// if($_SESSION['embed'] == true) {
display_messages();
echo "
".i18n('Special Awards')."
";
echo "
";
- } else {
+/* } else {
//send the header
send_header('Special Awards',
array('Judge Registration' => 'judge_main.php')
);
- }
+ }*/
?>