Changesets can be listed by changeset number.
The Git repository is here.
Changeset 460
Changeset #459 broke ungrouped listings, as the ungrouped item internally
is a Symbol not String and "gsub" is a private method for that class.
- Comitted by: rool
- Date: Tuesday December 17 12:21:39 2013 (over 10 years ago)
Affected files:
rool/rails/radiant/trunk/vendor/extensions/dir_list_tags/lib/dir_list_tags.rb:
prev. | current | |
desc %{ | ||
Renders a set of HTML tables that enumerate a directory in a parsed, augmented fashion. Environment variable SERVER_DOCUMENT_ROOT must be set and is used as the root path for directory enumeration. Even so, directory traversal is not prevented so only use this tag when content editors are trusted. | ||
52 | ||
52 | Output is wrapped in <code><notextile>...</notextile></code> on assumption of Textile filtering. | |
Certain magic directories are ignored (CVS, .svn). The directory can contain a file 'config.yml' in subdirectory 'config', which works as described below. The intention is that each table corresponds to a group of files in some kind of file drop box, with a header above naming the group. | ||
... | ... | |
dscwd = link_base ? '40%' : '50%' | ||
count = 0 | ||
310 | | |
310 | html << "<h3>#{group_key}<a name=\"#{group_key.to_s.gsub(/\W/, '_').downcase}\" style=\"text-decoration: none; border-bottom: none; font-size: 1px\"> </a></h3>\n" | |
html << "<table width=\"100%\" class=\"parsed_directory_listing\" border=\"0\">\n" | ||
html << "<tr><th width=\"10%\">Icon</th><th width=\"20%\" align=\"left\">Name, date & MD5</th><th width=\"#{dscwd}\" align=\"left\">Description</th><th width=\"10%\">Version</th><th width=\"10%\">Size</th>" | ||
html << "<th width=\"10%\">Details</th>" if (link_base) |