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

Course search box id defined twice

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.9
    • Fix Version/s: 1.8.5
    • Component/s: Accessibility
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      ask for w3c validation at the adress: http://validator.w3.org/
      for the page: http://moodle.org/course/category.php?id=1
      Seven errors.

      The worst is: Line 133, Column 614: ID "coursesearchbox" already defined. How can this be possible? This bug is serious!!!!!!

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            daniss Daniele Cordella added a comment -

            It comes from the two edit fields to look for a course.

            Show
            daniss Daniele Cordella added a comment - It comes from the two edit fields to look for a course.
            Hide
            adamann2 Ann Adamcik added a comment -

            It looks like this has been fixed. Our 1.8.2+ (updated October 5) has only one coursesearchbox on this page, and does validate correctly.

            Show
            adamann2 Ann Adamcik added a comment - It looks like this has been fixed. Our 1.8.2+ (updated October 5) has only one coursesearchbox on this page, and does validate correctly.
            Hide
            daniss Daniele Cordella added a comment - - edited

            I disagree.
            It follows the w3c validator output I get.

            Validation Output: 5 Errors

            1. Error Line 125, Column 816: there is no attribute "hspace".

            ...ertificate" alt="Certificate" hspace="0" src="http://moodle.org/file.php/48/m

            2. Error Line 125, Column 884: there is no attribute "border".

            ....php/48/misc/cert_small2.jpg" border="0" /><br /></div><p style="font-family:

            3. Error Line 125, Column 985: there is no attribute "color".

            ...,sans-serif">The <strong><font color="#cc6600">Moodle Teacher <span class="no

            4. Error Line 125, Column 994: element "font" undefined.

            ...if">The <strong><font color="#cc6600">Moodle Teacher <span class="nolink">Cer

            5. Error Line 127, Column 644: ID "coursesearchbox" already defined.

            ...rses: </label><input type="text" id="coursesearchbox" size="30" name="search"

            6. Info Line 94, Column 239: ID "coursesearchbox" first defined here.

            ...rses: </label><input type="text" id="coursesearchbox" size="20" name="search"

            Show
            daniss Daniele Cordella added a comment - - edited I disagree. It follows the w3c validator output I get. Validation Output: 5 Errors 1. Error Line 125, Column 816: there is no attribute "hspace". ...ertificate" alt="Certificate" hspace="0" src="http://moodle.org/file.php/48/m 2. Error Line 125, Column 884: there is no attribute "border". ....php/48/misc/cert_small2.jpg" border="0" /><br /></div><p style="font-family: 3. Error Line 125, Column 985: there is no attribute "color". ...,sans-serif">The <strong><font color="#cc6600">Moodle Teacher <span class="no 4. Error Line 125, Column 994: element "font" undefined. ...if">The <strong><font color="#cc6600">Moodle Teacher <span class="nolink">Cer 5. Error Line 127, Column 644: ID "coursesearchbox" already defined. ...rses: </label><input type="text" id="coursesearchbox" size="30" name="search" 6. Info Line 94, Column 239: ID "coursesearchbox" first defined here. ...rses: </label><input type="text" id="coursesearchbox" size="20" name="search"
            Hide
            poltawski Dan Poltawski added a comment -

            The top few errors are a problem with the course description of the Moodle Teacher Certifcate Course & should be filled as a MDLSITE bug.

            The search courses id bug is a bug though.

            Show
            poltawski Dan Poltawski added a comment - The top few errors are a problem with the course description of the Moodle Teacher Certifcate Course & should be filled as a MDLSITE bug. The search courses id bug is a bug though.
            Hide
            tsala Helen Foster added a comment -

            As well as testing , I'll edit the Moodle Certification course description.

            Show
            tsala Helen Foster added a comment - As well as testing , I'll edit the Moodle Certification course description.
            Hide
            tsala Helen Foster added a comment -

            http://moodle.org/course/category.php?id=1 now passes validation. Thanks Dongsheng

            Show
            tsala Helen Foster added a comment - http://moodle.org/course/category.php?id=1 now passes validation. Thanks Dongsheng
            Hide
            daniss Daniele Cordella added a comment -

            Thank you.

            Show
            daniss Daniele Cordella added a comment - Thank you.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Apr/08