Moodle
  1. Moodle
  2. MDL-10606

Course search box id defined twice

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      28806

      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!!!!!!

        Activity

        Hide
        Daniele Cordella added a comment -

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

        Show
        Daniele Cordella added a comment - It comes from the two edit fields to look for a course.
        Hide
        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
        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
        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
        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
        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
        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
        Helen Foster added a comment -

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

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

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

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

        Thank you.

        Show
        Daniele Cordella added a comment - Thank you.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: