| … | |
… | |
| 608 | CGI::endform(),"\n"; |
608 | CGI::endform(),"\n"; |
| 609 | |
609 | |
| 610 | # FIXME print editor link |
610 | # FIXME print editor link |
| 611 | # print editor link if the user is an instructor AND the file is not in temporary editing mode |
611 | # print editor link if the user is an instructor AND the file is not in temporary editing mode |
| 612 | if ($self->{permissionLevel}>=10 and ( (not defined($self->{edit_mode})) or $self->{edit_mode} eq 'savedFile') ) { |
612 | if ($self->{permissionLevel}>=10 and ( (not defined($self->{edit_mode})) or $self->{edit_mode} eq 'savedFile') ) { |
| 613 | print CGI::a({-href=>"/webwork/$courseName/instructor/pgProblemEditor/".$set->set_id. |
613 | print CGI::a({-href=>$ce->{webworkURLs}->{root}."/$courseName/instructor/pgProblemEditor/".$set->set_id. |
| 614 | '/'.$problem->problem_id.'?'.$self->url_authen_args},'Edit this problem'); |
614 | '/'.$problem->problem_id.'?'.$self->url_authen_args},'Edit this problem'); |
| 615 | } |
615 | } |
| 616 | |
616 | |
| 617 | print CGI::end_div(); |
617 | print CGI::end_div(); |
| 618 | |
618 | |