Commit 0c2420a70f3b5ca0fb4a3bc375c874f375e4d6ee

Authored by DFNVC
1 parent 7688b131ef
Exists in master

Links zu Aufnahmen korrigiert. Wurden bei Moodle-Installationen, die

sich in Unterverzeichnissen befinden falsch generiert.

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -109,9 +109,9 @@ class mod_adobeconnect_renderer extends plugin_renderer_base {
109 109 if (!empty($recordinggrp)) {
110 110 foreach($recordinggrp as $recording_scoid => $recording) {
111 111 // recording url
112   - $url = '/mod/adobeconnect/joinrecording.php?id=' . $cmid . '&recording='. $recording_scoid . '&groupid='. $groupid . '&sesskey=' . $USER->sesskey;
  112 + $url = $CFG->wwwroot . '/mod/adobeconnect/joinrecording.php?id=' . $cmid . '&recording='. $recording_scoid . '&groupid='. $groupid . '&sesskey=' . $USER->sesskey;
113 113 // recording name
114   - $name = '<img src="/pix/e/insert_edit_video.svg"/>&nbsp;&nbsp;';
  114 + $name = '<img src="' . $CFG->wwwroot .'/pix/e/insert_edit_video.svg"/>&nbsp;&nbsp;';
115 115 $name .= html_writer::link($url, format_string($recording->name), array('target' => '_blank','title'=>'Play Recording'));
116 116 // start date
117 117 $startdate = format_string($recording->startdate);
... ... @@ -132,7 +132,7 @@ class mod_adobeconnect_renderer extends plugin_renderer_base {
132 132 array_push($row, $action);
133 133 // Help
134 134 $param = array('target' => '_blank','title'=>get_string('record_convert_help','adobeconnect'));
135   - $help = html_writer::link("/help.php?component=adobeconnect&identifier=convert_recording&lang=$COURSE->lang", '<img alt="' . get_string('record_convert_help','adobeconnect') . '" src="/pix/help.svg" />', $param);
  135 + $help = html_writer::link($CFG->wwwroot . "/help.php?component=adobeconnect&identifier=convert_recording&lang=$COURSE->lang", '<img alt="' . get_string('record_convert_help','adobeconnect') . '" src="' . $CFG->wwwroot .'/pix/help.svg" />', $param);
136 136 array_push($row, $help);
137 137 }
138 138 $table->data[] = $row;