Index: openacs-4/packages/edit-this-page/www/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/www/index.vuh,v diff -u -N -r1.6 -r1.7 --- openacs-4/packages/edit-this-page/www/index.vuh 7 Sep 2013 12:50:58 -0000 1.6 +++ openacs-4/packages/edit-this-page/www/index.vuh 1 May 2019 17:01:40 -0000 1.7 @@ -7,39 +7,40 @@ Virtual URL Handler to serve files from an instance of the Edit This Page package. - Helpful .vuh example at + Helpful .vuh example at http://rhea.redhat.com/bboard-archive/webdb/000JTn.html } { - {revision_id ""} + {revision_id ""} } ad_conn -set revision_id $revision_id # get the portion of the url following the package directory set name [ad_conn path_info] -#ns_log Notice "index.vuh: request for $name" +#ns_log Notice "index.vuh: request for $name" if { [string index $name end] eq "/" } { # it's in a subdirectory, and we know there's no # other package mounted on that subdirectory. ns_returnnotfound + ad_script_abort } if {$name eq "" || $name eq "index"} { set path "/[etp::get_application_param index_template]" } elseif {[string match "etp*" $name]} { # this trickery is for serving pages from the top level, # where the acs-subsite package is mounted rather than - # the editthispage package. normally the request processor + # the editthispage package. normally the request processor # finds these before invoking this file. set path "/packages/edit-this-page/www/$name" } else { set path "/[etp::get_application_param content_template]" - # set up form variables so we can pass the "name" - # variable to the content page. + # set up form variables so we can pass the "name" + # variable to the content page. global _ns_form set _ns_form [ns_set create] ns_set put [ns_getform] "name" $name @@ -49,7 +50,8 @@ rp_internal_redirect $path - - - - +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: