Skip to content

Commit

Permalink
Merge branch 'MDL-66847-38' of git://github.com/lucaboesch/moodle int…
Browse files Browse the repository at this point in the history
…o MOODLE_38_STABLE
  • Loading branch information
sarjona committed Feb 11, 2020
2 parents 5e3aad0 + 82fa814 commit 659795e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions webservice/wsdoc.php
Expand Up @@ -35,17 +35,18 @@
// PAGE settings
$PAGE->set_context($usercontext);
$PAGE->set_url('/user/wsdoc.php');
$PAGE->set_title(get_string('documentation', 'webservice'));
$PAGE->set_heading(get_string('documentation', 'webservice'));
$PAGE->set_title(get_string('wsdocumentation', 'webservice'));
$PAGE->set_heading(get_string('wsdocumentation', 'webservice'));
$PAGE->set_pagelayout('standard');

// nav bar
$PAGE->navbar->ignore_active(true);
$PAGE->navbar->add(get_string('usercurrentsettings'));
$PAGE->navbar->add(get_string('preferences'), new moodle_url('/user/preferences.php'));
$PAGE->navbar->add(get_string('useraccount'));
$PAGE->navbar->add(get_string('securitykeys', 'webservice'),
new moodle_url('/user/managetoken.php',
array('id' => $tokenid, 'sesskey' => sesskey())));
$PAGE->navbar->add(get_string('documentation', 'webservice'));
$PAGE->navbar->add(get_string('wsdocumentation', 'webservice'));

// check web service are enabled
if (empty($CFG->enablewsdocumentation)) {
Expand Down

0 comments on commit 659795e

Please sign in to comment.