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

Pagination of UCP manage attachments page in prosilver does not support plural forms

XMLWordPrintable

      In styles/prosilver/template/ucp_attachments.html we have

      <h2>{L_TITLE}</h2>
       
      <div class="panel">
      	<div class="inner">
      	
      	<p>{L_ATTACHMENTS_EXPLAIN}</p>
       
      	<!-- IF .attachrow -->
      		<div class="action-bar top">
      			<div class="pagination">
      				{TOTAL_ATTACHMENTS} {L_TITLE}
      				<!-- IF .pagination --> 
      					<!-- INCLUDE pagination.html -->
      				<!-- ELSE --> 
      					 &bull; {PAGE_NUMBER}
      				<!-- ENDIF -->
      			</div>
      		</div>
      

      L_TITLE is UCP_ATTACHMENTS language entry which value is 'Attachments'.
      Thus, after the number of attachments value we have simply duplicated L_TITLE which leads to cases like '1 Attachments'.
      As far as 3.1 supports plural forms, this can be fixed.

            nickvergessen Joas Schilling
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: