Index: openacs-4/packages/dotlrn/www/control-panel.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/control-panel.tcl,v diff -u -r1.9.2.4 -r1.9.2.5 --- openacs-4/packages/dotlrn/www/control-panel.tcl 24 May 2006 21:42:27 -0000 1.9.2.4 +++ openacs-4/packages/dotlrn/www/control-panel.tcl 31 May 2006 19:08:41 -0000 1.9.2.5 @@ -33,6 +33,7 @@ set dotlrn_url [dotlrn::get_url] +set dotlrn_package_id [dotlrn::get_package_id] set portal_id [dotlrn::get_portal_id -user_id [ad_get_user_id]] # Make sure user is logged in @@ -80,3 +81,6 @@ set portrait_upload_url [export_vars -base "../user/portrait/upload" { { return_url [ad_return_url] } }] set subsite_url [ad_conn vhost_subsite_url] set pvt_home_url [ad_pvt_home] + +set allowed_to_change_site_template_p [parameter::get -package_id $dotlrn_package_id -parameter "UserChangeSiteTemplate_p" \ + -default 0]