Defined in tcl/file-storage-defs.tclReturns one row of a HTML table displaying all the information about a file.
Set links to 0 if you want this file to be output without links to manage it
(to display the folder you're currently in).
The first bunch of arguments are all standard stuff we want to
know about the file. The n_pixels_in is the number of pixels you want this line
indented.
links: used for one-folder, which likes to show the current folder first,
without the hyperlinks. Set this to 0 if you don't want links from an entry
(only works for folders).
author: If you want the author shown, set author_p
and provide us with owner_id and owner_name, and you'll get the link. If you
want the link to go somewhere different than /shared/community-member, you'll
want to set user_url to the page you want to link to (user_id will be appended).
export_url_vars: set this to the vars you want exported when a
file or folder link is clicked. It should be a query string
fragment. If you're unhappy with the default urls 'one-folder' or
'one-file' (say, you're implementing admin pages where they're
named differently), change them here. The export_url_vars will be
appended.
- Switches:
-
-n_pixels_in (defaults to
"0"
)
-file_id (optional)
-folder_p (defaults to "f"
)
-client_file_name (optional)
-n_kbytes (optional)
-n_bytes (optional)
-file_title (optional)
-file_type (optional)
-url (optional)
-creation_date (optional)
-version_id (optional)
-links (defaults to "1"
)
-author_p (defaults to "0"
)
-owner_id (defaults to "0"
)
-owner_name (optional)
-user_url (defaults to "/shared/community-member"
)
-export_url_vars (optional)
-folder_url (defaults to "one-folder"
)
-file_url (defaults to "one-file"
)