cvs: smarty /docs/en/designers/language-custom-functions language-function-html-table.xml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1096357978@cvsserver>
messju		Tue Sep 28 03:52:58 2004 EDT

  Modified files:              
    /smarty/docs/en/designers/language-custom-functions	
                                                       	language-function-html-table.xml 
  Log:
  updates on documentation of rows, cols and inner attributes for
  html_table
  
  
  
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions/language-function-html-table.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-custom-functions/language-function-html-table.xml
diff -u smarty/docs/en/designers/language-custom-functions/language-function-html-table.xml:1.3 smarty/docs/en/designers/language-custom-functions/language-function-html-table.xml:1.4
--- smarty/docs/en/designers/language-custom-functions/language-function-html-table.xml:1.3	Mon Sep 20 14:07:29 2004
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-table.xml	Tue Sep 28 03:52:57 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 		<sect1 id="language.function.html.table">
 			<title>html_table</title>
             <informaltable frame="all">
@@ -31,19 +31,24 @@
                         <entry>integer</entry>
                         <entry>No</entry>
                         <entry><emphasis>3</emphasis></entry>
-                        <entry>number of columns in the table,
-                        data populates cells left-to-right,
-                        top-to-bottom.</entry>
+                        <entry>number of columns in the table. if the cols-attribute is empty, but rows are given, then the number of cols is computed by the number of rows and the number of elements to display to be just enough cols to display all elements. If both, rows and cols, are omitted cols defaults to 3.</entry>
                     </row>
                     <row>
                         <entry>rows</entry>
                         <entry>integer</entry>
                         <entry>No</entry>
                         <entry><emphasis>empty</emphasis></entry>
-                        <entry>number of rows in the table, data populates
-                        cells top-to-bottom, left-to-right. This is mutually
-                        exclusive with "cols" attribute.</entry>
+                        <entry>number of rows in the table. if the rows-attribute is empty, but cols are given, then the number of rows is computed by the number of cols and the number of elements to display to be just enough rows to display all elements.</entry>
                     </row>
+
+                    <row>
+                        <entry>inner</entry>
+                        <entry>string</entry>
+                        <entry>No</entry>
+                        <entry><emphasis>cols</emphasis></entry>
+                        <entry>direction of consecutive elements in the loop-array to be rendered. <emphasis>cols</emphasis> means elements are displayed col-by-col. <emphasis>rows</emphasis> means elements are displayed row-by-row.</entry>
+                    </row>
+
                     <row>
                         <entry>table_attr</entry>
                         <entry>string</entry>

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.