Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-17040

bidi.css is loaded when viewing LTR print view pages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.3.8
    • 3.3.11
    • Styles
    • None

    Description

      If you view a topic and click 'print view' from the topic tools drop down, when the print template loads, the bidi.css file is loaded, this also happens when viewing the PM print view.

       

      The bidi.css file only needs to be loaded when using RTL languages so an if statement to load the bidi.css file could be used, just like the one in the overall_header.html and simple_header.html templates.

       

      Affected templates:

      viewtopic_print.html / ucp_pm_viewmessage_print.html

       

      Original code:

      <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet">

       

      Could be:

      <!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
          <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet">
      <!-- ENDIF -->

      Attachments

        Activity

          People

            Crizzo Crizzo
            ForumFlair ForumFlair
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: