version 1.191, 2013/07/19 18:24:21
|
version 1.193, 2013/12/03 17:22:08
|
Line 64 sub start_optionresponse {
|
Line 64 sub start_optionresponse {
|
$token,'4'). |
$token,'4'). |
&Apache::edit::select_arg('Randomize Foil Order:','randomize', |
&Apache::edit::select_arg('Randomize Foil Order:','randomize', |
['yes','no'],$token). |
['yes','no'],$token). |
&Apache::edit::select_arg(&mt('Display of options when printed'),'TeXlayout', |
&Apache::edit::select_arg('Display of options when printed','TeXlayout', |
[['horizontal','Normal list'], |
[['horizontal','Normal list'], |
['vertical','Listed in a vertical column']],$token). |
['vertical','Listed in a vertical column']],$token). |
&Apache::edit::end_row().&Apache::edit::start_spanning_row(); |
&Apache::edit::end_row().&Apache::edit::start_spanning_row(); |
Line 120 sub start_foilgroup {
|
Line 120 sub start_foilgroup {
|
} |
} |
my $insertlist=&Apache::edit::insertlist($target,$token); |
my $insertlist=&Apache::edit::insertlist($target,$token); |
$result.=&Apache::edit::start_table($token); |
$result.=&Apache::edit::start_table($token); |
|
my %lt = &Apache::lonlocal::texthash( |
|
sel => 'Select Options', |
|
add => 'Add new Option:', |
|
del => 'Delete an Option:', |
|
); |
$result.= (<<ENDTABLE); |
$result.= (<<ENDTABLE); |
<tr><td>Select Options</td> |
<tr><td>$lt{'sel'}</td> |
<td> |
<td> |
Add new Option: <input type="text" name="$Apache::lonxml::curdepth.options" /> |
$lt{'add'} <input type="text" name="$Apache::lonxml::curdepth.options" /> |
</td> |
</td> |
<td>Delete an Option: |
<td>$lt{'del'} |
<select name="$Apache::lonxml::curdepth.deleteopt">$optionlist</select> |
<select name="$Apache::lonxml::curdepth.deleteopt">$optionlist</select> |
</td> |
</td> |
ENDTABLE |
ENDTABLE |
$result.= '<td>'.&Apache::edit::checked_arg('Print options:','texoptions', |
$result.= '<td>'.&Apache::edit::checked_arg('Print options:','texoptions', |
[ ['nochoice','Don\'t show option list'] ] |
[ ['nochoice',"Don't show option list"] ] |
,$token).'</td>'; |
,$token).'</td>'; |
$result.= '<td><label>'.&mt('Two-option checkboxes for:'). |
$result.= '<td><label>'.&mt('Two-option checkboxes for:'). |
'<select name="checkboxvalue_'.$Apache::lonxml::curdepth.'">'; |
'<select name="checkboxvalue_'.$Apache::lonxml::curdepth.'">'; |
Line 143 ENDTABLE
|
Line 148 ENDTABLE
|
} |
} |
$result.='</select></label>'; |
$result.='</select></label>'; |
$result.=&Apache::edit::checked_arg('Checkbox options:','checkboxoptions', |
$result.=&Apache::edit::checked_arg('Checkbox options:','checkboxoptions', |
[ ['nochoice','Don\'t show option list'] ] |
[ ['nochoice',"Don't show option list"] ] |
,$token).'</td>'; |
,$token).'</td>'; |
$result.= &Apache::edit::end_row(); |
$result.= &Apache::edit::end_row(); |
$result.= &Apache::edit::start_spanning_row(); |
$result.= &Apache::edit::start_spanning_row(); |