Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39824 Simplification of themes
  3. MDL-39838

Add a renderer method to render a list of classes for the body

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: FRONTEND
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      Single call to render body classes including one class for each visible block region.

      Sample Layout code:

      <body ... class="<?php echo $OUTPUT->body_classes(); ?>">
      

      (The body id attribute is not shown here because there will be a separate issue about that)

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            gb2048 Gareth J Barnard added a comment - - edited

            I think this has already been integrated so should be resolved, please see screen shot 'mdl-39838_odd.png'?

            Show
            gb2048 Gareth J Barnard added a comment - - edited I think this has already been integrated so should be resolved, please see screen shot 'mdl-39838_odd.png'?
            Hide
            lazydaisy Mary Evans added a comment -

            Fixed in MDL-39824

            Show
            lazydaisy Mary Evans added a comment - Fixed in MDL-39824

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: