From 602f96e1accb782b40a19e267c01a2b5eb77255d Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sat, 14 Jan 2012 00:12:07 +0000 Subject: [PATCH] support variable dustbin name git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@663 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/cgi-bin/browse.jim | 4 +++- var/mongoose/lib/system.class | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/var/mongoose/cgi-bin/browse.jim b/var/mongoose/cgi-bin/browse.jim index 5ee16542..57d56f20 100755 --- a/var/mongoose/cgi-bin/browse.jim +++ b/var/mongoose/cgi-bin/browse.jim @@ -30,13 +30,15 @@ if {$order eq "-"} { [settings new] sortorder $order } +set dustbin [system dustbin 1] + proc directory {file bfile} { global flatten regsub -all " +" $bfile "" tbfile puts "
" set img "/images/711_1_09_Media_Folder.png" - if {$bfile eq "_dustbin"} { set img "/img/Dustbin_Folder.png" } + if {$bfile eq $::dustbin} { set img "/img/Dustbin_Folder.png" } puts "" puts "" puts "