cvs: smarty /docs/en/designers/language-modifiers language-modifier-truncate.xml
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1123187322@cvsserver> |
mohrt Thu Aug 4 16:28:42 2005 EDT
Modified files:
/smarty/docs/en/designers/language-modifiers
language-modifier-truncate.xml
Log:
update truncation documentation with "middle" feature
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-truncate.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-truncate.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-truncate.xml:1.2 smarty/docs/en/designers/language-modifiers/language-modifier-truncate.xml:1.3
--- smarty/docs/en/designers/language-modifiers/language-modifier-truncate.xml:1.2 Wed May 25 15:13:20 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-truncate.xml Thu Aug 4 16:28:39 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 id="language.modifier.truncate">
<title>truncate</title>
<informaltable frame="all">
@@ -32,7 +32,8 @@
<entry>string</entry>
<entry>No</entry>
<entry>...</entry>
- <entry>This is the text to append if truncation occurs.</entry>
+ <entry>This is a text string that replaces the truncated text. Its length
+ is NOT included in the truncation length setting.</entry>
</row>
<row>
<entry>3</entry>
@@ -42,6 +43,15 @@
<entry>This determines whether or not to truncate at a
word boundary (false), or at the exact character (true).</entry>
</row>
+ <row>
+ <entry>3</entry>
+ <entry>boolean</entry>
+ <entry>No</entry>
+ <entry>false</entry>
+ <entry>This determines whether the truncation happens at the end of the
+ string (false), or in the middle of the string (true). Note that if this
+ setting is true, then word boundaries are ignored.</entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
@@ -114,4 +124,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php