| … | |
… | |
| 110 | if ($user) { |
110 | if ($user) { |
| 111 | $URL = "http://$hostname:$port" |
111 | $URL = "http://$hostname:$port" |
| 112 | . $ce->{webworkURLs}->{root} |
112 | . $ce->{webworkURLs}->{root} |
| 113 | . "/" . $ce->{courseName} |
113 | . "/" . $ce->{courseName} |
| 114 | . ($set |
114 | . ($set |
| 115 | ? "/".$problem->set_id . ($problem ? "/".$problem->id : "") |
115 | ? "/".$problem->set_id . ($problem ? "/".$problem->problem_id : "") |
| 116 | : "") |
116 | : "") |
| 117 | . "/?" |
117 | . "/?" |
| 118 | . ($problem |
118 | . ($problem |
| 119 | ? "&displayMode=$displayMode" |
119 | ? "&displayMode=$displayMode" |
| 120 | . "&showOldAnswers=$showOldAnswers" |
120 | . "&showOldAnswers=$showOldAnswers" |