version 1.475, 2009/11/01 12:20:16
|
version 1.476, 2009/11/02 08:30:04
|
Line 2197 ENDPARMSELSCRIPT
|
Line 2197 ENDPARMSELSCRIPT
|
|
|
# Display Unit 1 "General Parameters" |
# Display Unit 1 "General Parameters" |
if (!$pssymb) { |
if (!$pssymb) { |
$r->print(&Apache::lonhtmlcommon::topic_bar (1,&mt('General Parameters'))); |
#$r->print(&Apache::lonhtmlcommon::topic_bar (1,&mt('General Parameters'))); |
|
$r->print('<div class="LC_Box">'); |
|
$r->print('<h4 class="LC_hcell">'.&mt('Resource Specification').'</h4>'); |
$r->print(<<COURSECONTENTSCRIPT); |
$r->print(<<COURSECONTENTSCRIPT); |
<script type="text/javascript"> |
<script type="text/javascript"> |
// <![CDATA[ |
// <![CDATA[ |
Line 2227 COURSECONTENTSCRIPT
|
Line 2229 COURSECONTENTSCRIPT
|
$r->print(&Apache::lonhtmlcommon::row_closure(1)); |
$r->print(&Apache::lonhtmlcommon::row_closure(1)); |
$r->print(&Apache::lonhtmlcommon::end_pick_box()); |
$r->print(&Apache::lonhtmlcommon::end_pick_box()); |
$r->print('</div>'); |
$r->print('</div>'); |
|
$r->print('</div>'); |
#Display Unit 2 "Select Parameter" |
#Display Unit 2 "Select Parameter" |
$r->print(&Apache::lonhtmlcommon::topic_bar (2,&mt('Select Parameters'))); |
#$r->print(&Apache::lonhtmlcommon::topic_bar (2,&mt('Select Parameters'))); |
|
$r->print('<div class="LC_Box">'); |
|
$r->print('<h4 class="LC_hcell">'.&mt('Parameter Specification').'</h4>'); |
&displaymenu($r,\%allparms,\%allparts,\@pscat,\@psprt,\%keyorder); |
&displaymenu($r,\%allparms,\%allparts,\@pscat,\@psprt,\%keyorder); |
} else { |
} else { |
my ($map,$id,$resource)=&Apache::lonnet::decode_symb($pssymb); |
my ($map,$id,$resource)=&Apache::lonnet::decode_symb($pssymb); |
Line 2238 COURSECONTENTSCRIPT
|
Line 2243 COURSECONTENTSCRIPT
|
'<br /><label><b>'.&mt('Show all parts').': <input type="checkbox" name="psprt" value="all"'. |
'<br /><label><b>'.&mt('Show all parts').': <input type="checkbox" name="psprt" value="all"'. |
($env{'form.psprt'}?' checked="checked"':'').' /></b></label><br />'); |
($env{'form.psprt'}?' checked="checked"':'').' /></b></label><br />'); |
} |
} |
$r->print(&Apache::lonhtmlcommon::topic_bar (3,&mt('User Selection'))); |
$r->print('</div>'); |
|
#$r->print(&Apache::lonhtmlcommon::topic_bar (3,&mt('User Selection'))); |
|
$r->print('<div class="LC_Box">'); |
|
$r->print('<h4 class="LC_hcell">'.&mt('User Specification (optional)').'</h4>'); |
$r->print(&Apache::lonhtmlcommon::start_pick_box()); |
$r->print(&Apache::lonhtmlcommon::start_pick_box()); |
&usermenu($r,$uname,$id,$udom,$csec,$cgroup,$parmlev,\@usersgroups); |
&usermenu($r,$uname,$id,$udom,$csec,$cgroup,$parmlev,\@usersgroups); |
$r->print(&Apache::lonhtmlcommon::row_closure(1)); |
$r->print(&Apache::lonhtmlcommon::row_closure(1)); |
$r->print(&Apache::lonhtmlcommon::end_pick_box()); |
$r->print(&Apache::lonhtmlcommon::end_pick_box()); |
|
$r->print('</div>'); |
|
|
# parm selection is shown: display parm update button |
# parm selection is shown: display parm update button |
$r->print('<p>' |
$r->print('<p>' |