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

Whitespace in wiki search form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.1.7, 2.2.4
    • Component/s: Wiki (2.x)
    • Labels:

      Description

      Wiki pages have a wiki search form. There is a whitespace character between the input field and the aearch button. This makes the layout of search forms inconsitent.

      The problem is in the file mod/wiki/lib.php line 486.

      $output .= ' <input value="' . get_string('searchwikis', 'wiki') . '" type="submit" />';

      This is the fixed line:

      $output .= '<input value="' . get_string('searchwikis', 'wiki') . '" type="submit" />';

        Attachments

          Activity

            People

            Assignee:
            cfulton Charles Fulton
            Reporter:
            juonio Juho Viitasalo
            Peer reviewer:
            Ankit Agarwal
            Integrator:
            Sam Hemelryk
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jul/12