comparison doc/index.html @ 576:f98f37697f4c

More HTML template cleanup and unit tests. - download() now implemented correctly, replacing link(is_download=1) [fixed in the templates, but link(is_download=1) will still work for existing templates]
author Richard Jones <richard@users.sourceforge.net>
date Wed, 23 Jan 2002 05:10:28 +0000
parents d17eecdcfe35
children 1dcbee29faa7
comparison
equal deleted inserted replaced
575:2df17627528d 576:f98f37697f4c
1007 nodes, hyperlinked to the item views on those nodes. 1007 nodes, hyperlinked to the item views on those nodes.
1008 <p> 1008 <p>
1009 For other properties, link to this node with the property as the text. 1009 For other properties, link to this node with the property as the text.
1010 <p> 1010 <p>
1011 <em>Options:</em><br> 1011 <em>Options:</em><br>
1012 property (property name) - the property to use in the second case.<br> 1012 property (property name) - the property to use in the second case.
1013 is_download (boolean) - to be used for links te <em>file</em> class nodes -
1014 this indicates that the URL should have the specified property (usually
1015 <em>name</em>) appended so that the download has the correct name (instead
1016 of the node designator.)
1017 </td></tr> 1013 </td></tr>
1018 1014
1019 <tr><td valign="top"><strong>count</strong></td> 1015 <tr><td valign="top"><strong>count</strong></td>
1020 <td>For a Multilink property, display 1016 <td>For a Multilink property, display
1021 a count of the number of links in the list. 1017 a count of the number of links in the list.
1035 <em>Options:</em><br> 1031 <em>Options:</em><br>
1036 pretty (boolean) - display the relative date in an English form. 1032 pretty (boolean) - display the relative date in an English form.
1037 </td></tr> 1033 </td></tr>
1038 1034
1039 <tr><td valign="top"><strong>download</strong></td> 1035 <tr><td valign="top"><strong>download</strong></td>
1040 <td>Show a Link("file") or Multilink("file") 1036 <td>For a Link or Multilink property, display the names of the linked
1041 property using links that allow you to download files. 1037 nodes, hyperlinked to the item views on those nodes.
1038 <p>
1039 For other properties, link to this node with the property as the text.
1040 <p>
1041 In all cases, append the name (key property) of the item to the path so it
1042 is the name of the file being downloaded.
1042 <p> 1043 <p>
1043 <em>Arguments:</em><br> 1044 <em>Arguments:</em><br>
1044 property (property name) - the property to use. 1045 property (property name) - the property to use.
1045 </td></tr> 1046 </td></tr>
1046 1047
1301 Go Ping, you rock! Also, go Bizar Software for letting me implement this 1302 Go Ping, you rock! Also, go Bizar Software for letting me implement this
1302 system on their time. 1303 system on their time.
1303 1304
1304 <p>&nbsp;</p> 1305 <p>&nbsp;</p>
1305 <hr> 1306 <hr>
1306 $Id: index.html,v 1.26 2002-01-16 04:54:27 richard Exp $ 1307 $Id: index.html,v 1.27 2002-01-23 05:10:27 richard Exp $
1307 <p>&nbsp;</p> 1308 <p>&nbsp;</p>
1308 1309
1309 </body></html> 1310 </body></html>

Roundup Issue Tracker: http://roundup-tracker.org/