aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-16 05:00:18 +0200
committerNils Adermann <naderman@naderman.de>2013-09-16 05:00:18 +0200
commit390dc86344c23b658085bae4a719399e5eb579f0 (patch)
tree3c915606ea24a149ef78c21f72663e4ceae60661 /phpBB/phpbb/template
parentee1c15fe7e1d0c823026d2b63ceab276eb878ab0 (diff)
downloadforums-390dc86344c23b658085bae4a719399e5eb579f0.tar
forums-390dc86344c23b658085bae4a719399e5eb579f0.tar.gz
forums-390dc86344c23b658085bae4a719399e5eb579f0.tar.bz2
forums-390dc86344c23b658085bae4a719399e5eb579f0.tar.xz
forums-390dc86344c23b658085bae4a719399e5eb579f0.zip
[ticket/11700] And some last comments with backslashes
PHPBB3-11700
Diffstat (limited to 'phpBB/phpbb/template')
-rw-r--r--phpBB/phpbb/template/context.php4
-rw-r--r--phpBB/phpbb/template/twig/node/event.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/template/context.php b/phpBB/phpbb/template/context.php
index 263f77a1b8..f978f82d33 100644
--- a/phpBB/phpbb/template/context.php
+++ b/phpBB/phpbb/template/context.php
@@ -160,7 +160,7 @@ class context
}
// Now we add the block that we're actually assigning to.
- // We're adding a new \iteration to this block with the given
+ // We're adding a new iteration to this block with the given
// variable assignments.
$str[$blocks[$blockcount]][] = $vararray;
@@ -192,7 +192,7 @@ class context
unset($this->tpldata[$blockname][($s_row_count - 1)]['S_LAST_ROW']);
}
- // Add a new \iteration to this block with the variable assignments we were given.
+ // Add a new iteration to this block with the variable assignments we were given.
$this->tpldata[$blockname][] = $vararray;
// Set S_NUM_ROWS
diff --git a/phpBB/phpbb/template/twig/node/event.php b/phpBB/phpbb/template/twig/node/event.php
index 1fc85ab4a2..202db775ee 100644
--- a/phpBB/phpbb/template/twig/node/event.php
+++ b/phpBB/phpbb/template/twig/node/event.php
@@ -20,7 +20,7 @@ if (!defined('IN_PHPBB'))
class event extends \Twig_Node
{
- /**
+ /**
* The subdirectory in which all template listener files must be placed
* @var string
*/
@@ -56,7 +56,7 @@ class event extends \Twig_Node
// If debug mode is enabled, lets check for new/removed EVENT
// templates on page load rather than at compile. This is
// slower, but makes developing extensions easier (no need to
- // purge the cache when a new \event template file is added)
+ // purge the cache when a new event template file is added)
$compiler
->write("if (\$this->env->getLoader()->exists('@{$ext_namespace}/{$location}.html')) {\n")
->indent()