Index: openacs-4/packages/acs-subsite/www/admin/site-map/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/site-map/index.tcl,v diff -u -r1.27.4.7 -r1.27.4.8 --- openacs-4/packages/acs-subsite/www/admin/site-map/index.tcl 17 Sep 2013 22:24:40 -0000 1.27.4.7 +++ openacs-4/packages/acs-subsite/www/admin/site-map/index.tcl 10 Oct 2013 21:00:46 -0000 1.27.4.8 @@ -64,7 +64,7 @@ } db_foreach path_select {} { - if {$node_id != $root_id && $admin_p eq "t"} { + if {$node_id != $root_id && $admin_p == "t"} { append head [subst {}] } if {$name eq ""} { @@ -73,11 +73,11 @@ append head $name } - if {$node_id != $root_id && $admin_p eq "t"} { + if {$node_id != $root_id && $admin_p == "t"} { append head "" } - if {$directory_p eq "t"} { + if {$directory_p == "t"} { append head "/" } } if_no_rows { @@ -210,7 +210,7 @@ if { [lsearch -exact $open_nodes $parent_id] == -1 && $parent_id ne "" && $mylevel > 2 } { continue } - if {$directory_p eq "t"} { + if {$directory_p == "t"} { set add_folder_url "?[export_vars -url {expand:multiple root_id node_id {new_parent $node_id} {new_type folder}}]" if {$object_id eq ""} { set mount_url "mount?[export_vars -url {expand:multiple root_id node_id}]"