diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-08-30 11:15:24 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-08-30 11:15:24 +0000 |
commit | fd24241044338f9210319398ae10bc6ad02983ea (patch) | |
tree | 959ee0b8d0ee3d1dff8958163eb779ed517d25a9 /phpBB/docs/coding-guidelines.html | |
parent | 36b8b94ea647930eb14edaf2e4b4d27ab56a05c9 (diff) | |
download | forums-fd24241044338f9210319398ae10bc6ad02983ea.tar forums-fd24241044338f9210319398ae10bc6ad02983ea.tar.gz forums-fd24241044338f9210319398ae10bc6ad02983ea.tar.bz2 forums-fd24241044338f9210319398ae10bc6ad02983ea.tar.xz forums-fd24241044338f9210319398ae10bc6ad02983ea.zip |
Revert INC/DEC feature. It is not consistent with the other template variables - bad idea. ;) We will get to it though... but not now.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10064 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/docs/coding-guidelines.html')
-rw-r--r-- | phpBB/docs/coding-guidelines.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 29fce50b54..8ac2e4e89d 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -1176,7 +1176,7 @@ append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&amp; <span class="comment"><!-- DEFINE $SOME_VAR = 'my_file.html' --></span> <span class="comment"><!-- INCLUDE {$SOME_VAR} --></span> </pre></div> - +<!-- no longer added in 3.0.6 <p>Also added in <strong>3.0.6</strong> is the ability to increment or decrement a variable on use. This can be used for instances like tabindexes, where the amount of entries is not statically known. The INC (for incrementing) and DEC (for decrementing) commands will print the <strong>current</strong> state of a defined var and then increment/decrement it by one (postincrement/postdecrement).</p> @@ -1187,7 +1187,7 @@ Result: 1<br /> <span class="comment">{$SOME_VAR}</span> Result: 2<br /> </pre></div> - +//--> <h4>PHP</h4> <p>A contentious decision has seen the ability to include PHP within the template introduced. This is achieved by enclosing the PHP within relevant tags:</p> |