Moodle
  1. Moodle
  2. MDL-10359

Arrows missing when assigning roles in certain Web browsers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.8, 1.8.1
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Rank:
      1828

      Description

      Arrow symbols missing when assigning roles (See screenshots). Initially we found that the arrows are missing in a lot of places in Firefox on a Mac. Then we found that a part of an arrow in Safari (both PC and Mac) are missing as well.

      Here is a proposed fix:
      in /lib/weblib.php (at around line 2834):

      [original]
      if (false !== strpos($uagent, 'Opera')

      false !== strpos($uagent, 'Mac')) {

      [suggest change to]

      if (false !== strpos($uagent, 'Safari')

      (false !== strpos ($uagent, 'Firefox') && false !== strpos($uagent, 'Mac'))) { // Looks good in Win XP/Mac/Opera 8/9, Mac/Firefox 2, Camino, Safari. // Not broken in Mac/IE 5, Mac/Netscape 7 (?). $THEME->rarrow = '>'; $THEME->larrow = '<'; }

      elseif (false !== strpos($uagent, 'Opera')) {
      // Looks good in Win XP/Mac/Opera 8/9, Mac/Firefox 2, Camino, Safari.
      // Not broken in Mac/IE 5, Mac/Netscape 7 .

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: