version 1.54, 2009/06/05 12:24:14
|
version 1.56, 2010/05/03 16:41:54
|
Line 146 sub file_dialogs {
|
Line 146 sub file_dialogs {
|
$truefilename.'" />'. |
$truefilename.'" />'. |
'</span>'; |
'</span>'; |
my $makedefault_dialog = '<input type="submit" name="makedefault" '. |
my $makedefault_dialog = '<input type="submit" name="makedefault" '. |
'value="'.&mt('Save as & Make This Sheet the Default').'"/>'; |
'value="'.&mt('Save as & Make This Sheet the Default').'"/>'; |
# |
# |
my $link = '<a href="javascript:openbrowser'. |
my $link = '<a href="javascript:openbrowser'. |
"('sheet','loadfilename','spreadsheet')\">".&mt('Select Spreadsheet File')."</a>"; |
"('sheet','loadfilename','spreadsheet')\">".&mt('Select Spreadsheet File')."</a>"; |
Line 200 END
|
Line 200 END
|
sub handler { |
sub handler { |
my $r=shift; |
my $r=shift; |
# |
# |
# Overload checking |
|
# |
|
# Check this server |
|
my $loaderror=&Apache::lonnet::overloaderror($r); |
|
if ($loaderror) { return $loaderror; } |
|
# Check the course homeserver |
|
$loaderror= &Apache::lonnet::overloaderror($r, |
|
$env{'course.'.$env{'request.course.id'}.'.home'}); |
|
# if ($loaderror) { return $loaderror; } |
|
# |
|
# HTML Header |
# HTML Header |
# |
# |
if ($r->header_only) { |
if ($r->header_only) { |