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

generate_pagination() should export the current page number as a template variable

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.9, 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Other
    • Labels:
      None

      Description

      Currently generate_pagination() adds a collection of variables to the template but doesn't provide the current page number, this is useful so template designers know what is the first and last post in a topic.

      See: http://area51.phpbb.com/phpBB/viewtopic.php?f=81&t=41649

        Activity

        Hide
        ToonArmy Chris Smith added a comment -

        It would appear the on_page() function sets ON_PAGE to the page number, but this is set independently of pagination.

        Show
        ToonArmy Chris Smith added a comment - It would appear the on_page() function sets ON_PAGE to the page number, but this is set independently of pagination.

          People

          • Assignee:
            ToonArmy Chris Smith
            Reporter:
            ToonArmy Chris Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development