version 1.756, 2019/01/28 21:36:53
|
version 1.757, 2019/01/31 17:44:18
|
Line 9111 END
|
Line 9111 END
|
} |
} |
if ($count > 1) { |
if ($count > 1) { |
$formatextra = '<div style="display:none" id="bubbletype">'. |
$formatextra = '<div style="display:none" id="bubbletype">'. |
&scantron_scantab().'</div>'; |
'<span class="LC_nobreak">'. |
|
&mt('Bubblesheet type:').' '. |
|
&scantron_scantab().'</span></div>'; |
$onclick = ' onclick="toggleScantab(this.form);"'; |
$onclick = ' onclick="toggleScantab(this.form);"'; |
$formatjs = <<"END"; |
$formatjs = <<"END"; |
function toggleScantab(form) { |
function toggleScantab(form) { |
Line 9126 function toggleScantab(form) {
|
Line 9128 function toggleScantab(form) {
|
if (chosen == 'dat') { |
if (chosen == 'dat') { |
document.getElementById(divid).style.display = 'none'; |
document.getElementById(divid).style.display = 'none'; |
} else if (chosen == 'csv') { |
} else if (chosen == 'csv') { |
document.getElementById(divid).style.display = 'inline-block'; |
document.getElementById(divid).style.display = 'block'; |
} |
} |
} |
} |
} |
} |
Line 9152 END
|
Line 9154 END
|
} elsif (keys(%{$domconfig{'scantron'}{'config'}}) == 1) { |
} elsif (keys(%{$domconfig{'scantron'}{'config'}}) == 1) { |
if (ref($domconfig{'scantron'}{'config'}{'csv'}{'fields'}) eq 'HASH') { |
if (ref($domconfig{'scantron'}{'config'}{'csv'}{'fields'}) eq 'HASH') { |
if (keys(%{$domconfig{'scantron'}{'config'}{'csv'}{'fields'}})) { |
if (keys(%{$domconfig{'scantron'}{'config'}{'csv'}{'fields'}})) { |
$formattitle = &mt('Format of bubblesheet data file:'); |
$formattitle = &mt('Bubblesheet type'); |
$formatoptions = &scantron_scantab(); |
$formatoptions = &scantron_scantab(); |
} |
} |
} |
} |