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

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

    XMLWordPrintable

Details

    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 - 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.

      Attachments

        Activity

          People

            Marc Marc
            ForumFlair ForumFlair [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: