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, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Jake Dallimore, Jun Pataleta, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, 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