forked from science-ation/science-ation
remove brackets from project number in list so it can be typed in
This commit is contained in:
parent
f1cd9bcb5b
commit
c4c985ce3f
@ -573,7 +573,7 @@ function print_award(&$r, $fairs_id, $editor=false, $editor_data=array())
|
|||||||
<option value=""><?=i18n('Choose a project')?></option>
|
<option value=""><?=i18n('Choose a project')?></option>
|
||||||
<? foreach($editor_data['projects_nominated'] as $p) {
|
<? foreach($editor_data['projects_nominated'] as $p) {
|
||||||
if($fairs_id != 0 && $p['fairs_id']!= $fairs_id) continue;
|
if($fairs_id != 0 && $p['fairs_id']!= $fairs_id) continue;
|
||||||
echo "<option value=\"{$p['id']}\">({$p['projectnumber']}) {$p['title']}</option>";
|
echo "<option value=\"{$p['id']}\">{$p['projectnumber']} {$p['title']}</option>";
|
||||||
$n_nom++;
|
$n_nom++;
|
||||||
}
|
}
|
||||||
?> </select>
|
?> </select>
|
||||||
@ -581,7 +581,7 @@ function print_award(&$r, $fairs_id, $editor=false, $editor_data=array())
|
|||||||
<option value=""><?=i18n('Choose a project')?></option>
|
<option value=""><?=i18n('Choose a project')?></option>
|
||||||
<? foreach($editor_data['projects_eligible'] as $p) {
|
<? foreach($editor_data['projects_eligible'] as $p) {
|
||||||
if($fairs_id != 0 && $p['fairs_id']!= $fairs_id) continue;
|
if($fairs_id != 0 && $p['fairs_id']!= $fairs_id) continue;
|
||||||
echo "<option value=\"{$p['id']}\">({$p['projectnumber']}) {$p['title']}</option>";
|
echo "<option value=\"{$p['id']}\">{$p['projectnumber']} {$p['title']}</option>";
|
||||||
$n_eli++;
|
$n_eli++;
|
||||||
print_r($p);
|
print_r($p);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user