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

template/ucp_main_front.html does not correctly handle active topic with the name "0"

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.10
    • Fix Version/s: 3.0.11-RC1
    • Component/s: Styles
    • Labels:
      None

      Description

      Just a small fix that has been applied to memberlist_view.html and is still missed in ucp_main_front.html

      Find:
      <td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="

      {U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><Unable to render embedded object: File (-- ELSE --><span class="gen">-</span><) not found.-- ENDIF --></td>

      Replace With:
      <td><!-- IF ACTIVE_FORUM != '' --><b><a class="gen" href="{U_ACTIVE_FORUM}

      ">

      {ACTIVE_FORUM}

      </a></b><br /><span class="genmed">[

      {ACTIVE_FORUM_POSTS}

      /

      {ACTIVE_FORUM_PCT}

      ]</span><Unable to render embedded object: File (-- ELSE --><span class="gen">-</span><) not found.-- ENDIF --></td>

      Find:
      <td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="

      {U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><Unable to render embedded object: File (-- ELSE --><span class="gen">-</span><) not found.-- ENDIF --></td>

      Replace With:
      <td><!-- IF ACTIVE_TOPIC != '' --><b><a class="gen" href="{U_ACTIVE_TOPIC}

      ">

      {ACTIVE_TOPIC}

      </a></b><br /><span class="genmed">[

      {ACTIVE_TOPIC_POSTS}

      /

      {ACTIVE_TOPIC_PCT}

      ]</span><Unable to render embedded object: File (-- ELSE --><span class="gen">-</span><) not found.-- ENDIF --></td>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Oleg Oleg [X] (Inactive)
                Reporter:
                Mighty Gorgon Luca Libralato [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: