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

Add template identifier var to all missing pages

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b2
    • Fix Version/s: 3.1.0-b3
    • Component/s: Template Engine
    • Labels:
      None

      Description

      viewtopic.php has S_VIEWTOPIC
      viewforum.php has S_VIEWFORUM
      search.php has S_IN_SEARCH
      ucp.php has S_IN_UCP
      mcp.php has S_IN_MCP

      It would be good to have index.php, viewonline.php, faq.php, memberlist.php, posting.php and report.php use this method too.

      Why? The only other guaranteed method to get the page type is using the /

      {SCRIPT_NAME}

      variable, which is unreliable.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              PayBas PayBas [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: