Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-25873

When adding a new Lesson "Content page", the "save page" button label wrongly says "Add a question page"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0
    • Lesson
    • None
    • MOODLE_20_STABLE
    • Easy

      When adding a new Lesson "Content page", the "save page" button label wrongly says "Add a question page".
      I suggest the following fix to display "Add a content page" when we are adding a Content page.
      file mod/lesson/locallib.php line 738:

      if ($this->qtype == LESSON_PAGE_BRANCHTABLE)

      { $stradd = 'addbranchtable'; }

      else

      { $stradd = 'addaquestionpage'; }

      $this->add_action_buttons(get_string('cancel'), get_string($stradd, 'lesson'));

            moodle.com Moodle HQ
            rezeau Joseph Rézeau
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.