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

[delete] dupe of 12304

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 3.1.0-b1
    • Fix Version/s: 3.1.0-b2
    • Component/s: Styles
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: