phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: etemplate/doc referenz.html,1.7,1.8


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/doc referenz.html,1.7,1.8
Date: Sat, 12 Oct 2002 12:36:31 -0400

Update of /cvsroot/phpgroupware/etemplate/doc
In directory subversions:/tmp/cvs-serv29793

Modified Files:
        referenz.html 
Log Message:
Many new stuff for the eTemplates:
- added vbox and hbox support: container to put widgets in one row or column
- complete rows and column can now be disabled (even with a simple comparison 
with a variable in content, eg. disabled if the var is empty)
- labels and helptexts from tpls with 'test' in there name, get no longer 
written to the lang-file
- update the documentation 

Index: referenz.html
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/doc/referenz.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** referenz.html       10 Oct 2002 11:28:53 -0000      1.7
--- referenz.html       12 Oct 2002 16:36:29 -0000      1.8
***************
*** 98,102 ****
                and referenz to the content by the id / name-field of each 
widget.
        <li>xul-files can contain an unlimited number of nested elements, where 
as the eTemplates xml-root-node
!               has to be a xul-grid and can not contain other grids or boxes 
as element.
                <i>This limitation might be removed in the near future, for now 
you have to use the non-xul-element
                &lt;template id="app.template_name"/> us load an other template 
by its name.</i>
--- 98,102 ----
                and referenz to the content by the id / name-field of each 
widget.
        <li>xul-files can contain an unlimited number of nested elements, where 
as the eTemplates xml-root-node
!               has to be a xul-grid and can not contain other grids as element 
(vbox and hbox are Ok).
                <i>This limitation might be removed in the near future, for now 
you have to use the non-xul-element
                &lt;template id="app.template_name"/> us load an other template 
by its name.</i>
***************
*** 183,188 ****
                Displayed in front of each widget (if not empty) or the widget 
is replacing a '%s' in the label
                itself. Eg. '%s Name' to have the label Name behind a checkbox.
                If the label starts with a '@' it is replaced by the value of 
the content-array at this
!               index (with the '@'-removed).
        </td>
  </tr>
--- 183,189 ----
                Displayed in front of each widget (if not empty) or the widget 
is replacing a '%s' in the label
                itself. Eg. '%s Name' to have the label Name behind a checkbox.
+               The label can contain variables, as descript for name.
                If the label starts with a '@' it is replaced by the value of 
the content-array at this
!               index (with the '@'-removed and after expanding the variables).
        </td>
  </tr>
***************
*** 487,497 ****
  <tr>
        <td><b>Image</b></td>
!       <td>&lt;image src="foo.gif" id="app.class.method"/></td>
        <td>yes</td>
        <td>image</td>
        <td>
                <b>shows an image</b><br>
!               <b>Label</b> xml: <b>src</b>: the name of the image to load, 
the image is search in the apps template-dirs<br>
!               <b>Name</b> xml: <b>id</b>: if set, a link to that methode = 
app.class.method is put around the image
        </td>
  </tr>
--- 488,499 ----
  <tr>
        <td><b>Image</b></td>
!       <td>&lt;image src="foo.gif" label="Get a foo" 
options="app.class.method"/></td>
        <td>yes</td>
        <td>image</td>
        <td>
                <b>shows an image</b><br>
!               <b>Label</b> xml: <b>label</b>: the label is shown as tooltip 
(like html-title)<br>
!               <b>Name</b> xml: <b>src</b>: the name of the image to load, the 
image is search in the apps template-dirs<br>
!               <b>Options</b> xml: <b>options</b>: if set, a link to that 
methode = app.class.method is put around the image
        </td>
  </tr>
***************
*** 534,538 ****
                                by the name<br>
                        <b>select-year, select-month, select-day</b>: options 
for year: ,start,end (start and end can be a number of
!                               years from now or if > 100 a absolut year)
  </tr>
  <tr>
--- 536,575 ----
                                by the name<br>
                        <b>select-year, select-month, select-day</b>: options 
for year: ,start,end (start and end can be a number of
!                               years from now or if > 100 a absolut year) 
!       </td>
! </tr>
! <tr>
!       <td><b>FileUpload</b></td>
!       <td>
!               &lt;file id="name"/><br>
!       </td>
!       <td>no</td>
!       <td>file</td>
!       <td>
!               <b>Input and Button to select a file for uploading</b><br>
!               Returns the file-name of the uploaded file in the servers 
tmp-dir (the webserver needs to have a
!               writable tmp-dir) plus, if javascript is enabled, the local 
filename of the client as "${name}_path".
!       </td>
! </tr>
! <tr>
!       <td><b>VBox, HBox</b></td>
!       <td>
!               &lt;vbox><br>
!               &nbsp; &lt;widget ...><br>
!               &nbsp; &lt;widget ...><br>
!               &lt;/vbox><p>
!               &lt;hbox span="all"><br>
!               &nbsp; &lt;widget ...><br>
!               &nbsp; &lt;widget ...><br>
!               &lt;/hbox>
!       </td>
!       <td>yes</td>
!       <td>vbox, hbox</td>
!       <td>
!               <b>vertical or horizontal container</b> to contain other 
widgets. This is useful if one needs more
!               widgets or widgets outside the column- / row-order of a 
grid.<br>
!               Disabled child-cells are completly left out (no empty cells or 
rows get generated).<p>
!               <b>Options</b> <i>in the editor</i>: the number of cells in the 
box (does NOT need to be set in xml).
!       </td>
  </tr>
  <tr>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]