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

Moodle quiz secure mode & theme bootstrap clean improvement

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-49659_master
    • Easy
    • Hide

      Testing Instructions

      1. Using either the 'Clean' or the 'More' theme:
      2. Create a quiz with Browser security: set to "Full screen pop-up with some JavaScript security".
      3. As a Student, start an attempt at the quiz.
      4. Verify that although you can see your name in the navbar (top-right) there is no link to 'Log out'.
      5. Verify also that there is no link back to the Home page if you click in the top-left section of the navbar.
      Show
      Testing Instructions Using either the 'Clean' or the 'More' theme: Create a quiz with Browser security: set to "Full screen pop-up with some JavaScript security". As a Student, start an attempt at the quiz. Verify that although you can see your name in the navbar (top-right) there is no link to 'Log out'. Verify also that there is no link back to the Home page if you click in the top-left section of the navbar.

      My name is Andreas Hruska and we developed the current Moodle theme for ETH Zürich based on Moodle clean/bootstrap theme.

      ETH Zürich is the developer/provider of Safe Exam Browser http://www.safeexambrowser.org/news_de.html
      and requested two features to their theme in order to work as desired in the safe exam browser mode:

      1.) The Moodle $SITE->shortname in the header MUST NOT be a link since it provides users an option to leave a quiz in an undesired manner.

      2.) The name of the current user shall be displayed in the header without a link to the user profile in order to provide information for assessors who is logged in and once again to avoid leaving the quiz via a link.

      These requests were implemented by changing just 2 lines in layout/secure.php of the ethz theme.

      Since Safe Exam Browser is used ba a lot of Moodle Users the ETH requested to include these changes into the Moodle Core Code (bootstrap and clean themes) in order to provide an easy solution for all Safe Exam Browser Users.

      I attached the modified secure.php files and a corresponding diff.

      What are the next steps needed to get these into Moodle core?

      If desired we chan also make this an adminsetting for the themes clean and bootstrap so admins can choose the current behavior or the new more secure one.

      Your advice aould be very much appreciated.

      Best regards from Austria

      Andreas Hruska

        1. MDL-49659-small-screen-collaped-navbar.jpg
          MDL-49659-small-screen-collaped-navbar.jpg
          67 kB
        2. secure.diff
          0.2 kB
        3. secure-bootstrap.php
          3 kB
        4. secure-ethz.php
          3 kB

            lazydaisy Mary Evans
            ahruska Andreas Hruska
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.