Index: openacs-4/packages/xowiki/www/pages/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/pages/Attic/index.vuh,v diff -u -r1.6 -r1.7 --- openacs-4/packages/xowiki/www/pages/index.vuh 8 Feb 2006 13:33:21 -0000 1.6 +++ openacs-4/packages/xowiki/www/pages/index.vuh 3 May 2006 12:03:23 -0000 1.7 @@ -22,16 +22,16 @@ set path [ns_urldecode [ad_conn path_info]] #ns_log notice "-- path=<$path>" if {$path ne ""} { - set item_id [::Generic::CrItem lookup -title $path -parent_id $folder_id] + set item_id [::Generic::CrItem lookup -name $path -parent_id $folder_id] if {$item_id == 0} { if {[regexp {^(..)/(.*)$} $path _ lang name]} { - set title $lang:$name + set name $lang:$name } elseif {![regexp {^..:} $path]} { - set title [string range [lang::conn::locale] 0 1]:$path + set name [string range [lang::conn::locale] 0 1]:$path } - if {[info exists title]} { - set item_id [::Generic::CrItem lookup -title $title -parent_id $folder_id] + if {[info exists name]} { + set item_id [::Generic::CrItem lookup -name $name -parent_id $folder_id] } } #ns_log notice "-- path=<$path> item_id=$item_id"