Identify special awards only judges and increase the size of the judge info popup

This commit is contained in:
james 2011-03-31 19:38:57 +00:00
parent ada73125cf
commit 529aa8ca38
2 changed files with 9 additions and 4 deletions

View File

@ -43,8 +43,8 @@ $preferencechoices=array(
$id = intval($_GET['id']);
$judgeinfo = user_load($id);
echo '<div style="text-align:center; padding: 5px;">';
send_popup_header("Judge Information");
echo '<div style="text-align:center; padding: 5px;">';
if($id < 1) {
echo error(i18n("No Judge ID passed to Judges Info"));

View File

@ -303,8 +303,13 @@ jQuery(document).ready(function(){
foreach($jlist as $jid) {
$u = &$judgelist[$jid];
if($u['firstname'] && $u['lastname'])
echo "<option value=\"$jid\">{$u['firstname']} {$u['lastname']} (" . implode(' ', $u['languages']) . ")</option>\n";
if($u['firstname'] && $u['lastname']) {
if($u['special_award_only']=='yes') {
$sp="[sp] ";
}
else $sp="";
echo "<option value=\"$jid\">{$sp}{$u['firstname']} {$u['lastname']} (" . implode(' ', $u['languages']) . ")</option>\n";
}
}
unset($u);
@ -417,7 +422,7 @@ jQuery(document).ready(function(){
echo "</td></tr>";
echo "</table>";
echo "</form>";
echo '<div id="infodiv" style="background-color: #DDF; border:solid;'
echo '<div id="infodiv" style="font-size: 1.2em; background-color: #DDF; border:solid;'
. ' border-width:1px;'
. ' border-color: #000;'
. ' position:absolute;'