fixed some typos, thank to mehdi

This commit is contained in:
messju
2003-04-27 23:55:58 +00:00
parent c4479805af
commit 74286b0c51
2 changed files with 3 additions and 3 deletions

View File

@@ -370,7 +370,7 @@ OUTPUT: (same for both examples)
{* display value of page from URL (GET) http://www.domain.com/index.php?page=foo *} {* display value of page from URL (GET) http://www.domain.com/index.php?page=foo *}
{$smarty.get.page} {$smarty.get.page}
{* display the variable "page" from a form a form (POST) *} {* display the variable "page" from a form (POST) *}
{$smarty.post.page} {$smarty.post.page}
{* display the value of the cookie "username" *} {* display the value of the cookie "username" *}
@@ -579,7 +579,7 @@ Cold Wave Linked to Temperatures.
index.php: index.php:
$smarty = new Smarty; $smarty = new Smarty;
$smarty->assign('articleTitle', 'Psychics predict world didn't end'); $smarty->assign('articleTitle', "Psychics predict world didn't end");
$smarty->display('index.tpl'); $smarty->display('index.tpl');
index.tpl: index.tpl:

View File

@@ -211,7 +211,7 @@ $smarty->autoload_filters = array('pre' => array('trim', 'stamp'),
<para> <para>
This tells Smarty whether or not to cache the output of the templates. This tells Smarty whether or not to cache the output of the templates.
By default this is set to 0, or disabled. If your templates generate By default this is set to 0, or disabled. If your templates generate
redundant redundant content, it is advisable to turn on caching. This redundant content, it is advisable to turn on caching. This
will result in significant performance gains. You can also have multiple will result in significant performance gains. You can also have multiple
caches for the same template. A value of 1 or 2 enables caching. 1 tells caches for the same template. A value of 1 or 2 enables caching. 1 tells
Smarty to use the current $cache_lifetime variable to determine if the Smarty to use the current $cache_lifetime variable to determine if the