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

"Place inline" button appears when BBcode is disabled (Post settings)

    XMLWordPrintable

Details

    Description

      Consider a board where BBcode is entirely disabled by the administrator, whereas the attachment is enabled. The button "Place inline" (included in the posting_attach_body.html template) is still displayed, unlike other BBcode buttons.

      The visual effect of attachment BBcode is the same as other BBcodes (no render) when BBcode is disabled. Therefore, the "Place inline" button should be hidden like other BBcode buttons.

      edit: in fact, the problem is the missing S_INLINE_ATTACHMENT_OPTIONS condition for the first iteration of the input button with {L_PLACE_INLINE} value.

      Attachments

        Activity

          People

            Marc Marc
            Big Monstro Big Monstro [X] (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: