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

simplify dealing with headers/footers in admin sections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7, 1.8
    • 1.9
    • Administration
    • None
    • MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_19_STABLE

    Description

      The problem is in use of $adminroot - its value is the same as global $ADMIN, there is no need to pass it around in function parameters.
      Also we could allow using of normal print_footer() because we can detect if we printed special admin header before.

      Attachments

        Activity

          People

            skodak Petr Skoda
            skodak Petr Skoda
            Nobody Nobody
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08