version 1.17, 2005/05/29 01:46:16
|
version 1.18, 2006/04/06 22:15:18
|
Line 104 sub handler {
|
Line 104 sub handler {
|
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |
$r->send_http_header; |
$r->send_http_header; |
|
|
$r->print('<html><head><title>LON-CAPA Construction Diffs</title></head>'); |
$r->print(&Apache::loncommon::start_page('Resource Differences')); |
|
|
$r->print(&Apache::loncommon::bodytag('Resource Differences')); |
|
|
|
|
|
$r->print('<h1>'.($env{'form.filetwo'}?'':&mt('Compare versions of')). |
$r->print('<h1>'.($env{'form.filetwo'}?'':&mt('Compare versions of')). |
Line 192 sub handler {
|
Line 190 sub handler {
|
} else { |
} else { |
$r->print('<h1><font color=red>'.&mt('Binary File').'</font></h1>'); |
$r->print('<h1><font color=red>'.&mt('Binary File').'</font></h1>'); |
} |
} |
$r->print('<center><a href="javascript:window.close();">'.&mt('Close This Window').'</a></center></body></html>'); |
$r->print('<center><a href="javascript:window.close();">'.&mt('Close This Window').'</a></center>'); |
|
$r->print(&Apache::loncommon::end_page()); |
return OK; |
return OK; |
} |
} |
|
|