-
Committer:
mattgiuca
-
Date:
2008-01-12 15:32:54 UTC
-
Revision ID:
svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:200
fileservice.listing: Now returns a nicer date format for mtime_nice.
Applies an intuitive algorithm to make the date even shorter,
(eg. "today" or "3 days ago") and returns this as mtime_short.
util.js: Fixed path_join if the first path is empty. (Was incorrectly adding
a leading slash).
Added optional "title" arguments to dom_make_text_elem and
dom_make_link_elem.
browser.js: Displays mtime_short in the file table instead of mtime_nice
(it was always too long). Displays the full date as a tooltip.
Auto-navigates to the user's home directory if accessed from the root.
(This may be a temporary measure, but it was giving a mean error before).
Various code makes use of util's new optional "title" arguments.
dispatch.html: Writes a new JavaScript variable, "username", so JavaScript
code knows which user is logged in.
Cleaned up JS variables repr (previously they did bad escapes in some
cases).