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

Wrong class added to topiclist, when there's no announcement topic.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.7-PL1
    • 3.0.8-RC1
    • Styles
    • None
    • PHP 5.2.12, MySQL 5.1.43, Windows 7, Google Chrome

    Description

      If there are no announcement topics, the container for topiclist get the classes: "forumbg announcement".

      The code involved is line 126 in viewforum_body.html (Prosilver):

      <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH --> announcement<!-- ENDIF -->">

      If there's at least one announcement topic the code works, and only the container div for the list of announcement topic(s) get the class "announcement" appended, and the list of announcement topics is separated from the rest of the topics.

      If there are no announcement topcis the only container div for topiclist will still be appended with the class "announcements" in addition to the "forumbg" class.

      Hope I made it clear enough to understand.
      I talked to rxu on the irc channel about it as well, and was told to create a ticket here.

      Attachments

        Activity

          People

            nickvergessen Joas Schilling
            LadyAnna Anna Broman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: