version 1.70, 2012/06/21 13:46:10
|
version 1.72, 2014/02/03 18:49:30
|
Line 143 sub problem_selector {
|
Line 143 sub problem_selector {
|
my $Str; |
my $Str; |
my $jsadd=''; |
my $jsadd=''; |
if ($onclick) { |
if ($onclick) { |
$jsadd="onClick='$onclick'"; |
$jsadd="onclick='$onclick'"; |
} |
} |
$Str = &Apache::loncommon::start_scrollbox(($smallbox?'420px':'620px'), |
$Str = &Apache::loncommon::start_scrollbox(($smallbox?'420px':'620px'), |
($smallbox?'400px':'600px'), |
($smallbox?'400px':'600px'), |
Line 1385 sub limit_by_time_form {
|
Line 1385 sub limit_by_time_form {
|
$Str .= '<fieldset>'; |
$Str .= '<fieldset>'; |
my $timecheckbox = '<input type="checkbox" name="limit_by_time" '; |
my $timecheckbox = '<input type="checkbox" name="limit_by_time" '; |
if (&limit_by_time()) { |
if (&limit_by_time()) { |
$timecheckbox .= ' checked '; |
$timecheckbox .= 'checked="checked" '; |
} |
} |
$timecheckbox .= 'OnChange="javascript:toggle_limitby_activity(this.checked);" '; |
$timecheckbox .= 'onchange="javascript:toggle_limitby_activity(this.checked);" '; |
$timecheckbox .= ' />'; |
$timecheckbox .= ' />'; |
$Str .= '<legend><label>'.&mt('[_1] Limit by time',$timecheckbox).'</label></legend>'; |
$Str .= '<legend><label>'.&mt('[_1] Limit by time',$timecheckbox).'</label></legend>'; |
$Str .= &mt('Start Time: [_1]',$startdateform).'<br />'; |
$Str .= &mt('Start Time: [_1]',$startdateform).'<br />'; |