webif/var/mongoose/cgi-bin/browse/iconset.jim
hummypkg f550931f71 cleanup directory flag functions. No refresh on flag change
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1356 2a923420-c742-0410-a762-8d5b09965624
2013-01-18 18:47:14 +00:00

16 lines
254 B
Plaintext
Executable File

#!/mod/bin/jimsh
package require cgi
source /mod/webif/lib/setup
require browse.class
puts "Content-Type: text/html"
puts ""
set file [cgi_get file]
if {[file isdirectory $file]} {
lassign [{dir iconset} $file] icons #attrs
puts [join $icons ""]
}