aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/docs/coding-guidelines.html
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-27 16:13:03 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-27 16:13:03 +0000
commitf5e0f060cd50cf3099d6e5cc12d8b390ed3b57ce (patch)
tree97a7c72b974d13fc5ecf4066eac9fa0096027607 /phpBB/docs/coding-guidelines.html
parent266797fddf049d89923d9885cfecd022d9875fb3 (diff)
downloadforums-f5e0f060cd50cf3099d6e5cc12d8b390ed3b57ce.tar
forums-f5e0f060cd50cf3099d6e5cc12d8b390ed3b57ce.tar.gz
forums-f5e0f060cd50cf3099d6e5cc12d8b390ed3b57ce.tar.bz2
forums-f5e0f060cd50cf3099d6e5cc12d8b390ed3b57ce.tar.xz
forums-f5e0f060cd50cf3099d6e5cc12d8b390ed3b57ce.zip
fixing...
git-svn-id: file:///svn/phpbb/trunk@7412 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/docs/coding-guidelines.html')
-rw-r--r--phpBB/docs/coding-guidelines.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html
index c877b73dc3..2ddc8e9971 100644
--- a/phpBB/docs/coding-guidelines.html
+++ b/phpBB/docs/coding-guidelines.html
@@ -1167,7 +1167,7 @@ append_sid(&quot;{$phpbb_root_path}memberlist.$phpEx&quot;, 'mode=group&amp;amp;
<h3>Variables</h3>
<p>All template variables should be named appropriately (using underscores for spaces), language entries should be prefixed with L_, system data with S_, urls with U_, javascript urls with UA_, language to be put in javascript statements with LA_, all other variables should be presented 'as is'.</p>
-<p>L_* template variables are automatically tried to be mapped to the corresponding language entry if the code does not set (and therefore overwrite) this variable specifically. For example <code>{L_USERNAME}</code> maps to <code>$user-&gt;lang['USERNAME']</code>. The LA_* template variables are handled within the same way, but properly escaped to be put in javascript code. This should reduce the need to assign loads of new lang vars in Mods.
+<p>L_* template variables are automatically tried to be mapped to the corresponding language entry if the code does not set (and therefore overwrite) this variable specifically. For example <code>{L_USERNAME}</code> maps to <code>$user-&gt;lang['USERNAME']</code>. The LA_* template variables are handled within the same way, but properly escaped to be put in javascript code. This should reduce the need to assign loads of new lang vars in Modifications.
</p>
<h3>Blocks/Loops</h3>