[my set title]
" \ "Created by [my set creator], " \ + "last modfified by [::xo::get_user_name [my set creation_user]] " \ "[my set pretty_date]
" \ [my set description] \n \ "[$t asHTML]
\n$description
" + } + + # # PageTemplate specifics # PageTemplate parameter { Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 31 Jul 2006 21:24:12 -0000 1.2 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 5 Aug 2006 20:55:02 -0000 1.3 @@ -47,7 +47,7 @@ my log "--after user_tracking" set references [my references] - my log "--after references" + my log "--after references = <$references>" # export title, text, and lang_links to current scope my instvar title name text lang_links @@ -148,7 +148,7 @@ #} # set some default values if they are provided - foreach key {name} { + foreach key {name title last_page_id} { if {[$package_id exists_query_parameter $key]} {my set $key [$package_id query_parameter $key]} } @@ -220,8 +220,15 @@ return $html } + File instproc download {} { + my instvar text mime_type package_id item_id revision_id + $package_id set mime_type $mime_type + $package_id set delivery \ + [expr {[my isobject bgdelivery] ? "ad_returnfile_background" : "ns_returnfile"}] + #my log "--F FILE=[my full_file_name]" + return [my full_file_name] + } - Page instproc revisions {} { my instvar package_id name item_id set context [list [list [$package_id url] $name ] [_ xotcl-core.revisions]] @@ -266,6 +273,8 @@ ns_cache flush xotcl_object_type_cache item_id-of-$parent_id ::$parent_id destroy } + set key link-*-$name-$parent_id + foreach n [ns_cache names xowiki_cache $key] {ns_cache flush xowiki_cache $n} ad_returnredirect [my query_parameter "return_url" [$package_id package_url]] } Index: openacs-4/packages/xowiki/www/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/index.vuh,v diff -u -r1.1 -r1.2 --- openacs-4/packages/xowiki/www/index.vuh 26 Jul 2006 22:56:46 -0000 1.1 +++ openacs-4/packages/xowiki/www/index.vuh 5 Aug 2006 20:55:03 -0000 1.2 @@ -13,6 +13,9 @@ package_id [ad_conn package_id]] set Package [::xowiki::Package create ::$package_id -folder_id $folder_id] -$Package log "--starting... [ns_conn url] [ns_conn query] form vars = [ns_set array [ns_getform]]" -ns_return 200 text/html [$Package invoke -method $m] +#$Package log "--starting... [ns_conn url] [ns_conn query] form vars = [ns_set array [ns_getform]]" +set text [$Package invoke -method $m] +#$Package log "--delivery [$Package set delivery] 200 [$Package set mime_type] $text" +[$Package set delivery] 200 [$Package set mime_type] $text +#$Package log "--done" ad_script_abort Index: openacs-4/packages/xowiki/www/oacs-view.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/Attic/oacs-view.adp,v diff -u -r1.6 -r1.7 --- openacs-4/packages/xowiki/www/oacs-view.adp 31 Jul 2006 21:37:05 -0000 1.6 +++ openacs-4/packages/xowiki/www/oacs-view.adp 5 Aug 2006 20:55:08 -0000 1.7 @@ -54,11 +54,9 @@ @content;noquote@Created by [my set creator], " \ + "last modfified by [::xo::get_user_name [my set creation_user]] " \ "[my set pretty_date]
" \ [my set description] \n \ "