Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17202

The bidi.css File Is Loaded When Viewing LTR Topic Print View Page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.12-RC1
    • 3.3.11
    • Styles

      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 - but doesn't need to be loaded for non RTL languages.

       

      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.

       

      Template: viewtopic_print.html

       

      Find:

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

      Change To:

      {% if S_CONTENT_DIRECTION eq 'rtl' %}
          <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet">
      {% endif %}

       

       

      Note:

      I reported this bug previously, see: tracker.phpbb.com/browse/PHPBB3-17040

      The pm print view template has been fixed but the topic print template has been missed.

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

              Created:
              Updated:
              Resolved: