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

    • MOODLE_19_STABLE
    • 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

            timhunt Tim Hunt
            jwhite10 John White
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10