From 708b330a7dc0ea07a3c0f2a8ec9f05f8ac8c47b2 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 15 Mar 2002 07:09:34 +0000 Subject: [PATCH] update Changelog --- NEWS | 3 +++ docs/designers.sgml | 20 ++++++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index c8e7b30d..e2a32deb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ + - wordwrap and indent are missing from 2.0 release, now fixed (Monte) + - removed show_info_header and show_info_include functions (Monte) + Version 2.0.0 ------------- - added "eval" function plugin for evaluating variables as diff --git a/docs/designers.sgml b/docs/designers.sgml index 8ce9daec..a0d02961 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -1168,23 +1168,27 @@ IF STRIKE ISN'T SETTLED QUICKLY IT MAY LAST A WHILE. {$articleTitle|wordwrap:30:"<br>\n"} -{$articleTitle|wordwrap:30:"\n":false} +{$articleTitle|wordwrap:30:"\n":true} OUTPUT: Blind woman gets new kidney from dad she hasn't seen in years. Blind woman gets new kidney -from dad she hasn't seen in years. +from dad she hasn't seen in +years. Blind woman gets new -kidney from dad she hasn't seen in years. +kidney from dad she +hasn't seen in +years. Blind woman gets new kidney<br> from dad she hasn't seen in years. Blind woman gets new kidney fr -om dad she hasn't seen in years. +om dad she hasn't seen in +years. @@ -1439,7 +1443,7 @@ s m o k e r s a r e p. . . the attribute "file", which contains the template resource path. - You an optionally pass the assign attribute, + You can optionally pass the assign attribute, which will specify a template variable name that the output of include will be assigned to instead of displayed. This was added to Smarty 1.5.0. @@ -1545,9 +1549,9 @@ s m o k e r s a r e p. . . before hand. - You an optionally pass the assign attribute, + You can optionally pass the assign attribute, which will specify a template variable name that the output of - include will be assigned to instead of + include_php will be assigned to instead of displayed. @@ -1671,7 +1675,7 @@ index.tpl If you supply the "assign" attribute, the output of the insert tag will be assigned to this template variable instead of being output - to the template. NOTE: assiging the output to a template variable + to the template. NOTE: assigning the output to a template variable isn't too useful with caching enabled. (added to Smarty 1.5.0)