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

PM folder not shown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.x
    • None
    • PHP Environment:
      Database:

      With the recent changes of the template system by david, the PM folders in UCP aren't displayed anymore. After downgrading the template.php and functions_template.php it works correctly(and deleting the cache).
      The code for the folders is

      <!-- IF S_PRIVMSGS -->
       
      				<!-- the ! at the beginning of the loop name forces the loop to be not a nested one of l_block1 (it gets parsed seperatly) -->
      				<!-- BEGIN !folder -->
      					<!-- IF folder.S_FIRST_ROW -->
      						<ul class="nav" style="margin: 0px; padding: 0px; list-style-type: none; line-height: 175%;">
      					<!-- ENDIF -->
       
      					<!-- IF folder.S_CUR_FOLDER -->
      						<li class="row2" style="padding: 1px 0;">&#187; <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li>
      					<!-- ELSE -->
      						<li>&#187; <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li>
      					<!-- ENDIF -->
       
      					<!-- IF folder.S_LAST_ROW -->
      						</ul>
      						<hr />
      					<!-- ENDIF -->
      				<!-- END !folder -->
       
      			<!-- ENDIF -->

      It looks like the tric with the ! doesn't work anymore.

            DavidMJ DavidMJ
            Paul Paul Sohier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: