Index: openacs-4/packages/dotlrn/www/admin/one-instance-portal-template-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/admin/one-instance-portal-template-2.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn/www/admin/one-instance-portal-template-2.tcl 21 Nov 2001 18:10:32 -0000 1.1 +++ openacs-4/packages/dotlrn/www/admin/one-instance-portal-template-2.tcl 26 Nov 2001 20:27:15 -0000 1.2 @@ -8,10 +8,11 @@ set form [ns_getform] set portal_id [ns_set get $form portal_id] +set return_url [ns_set get $form return_url] set user_id [ad_conn user_id] portal::template_configure_dispatch $portal_id $form -ns_returnredirect "one-instance-portal-template?portal_id=$portal_id" +ns_returnredirect "one-instance-portal-template?portal_id=$portal_id&return_url=$return_url" Index: openacs-4/packages/new-portal/tcl/portal-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/tcl/portal-procs.tcl,v diff -u -r1.73 -r1.74 --- openacs-4/packages/new-portal/tcl/portal-procs.tcl 26 Nov 2001 19:40:09 -0000 1.73 +++ openacs-4/packages/new-portal/tcl/portal-procs.tcl 26 Nov 2001 20:29:22 -0000 1.74 @@ -672,11 +672,12 @@ set template "

- Go back + Go back

+ Change Theme: @theme_data@

@@ -685,9 +686,8 @@ Configure The Portal's Elements: - " + element_src=\"@element_src@\" action_string=\"@action_string@\" + portal_id=\"@portal_id@\" return_url=\"@return_url@\"> " #
# Index: openacs-4/packages/new-portal/www/template-place-element.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/template-place-element.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/new-portal/www/template-place-element.adp 21 Nov 2001 18:41:08 -0000 1.3 +++ openacs-4/packages/new-portal/www/template-place-element.adp 26 Nov 2001 20:26:58 -0000 1.4 @@ -1,8 +1,6 @@ - - @@ -12,49 +10,49 @@ @element_multi.name@ - @element_multi.description@ - move up + move up - move down + move down - move right + move right - move left - move right - move left + move left + move right + move left

-Action: (hide this element) +Action: (hide this element)
-Locked? unlocked (set lock) +Locked? unlocked (set lock) -Locked? locked (unlock) +Locked? locked (unlock)
-Hideable? true (don't allow hiding) +Hideable? true (don't allow hiding) -Hideable? false (allow hiding) +Hideable? false (allow hiding)
-Shadeable? true (don't allow shading) +Shadeable? true (don't allow shading) -Shadeable? false (allow shading) +Shadeable? false (allow shading)
@@ -66,6 +64,10 @@
@show_html@ + + + + Index: openacs-4/packages/new-portal/www/layouts/simple2.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/layouts/simple2.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/new-portal/www/layouts/simple2.adp 19 Nov 2001 16:46:06 -0000 1.4 +++ openacs-4/packages/new-portal/www/layouts/simple2.adp 26 Nov 2001 20:27:29 -0000 1.5 @@ -4,12 +4,12 @@

Index: openacs-4/packages/new-portal/www/layouts/simple2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/layouts/simple2.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/new-portal/www/layouts/simple2.tcl 17 Nov 2001 17:41:37 -0000 1.8 +++ openacs-4/packages/new-portal/www/layouts/simple2.tcl 26 Nov 2001 20:27:40 -0000 1.9 @@ -6,6 +6,7 @@ element_src:onevalue action_string:onevalue theme_id:onevalue + return_url:onevalue } if { ![info exists action_string]} { @@ -16,6 +17,10 @@ set theme_id "" } +if { ![info exists return_url]} { + set return_url "" +} + portal::layout_elements $element_list ad_return_template
-
+
-
+