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

Arrow heads in breadcrumbs not showing correctly in themes bundled with Moodle

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: STABLE backlog
    • Component/s: Themes
    • Labels:
      None
    • Environment:
      IE 6
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      The arrowheads weren't showing in IE 6 using Formal white (nav bar and calendar). Andrea Bicciolo quickly fixed the font issue so the arrows show now but they show without a space before them (see attached image).

      Thought I'd check all themes and results where:

      • Orange white (and the PDA version) has the font issue - arrows don' show
      • Custom corners is fine
      • All other bundled themes show the arrows but without spaces in front of the arrows

      Initial forum post: http://moodle.org/mod/forum/discuss.php?d=91942

        Gliffy Diagrams

          Activity

          Hide
          mattgibson Matt Gibson added a comment -

          I recently re-created the moodle.org stars rating scale for my students to use and many said that the stars don't display properly at home - they come up as squares just like the orangewhite example above. Is this a related problem?

          Show
          mattgibson Matt Gibson added a comment - I recently re-created the moodle.org stars rating scale for my students to use and many said that the stars don't display properly at home - they come up as squares just like the orangewhite example above. Is this a related problem?
          Hide
          harrysmith Just H added a comment -

          Somewhere along the lines the font issue seems to have crept back in. Not sure when (try to avoid using IE!) but noticed today the arrows where back to boxes, checked fw_fonts.css and sure enough, Verdana was back in? (Moodle 1.9+, Build 20080428). After deleting Verdana and Geneva from the CSS, arrows back but still with no space before them.

          Show
          harrysmith Just H added a comment - Somewhere along the lines the font issue seems to have crept back in. Not sure when (try to avoid using IE!) but noticed today the arrows where back to boxes, checked fw_fonts.css and sure enough, Verdana was back in? (Moodle 1.9+, Build 20080428). After deleting Verdana and Geneva from the CSS, arrows back but still with no space before them.
          Hide
          adamann2 Ann Adamcik added a comment -

          For the spacing issue, there are regular spaces inserted before and after the separator, so the generated code for a list item looks like this:

          <li class="first"> <span class="accesshide " >/ </span><span class="arrow sep">►</span> Administration</li>

          Firefox renders both spaces, but IE(6&7) collapses that first space. Using non-breaking spaces instead will render the same in both browsers. Here's a patch -

          Index: weblib.php
          ===================================================================
          RCS file: /cvsroot/moodle/moodle/lib/weblib.php,v
          retrieving revision 1.970.2.80
          diff -c -r1.970.2.80 weblib.php

              • weblib.php 29 Apr 2008 05:07:57 -0000 1.970.2.80
              • weblib.php 7 May 2008 10:34:55 -0000
                ***************
              • 3546,3552 ****
                */
                function get_separator() { //Accessibility: the 'hidden' slash is preferred for screen readers. ! return ' '.link_arrow_right($text='/', $url='', $accesshide=true, 'sep').' '; }

          /**
          — 3546,3552 ----
          */
          function get_separator()

          { //Accessibility: the 'hidden' slash is preferred for screen readers. ! return ' '.link_arrow_right($text='/', $url='', $accesshide=true, 'sep').' '; }

          /**

          Show
          adamann2 Ann Adamcik added a comment - For the spacing issue, there are regular spaces inserted before and after the separator, so the generated code for a list item looks like this: <li class="first"> <span class="accesshide " >/ </span><span class="arrow sep">►</span> Administration</li> Firefox renders both spaces, but IE(6&7) collapses that first space. Using non-breaking spaces instead will render the same in both browsers. Here's a patch - Index: weblib.php =================================================================== RCS file: /cvsroot/moodle/moodle/lib/weblib.php,v retrieving revision 1.970.2.80 diff -c -r1.970.2.80 weblib.php weblib.php 29 Apr 2008 05:07:57 -0000 1.970.2.80 weblib.php 7 May 2008 10:34:55 -0000 *************** 3546,3552 **** */ function get_separator() { //Accessibility: the 'hidden' slash is preferred for screen readers. ! return ' '.link_arrow_right($text='/', $url='', $accesshide=true, 'sep').' '; } /** — 3546,3552 ---- */ function get_separator() { //Accessibility: the 'hidden' slash is preferred for screen readers. ! return ' '.link_arrow_right($text='/', $url='', $accesshide=true, 'sep').' '; } /**
          Hide
          nadavkav Nadav Kavalerchik added a comment -

          Fixed in Moodle 2.x

          And since Moodle 1.9.X is not in development anymore... Closing

          Show
          nadavkav Nadav Kavalerchik added a comment - Fixed in Moodle 2.x And since Moodle 1.9.X is not in development anymore... Closing

            People

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

              Dates

              • Created:
                Updated:
                Resolved: