Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 19, 2017

Dans le fichier edit_form.php:

  • Modifier la ligne suivante : $mform->addElement('button', 'dessin', get_string('adddraw', 'ouwiki'), array('onclick'=>"window.open("http://moodle-dev.dinf.cll.qc.ca/mod/ouwiki/canvas/index.php\");"));

  • par la ligne : $mform->addElement('button', 'dessin', get_string('adddraw', 'ouwiki'), array('onclick'=>"window.open("$CFG->wwwroot/mod/ouwiki/canvas/index.php");"));
    Afin de rendre le lien relatif à l'instance en cours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants