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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0
    • None
    • Lesson
    • None
    • MOODLE_20_STABLE
    • Easy

    Description

      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'));

      Attachments

        Issue Links

          Activity

            People

              moodle.com moodle.com
              rezeau Joseph Rézeau
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              7 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: