version 1.295, 2008/05/28 22:22:27
|
version 1.298, 2008/08/08 08:51:39
|
Line 281 sub handler {
|
Line 281 sub handler {
|
$closebutton .="onClick='self.close()'"; |
$closebutton .="onClick='self.close()'"; |
} |
} |
$closebutton .= ">"; |
$closebutton .= ">"; |
|
my $txt_import = &mt('IMPORT'); |
$importbutton=<<END; |
$importbutton=<<END; |
<input type='button' name='import' value='IMPORT' |
<input type='button' name='import' value='$txt_import' |
onClick='javascript:select_group()'> |
onClick='javascript:select_group()'> |
END |
END |
} else { |
} else { |
Line 2118 sub copyright_check {
|
Line 2119 sub copyright_check {
|
} |
} |
# Check for custom rights |
# Check for custom rights |
if ($Metadata->{'copyright'} eq 'custom') { |
if ($Metadata->{'copyright'} eq 'custom') { |
return &Apache::lonnet::customacccess('bre',$Metadata->{'url'}); |
return &Apache::lonnet::customaccess('bre',$Metadata->{'url'}); |
} |
} |
return 1; |
return 1; |
} |
} |
Line 2500 END
|
Line 2501 END
|
pop(@Lines); |
pop(@Lines); |
} |
} |
if (@Lines > 2) { |
if (@Lines > 2) { |
$pretty_string = join '<br />',(@Lines[0..2],'....<br />'); |
$pretty_string = join '<br />',(@Lines[0..2],'...<br />'); |
} |
} |
$r->print(&mt("Search: [_1]",$pretty_string)); |
$r->print(&mt("Search: [_1]",$pretty_string)); |
$r->rflush(); |
$r->rflush(); |
Line 2555 END
|
Line 2556 END
|
my $server; |
my $server; |
my $status; |
my $status; |
my $revise = &revise_button(); |
my $revise = &revise_button(); |
$r->print(<<END); |
$r->print(&Apache::loncommon::start_data_table()); |
<table> |
$r->print(&Apache::loncommon::start_data_table_header_row() |
<tr><th>Status</th><th>Total Matches</th><th>Time Remaining</th><th></th></tr> |
.'<th>'.&mt('Status').'</th>' |
<tr> |
.'<th>'.&mt('Total Matches').'</th>' |
<td><input type="text" name="status" value="" size="50" /></td> |
.'<th>'.&mt('Time Remaining').'</th>' |
<td><input type="text" name="count" value="" size="10" /></td> |
# .'<th> </th>' |
<td><input type="text" name="seconds" value="" size="8" /></td> |
.&Apache::loncommon::end_data_table_header_row()); |
<td>$revise</td> |
$r->print(&Apache::loncommon::start_data_table_row() |
</tr> |
.'<td><input type="text" name="status" value="" size="50" readonly="readonly" /></td>' |
</table> |
.'<td><input type="text" name="count" value="" size="10" readonly="readonly" /></td>' |
</form> |
.'<td><input type="text" name="seconds" value="" size="8" readonly="readonly" /></td>' |
END |
# ."<td>$revise</td>" |
|
.&Apache::loncommon::end_data_table_row()); |
|
$r->print(&Apache::loncommon::start_data_table()); |
|
$r->print($revise |
|
.'</form>'); |
$r->rflush(); |
$r->rflush(); |
&reset_timing(); |
&reset_timing(); |
&update_seconds($r); |
&update_seconds($r); |