From 529aa8ca38c82efa24704dfbedde3b451c960f7b Mon Sep 17 00:00:00 2001 From: james Date: Thu, 31 Mar 2011 19:38:57 +0000 Subject: [PATCH] Identify special awards only judges and increase the size of the judge info popup --- admin/judges_info.php | 2 +- admin/judges_teams_members.php | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/admin/judges_info.php b/admin/judges_info.php index f879081..5577aa9 100644 --- a/admin/judges_info.php +++ b/admin/judges_info.php @@ -43,8 +43,8 @@ $preferencechoices=array( $id = intval($_GET['id']); $judgeinfo = user_load($id); -echo '
'; send_popup_header("Judge Information"); +echo '
'; if($id < 1) { echo error(i18n("No Judge ID passed to Judges Info")); diff --git a/admin/judges_teams_members.php b/admin/judges_teams_members.php index 9350130..8235b2a 100644 --- a/admin/judges_teams_members.php +++ b/admin/judges_teams_members.php @@ -303,8 +303,13 @@ jQuery(document).ready(function(){ foreach($jlist as $jid) { $u = &$judgelist[$jid]; - if($u['firstname'] && $u['lastname']) - echo "\n"; + if($u['firstname'] && $u['lastname']) { + if($u['special_award_only']=='yes') { + $sp="[sp] "; + } + else $sp=""; + echo "\n"; + } } unset($u); @@ -417,7 +422,7 @@ jQuery(document).ready(function(){ echo ""; echo ""; echo ""; - echo '