phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
Find a file
Joas Schilling 0abb4a5ad3 [ticket/11805] Allow specifying the page in the route for pagination
Instead of "app.php?controller=news&start=10" authors might prefer having
the pagination in the route. So the sample link from above would be the
same as "app.php?controller=news/page/2". With this patch that is easily
possible. What you do is, you specify the $base_url and $start_name as follows:

	$base_url = $controller_helper->url('news/page/%d');
	$start_name = '/page/%d'; // Part of the url that will be removed
				  // for page 1

Now this will generate:
	"news"		for start = 0
		"news/page/1" will work aswell, but will not be created
	"news/page/2"	for start = 10

PHPBB3-11805
2013-09-25 17:34:28 +02:00
build Merge remote-tracking branch 'upstream/develop' into ticket/11574 2013-07-14 15:27:25 -04:00
code_sniffer/phpbb [ticket/11227] @return void -> @return null in code sniffer. 2012-11-30 23:03:48 -05:00
git-tools [ticket/11630] Improvements to the PHP lint pre-commit hook 2013-07-06 12:16:59 -05:00
phpBB [ticket/11805] Allow specifying the page in the route for pagination 2013-09-25 17:34:28 +02:00
tests [ticket/11700] Use spaces, not tabs 2013-09-25 14:36:50 +02:00
travis [ticket/11700] travis has hardcoded driver class names without namespaces 2013-09-16 04:01:18 +02:00
.gitignore [feature/twig] Some additional operators, more stuff for IF 2013-06-12 12:48:37 -05:00
.travis.yml Merge branch 'develop-olympus' into develop 2013-05-28 01:17:32 +02:00
composer.phar [ticket/11527] Upgrade composer.phar to 1.0.0-alpha7. 2013-05-09 02:38:27 +02:00
phpunit.xml.all [ticket/11698] Moving all autoloadable files to phpbb/ 2013-07-14 01:32:34 -04:00
phpunit.xml.dist [ticket/11698] Moving all autoloadable files to phpbb/ 2013-07-14 01:32:34 -04:00
phpunit.xml.functional [ticket/11698] Moving all autoloadable files to phpbb/ 2013-07-14 01:32:34 -04:00
README.md Merge remote-tracking branch 'igorw/ticket/11061' into develop 2012-08-19 23:50:56 +02:00

phpBB

ABOUT

phpBB is a free bulletin board written in PHP.

COMMUNITY

Find support and lots more on phpBB.com! Discuss the development on area51.

INSTALLING DEPENDENCIES

To be able to run an installation from the repo (and not from a pre-built package) you need to run the following commands to install phpBB's dependencies.

cd phpBB
php ../composer.phar install --dev

CONTRIBUTE

  1. Create an account on phpBB.com
  2. Create a ticket (unless there already is one)
  3. Read our Git Contribution Guidelines; if you're new to git, also read the introduction guide
  4. Send us a pull request

AUTOMATED TESTING

We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration here or check our travis build below. develop - Build Status develop-olympus - Build Status

LICENSE

GNU General Public License v2