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

Can't comment out conditionals

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.x
    • Styles
    • None
    • PHP Environment:
      Database:

      Try commenting out a conditional in any template like so:

      <!-- <!-- IF WHATEVER --><br /><b>{WHATEVER }:</b><!-- ENDIF --> -->

      I wanted a few things to not display, but I wanted to leave the HTML in tact so that if I ever wanted to display it again I could just remove the comments.

      I'm no regex expert, but could this just be a simple change to check if the conditional occurs after the first comment tag?

            Acyd Burn Meik Sievertsen [X] (Inactive)
            the letter j the letter j
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: