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

Maximum and Minimum limits on block width are hard-coded in several view pages.

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      In the following files the upper and lower limits of the bounded values calculated for block widths are hard-coded:

      /admin/stickyblocks.php
      /mod/chat/view.php
      /mod/data/view.php
      /mod/lesson/view.php
      /mod/lesson/action/continue.php
      /mod/quiz/view.php
      /mod/resource/lib.php
      /my/index.php
      /tag/index.php

      Consider replacing hard-coding with variables as index.php etc., as this prevent settings in $THEME (in the theme config.php) from having effect <180 or >210px.

      http://moodle.org/mod/forum/discuss.php?d=119595#p526666
      gives some details.

        Attachments

          Activity

            People

            • Assignee:
              timhunt Tim Hunt
              Reporter:
              jwhite10 John White
              Participants:
              Component watchers:
              Adrian Greeve, Damyon Wiese, Mihail Geshoski, Peter Dias, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Damyon Wiese, Mihail Geshoski, Peter Dias, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Damyon Wiese, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10