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 Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: FRONTEND
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE
    • Rank:
      50584

      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)

        Issue Links

          Activity

          Hide
          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
          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
          Mary Evans added a comment -

          Fixed in MDL-39824

          Show
          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: