diff --git a/docs/en/designers/language-basic-syntax/language-syntax-comments.xml b/docs/en/designers/language-basic-syntax/language-syntax-comments.xml
index 850455a4..ca4b215d 100644
--- a/docs/en/designers/language-basic-syntax/language-syntax-comments.xml
+++ b/docs/en/designers/language-basic-syntax/language-syntax-comments.xml
@@ -5,18 +5,21 @@
Template comments are surrounded by asterisks, and that is surrounded
by the
- delimiter
+ delimiter
tags like so: {* this is a comment *}
Smarty comments are NOT displayed in the final output of the template,
unlike <!-- HTML comments -->
- and are useful for making internal notes in the templates.
+ these are useful for making internal notes in the templates which no one will see;-).
- Comments
+ Comments within a template
{* I am a Smarty comment, I don't exist in the compiled output *}
+
+{$title}
+
+
{* another single line smarty comment *}
@@ -34,11 +37,11 @@ Multi line comment block with credits block
@ css: the style output
**********************************************************}
-{* include the header file *}
+{* The header file with the main logo and stuff *}
{include file='header.tpl'}
-{* Dev note: the $includeFile is assigned in foo.php script *}
+{* Dev note: the $includeFile var is assigned in foo.php script *}
{include file=$includeFile}
@@ -49,9 +52,10 @@ Multi line comment block with credits block
*}
-{* cvs tag for a template *}
+{* cvs tag for a template, below the 36 SHOULD be an american currency
+. however its converted in cvs.. *}
{* $Id: Exp $ *}
-
+{* $Id: *}
]]>
diff --git a/docs/en/designers/language-basic-syntax/language-syntax-functions.xml b/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
index df1d6d41..748e45a6 100644
--- a/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
+++ b/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
@@ -3,13 +3,13 @@
Functions
- Each Smarty tag either prints a
+ Every Smarty tag either prints a
variable or invokes some sort
- of function. Functions are processed and displayed by enclosing the
+ of function. These are processed and displayed by enclosing the
function and its
attributes
- into delimiters like so: {funcname
- attr1='val1' attr2='val2'}.
+ within delimiters like so: {funcname
+ attr1='val1' attrto='val2'}.
function syntax
@@ -20,10 +20,10 @@
{include file='header.tpl'}
{insert file='banner_ads.tpl'}
-{if $highlight_name}
+{if $logged_in}
Welcome, {$name}!
{else}
- Welcome, {$name}!
+ hi, {$name}
{/if}
{include file='footer.tpl'}
@@ -40,7 +40,7 @@
{if},
{section} and
{strip}.
- They should not be modified.
+ There should be no need to change or modify them.
Custom functions are additional
functions implemented via plugins.
@@ -49,6 +49,10 @@
{popup}
are examples of custom functions.
+
+
+ See also register_function()
+