forked from science-ation/science-ation
- Fix a reference to the award external identifier
- Move the nubmer of available prizes to the top so it's harder to miss.
This commit is contained in:
parent
347d2d5a86
commit
0a9053181c
@ -518,6 +518,7 @@ $(document).ready(function() {
|
||||
<div id="editor_tab_eligibility">
|
||||
<h4><?=i18n("Eligibility")?></h4>
|
||||
<div id="eligibility_notice" class="notice_area"></div>
|
||||
<br />
|
||||
<form id="eligibility">
|
||||
<input type="hidden" id="eligibility_id" name="id" value="" />
|
||||
<table class="tableedit">
|
||||
@ -576,7 +577,11 @@ $(document).ready(function() {
|
||||
<input type="hidden" id="prizeinfo_id" name="id" value=""/>
|
||||
<input type="hidden" id="prizeinfo_award_awards_id" name="award_awards_id" value=""/>
|
||||
<table class="tableedit">
|
||||
<tr> <td class="left"><?=i18n("Prize Description")?>:</td>
|
||||
<tr>
|
||||
<td class="left"><?=i18n("Number available")?>:</td>
|
||||
<td class="right"><input type="text" id="prizeinfo_number" class="prizeinfo" name="number" value="" size="3" maxlength="5" disabled="disabled" /></td>
|
||||
</tr><tr>
|
||||
<td class="left"><?=i18n("Prize Description")?>:</td>
|
||||
<td class="right"><input type="text" id="prizeinfo_prize" class="prizeinfo translatable" name="prize" value="" size="40" maxlength="128" disabled="disabled"/></td>
|
||||
</tr><tr>
|
||||
<td class="left"><?=i18n("Cash Amount")?> ($):</td>
|
||||
@ -587,9 +592,6 @@ $(document).ready(function() {
|
||||
</tr><tr>
|
||||
<td class="left"><?=i18n("Prize Value")?> ($):</td>
|
||||
<td class="right"><input type="text" id="prizeinfo_value" class="prizeinfo" name="value" value="" size="10" maxlength="10" disabled="disabled" /></td>
|
||||
</tr><tr>
|
||||
<td class="left"><?=i18n("Number available")?>:</td>
|
||||
<td class="right"><input type="text" id="prizeinfo_number" class="prizeinfo" name="number" value="" size="3" maxlength="5" disabled="disabled" /></td>
|
||||
</tr><tr>
|
||||
<td class="left" valign="top"><?=i18n("Plaque/Trophy")?>:</td>
|
||||
<td class="right">
|
||||
@ -606,7 +608,6 @@ $(document).ready(function() {
|
||||
</tr></table></td>
|
||||
</tr><tr>
|
||||
<td class="left"><?=i18n("Awards Ceremony")?>:</td>
|
||||
|
||||
<td class="right"><input type="checkbox" id="prizeinfo_excludefromac" class="prizeinfo" name="excludefromac" value="1" disabled="disabled"><?=i18n("Exclude this prize from the award ceremony script")?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -86,7 +86,7 @@ function handle_getawards(&$u, $fair, &$data, &$response)
|
||||
|
||||
while($a = mysql_fetch_assoc($q)) {
|
||||
$award = array();
|
||||
$award['identifier'] = $a['identifier'];
|
||||
$award['identifier'] = $a['external_identifier'];
|
||||
$award['year'] = $a['year'];
|
||||
$award['name_en'] = $a['name'];
|
||||
$award['criteria_en'] = $a['criteria'];
|
||||
|
Loading…
Reference in New Issue
Block a user