[freeside-commits] freeside/httemplate/elements customer-table.html, 1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Mon May 5 18:15:48 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv22679
Modified Files:
customer-table.html
Log Message:
put the documentation in a proper <%doc> section
Index: customer-table.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/customer-table.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- customer-table.html 6 May 2008 01:14:39 -0000 1.1
+++ customer-table.html 6 May 2008 01:15:46 -0000 1.2
@@ -1,15 +1,23 @@
-% # options example...
-% #
-% # #listrefs...
-% # 'header' => [ '#', 'Item' ],
-% # 'fields' => [
-% # 'column',
-% # sub { my ($row,$param) = @_; $param->{"column$row"}; },
-% # ],
-% # 'sizes' => [], # sizes ignored for immutable
-% # 'types' => ['immutable', ''], # immutable or ''/text
-% # 'param' => { column0 => 1 }, # preset column of row 0 to 1
-% #
+<%doc>
+
+Example:
+
+ include( '/elements/customer-table.html',
+
+ #listrefs...
+ 'header' => [ '#', 'Item' ],
+ 'fields' => [
+ 'column',
+ sub { my ($row,$param) = @_;
+ $param->{"column$row"};
+ },
+ ],
+ 'sizes' => [], # sizes ignored for immutable
+ 'types' => ['immutable', ''], # immutable or ''/text
+ 'param' => { column0 => 1 }, # preset column of row 0 to 1
+ )
+
+</%doc>
<SCRIPT TYPE="text/javascript">
More information about the freeside-commits
mailing list