diff --git a/docs/designers.sgml b/docs/designers.sgml index 30f8f530..3de14047 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -370,7 +370,7 @@ OUTPUT: (same for both examples) {* display value of page from URL (GET) http://www.domain.com/index.php?page=foo *} {$smarty.get.page} -{* display the variable "page" from a form a form (POST) *} +{* display the variable "page" from a form (POST) *} {$smarty.post.page} {* display the value of the cookie "username" *} @@ -579,7 +579,7 @@ Cold Wave Linked to Temperatures. index.php: $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'); index.tpl: diff --git a/docs/programmers.sgml b/docs/programmers.sgml index c8bc49e8..adef0e95 100644 --- a/docs/programmers.sgml +++ b/docs/programmers.sgml @@ -211,7 +211,7 @@ $smarty->autoload_filters = array('pre' => array('trim', 'stamp'), 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 - 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 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