Index: openacs-4/packages/acs-subsite/www/site-map/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/site-map/index.tcl,v diff -u -r1.7.8.5 -r1.7.8.6 --- openacs-4/packages/acs-subsite/www/site-map/index.tcl 9 Sep 2013 17:25:31 -0000 1.7.8.5 +++ openacs-4/packages/acs-subsite/www/site-map/index.tcl 10 Oct 2013 21:00:47 -0000 1.7.8.6 @@ -46,7 +46,7 @@ set user_id [ad_conn user_id] db_foreach path_select {} { - if {$node_id != $root_id && $admin_p eq "t"} { + if {$node_id != $root_id && $admin_p == "t"} { append head "" } if {$name eq ""} { @@ -55,11 +55,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 { @@ -149,7 +149,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}]"