diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-24 13:37:22 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-24 13:37:22 -0500 |
commit | 309ed5e5c32cb334986b53ca855e26dd483c2919 (patch) | |
tree | 195cf513fb509199821ebba3ab92fab4847f7260 /phpBB/includes/template/twig/tokenparser | |
parent | 1a0819bdc40fd6b40b556ba1739ae71214719b43 (diff) | |
download | forums-309ed5e5c32cb334986b53ca855e26dd483c2919.tar forums-309ed5e5c32cb334986b53ca855e26dd483c2919.tar.gz forums-309ed5e5c32cb334986b53ca855e26dd483c2919.tar.bz2 forums-309ed5e5c32cb334986b53ca855e26dd483c2919.tar.xz forums-309ed5e5c32cb334986b53ca855e26dd483c2919.zip |
[feature/twig] Fixing file header copyrights
PHPBB3-11598
Diffstat (limited to 'phpBB/includes/template/twig/tokenparser')
-rw-r--r-- | phpBB/includes/template/twig/tokenparser/begin.php | 28 | ||||
-rw-r--r-- | phpBB/includes/template/twig/tokenparser/define.php | 33 | ||||
-rw-r--r-- | phpBB/includes/template/twig/tokenparser/if.php | 30 | ||||
-rw-r--r-- | phpBB/includes/template/twig/tokenparser/include.php | 26 |
4 files changed, 28 insertions, 89 deletions
diff --git a/phpBB/includes/template/twig/tokenparser/begin.php b/phpBB/includes/template/twig/tokenparser/begin.php index 4a9933d680..0a2f2da40d 100644 --- a/phpBB/includes/template/twig/tokenparser/begin.php +++ b/phpBB/includes/template/twig/tokenparser/begin.php @@ -1,26 +1,12 @@ <?php - -/* - * This file is part of Twig. - * - * (c) 2009 Fabien Potencier - * (c) 2009 Armin Ronacher - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - /** - * Loops over each item of a sequence. - * - * <pre> - * <ul> - * {% for user in users %} - * <li>{{ user.username|e }}</li> - * {% endfor %} - * </ul> - * </pre> - */ +* +* @package phpBB3 +* @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + class phpbb_template_twig_tokenparser_begin extends Twig_TokenParser_For { /** diff --git a/phpBB/includes/template/twig/tokenparser/define.php b/phpBB/includes/template/twig/tokenparser/define.php index 8eb33c7ff9..83f537a1ea 100644 --- a/phpBB/includes/template/twig/tokenparser/define.php +++ b/phpBB/includes/template/twig/tokenparser/define.php @@ -1,31 +1,12 @@ <?php - -/* - * This file is part of Twig. - * - * (c) 2009 Fabien Potencier - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - /** - * Defines a variable. - * - * <pre> - * {% set foo = 'foo' %} - * - * {% set foo = [1, 2] %} - * - * {% set foo = {'foo': 'bar'} %} - * - * {% set foo = 'foo' ~ 'bar' %} - * - * {% set foo, bar = 'foo', 'bar' %} - * - * {% set foo %}Some content{% endset %} - * </pre> - */ +* +* @package phpBB3 +* @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + class phpbb_template_twig_tokenparser_define extends Twig_TokenParser_Set { public function decideBlockEnd(Twig_Token $token) diff --git a/phpBB/includes/template/twig/tokenparser/if.php b/phpBB/includes/template/twig/tokenparser/if.php index e47744093e..04ee048f94 100644 --- a/phpBB/includes/template/twig/tokenparser/if.php +++ b/phpBB/includes/template/twig/tokenparser/if.php @@ -1,28 +1,12 @@ <?php - -/* - * This file is part of Twig. - * - * (c) 2009 Fabien Potencier - * (c) 2009 Armin Ronacher - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - /** - * Tests a condition. - * - * <pre> - * {% if users %} - * <ul> - * {% for user in users %} - * <li>{{ user.username|e }}</li> - * {% endfor %} - * </ul> - * {% endif %} - * </pre> - */ +* +* @package phpBB3 +* @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + class phpbb_template_twig_tokenparser_if extends Twig_TokenParser_If { /** diff --git a/phpBB/includes/template/twig/tokenparser/include.php b/phpBB/includes/template/twig/tokenparser/include.php index 32e1cd331d..0f7e4faf8f 100644 --- a/phpBB/includes/template/twig/tokenparser/include.php +++ b/phpBB/includes/template/twig/tokenparser/include.php @@ -1,24 +1,12 @@ <?php - -/* - * This file is part of Twig. - * - * (c) 2009 Fabien Potencier - * (c) 2009 Armin Ronacher - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - /** - * Includes a template. - * - * <pre> - * {% include 'header.html' %} - * Body - * {% include 'footer.html' %} - * </pre> - */ +* +* @package phpBB3 +* @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + class phpbb_template_twig_tokenparser_include extends Twig_TokenParser_Include { /** |