#83 Removed unnecessary pop-up
This commit is contained in:
parent
69e872209f
commit
7b58fb9ae6
1 changed files with 0 additions and 1 deletions
1
view.php
1
view.php
|
@ -107,7 +107,6 @@ if (empty($action)) {
|
||||||
$linkname = get_string('getcustomcert', 'customcert');
|
$linkname = get_string('getcustomcert', 'customcert');
|
||||||
$link = new moodle_url('/mod/customcert/view.php', array('id' => $cm->id, 'action' => 'download'));
|
$link = new moodle_url('/mod/customcert/view.php', array('id' => $cm->id, 'action' => 'download'));
|
||||||
$downloadbutton = new single_button($link, $linkname);
|
$downloadbutton = new single_button($link, $linkname);
|
||||||
$downloadbutton->add_action(new popup_action('click', $link, 'customcertpopup', array('height' => 600, 'width' => 800)));
|
|
||||||
$downloadbutton = html_writer::tag('div', $OUTPUT->render($downloadbutton), array('style' => 'text-align:center'));
|
$downloadbutton = html_writer::tag('div', $OUTPUT->render($downloadbutton), array('style' => 'text-align:center'));
|
||||||
|
|
||||||
// Output all the page data.
|
// Output all the page data.
|
||||||
|
|
Loading…
Reference in a new issue