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

[delete] dupe of 12304

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Invalid
    • Icon: Minor Minor
    • 3.1.0-b2
    • 3.1.0-b1
    • Styles
    • None

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

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

              Created:
              Updated:
              Resolved: