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

Hardcoded colon in subforums list

XMLWordPrintable

      In subforums list, under the parent forum description, it appears there is an harcoded colon. It doesn't affect moderators list. See the screenshot for more understanding.

      Here my proposed patch:

      OPEN: styles/prosilver/template/forumlist_body.html

      FIND:

      <br /><strong>{forumrow.L_SUBFORUM_STR}</strong>
      

      REPLACE WITH:

      <br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
      

      OPEN: includes/functions_display.php

      FIND:

      $l_subforums = (sizeof($subforums[$forum_id]) == 1) ? $user->lang['SUBFORUM'] . ': ' : $user->lang['SUBFORUMS'] . ': ';
      

      REPLACE WITH:

      $l_subforums = (sizeof($subforums[$forum_id]) == 1) ? $user->lang['SUBFORUM'] : $user->lang['SUBFORUMS'];
      

            nickvergessen Joas Schilling
            Maël Soucaze Maël Soucaze [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: