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

[delete] dupe of 12304

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Invalid
    • 3.1.0-b1
    • 3.1.0-b2
    • Styles
    • None

    Description

      When displaying forum rules, there is no way in proSilver to distinguish between a forum-rules "link", and regular forum rules text.

      This makes it very difficult to style the rules-link, because it will create a conflict with any <a> element inside regular forum rules text (which get the .postlink class). So I propose changing:

      <!-- IF U_FORUM_RULES -->
      <a href="

      {U_FORUM_RULES}">{L_FORUM_RULES}</a>
      <!-- ELSE -->
      <strong>{L_FORUM_RULES}</strong><br />
      {FORUM_RULES}
      <!-- ENDIF -->

      to:

      <!-- IF U_FORUM_RULES -->
      <a href="{U_FORUM_RULES}

      " class="rules-link">

      {L_FORUM_RULES}</a>
      <!-- ELSE -->
      <strong>{L_FORUM_RULES}

      </strong><br />

      {FORUM_RULES}

      <!-- ENDIF -->

      Attachments

        Activity

          People

            nickvergessen Joas Schilling
            PayBas PayBas [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: