Index: openacs-4/packages/acs-developer-support/tcl/acs-developer-support-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-developer-support/tcl/acs-developer-support-procs.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-developer-support/tcl/acs-developer-support-procs.tcl 8 Jul 2002 09:38:18 -0000 1.6 +++ openacs-4/packages/acs-developer-support/tcl/acs-developer-support-procs.tcl 2 Sep 2002 10:56:29 -0000 1.7 @@ -33,9 +33,8 @@ } else { ns_log Notice "$user_id doesn't have $privilege on object $object_id" ad_return_forbidden "Security Violation" "
- You don't have permission to $privilege [db_string name {select acs_object.name(:object_id) from dual}]. -

- This incident has been logged. +

You don't have permission to $privilege [db_string name {select acs_object.name(:object_id) from dual}].

+

This incident has been logged.

" } ad_script_abort @@ -107,13 +106,13 @@ return "" } - set out "" + set out "
" if { [ds_enabled_p] && [ds_collection_enabled_p] } { global ad_conn set ds_url [ds_support_url] if {![empty_string_p $ds_url]} { - append out " " @@ -132,14 +131,14 @@ } } if { $counter > 0 } { - append out "" + append out "" } } if { [nsv_exists ds_request "$ad_conn(request).conn"] } { array set conn [nsv_get ds_request "$ad_conn(request).conn"] if { [info exists conn(startclicks)] } { - append out "\n" } } @@ -156,7 +155,7 @@ } if { [ds_user_switching_enabled_p] } { - append out "" + append out "" } append out "
+ append out "
Developer Information
$counter database command[ad_decode $counter 1 " taking" "s totalling"] [format "%.f" [expr { $total / 1000 }]] ms
$counter database command[ad_decode $counter 1 " taking" "s totalling"] [format "%.f" [expr { $total / 1000 }]] ms
page served in + append out "
page served in [format "%.f" [expr { ([clock clicks] - $conn(startclicks)) / 1000 }]] ms
[ds_user_select_widget]
[ds_user_select_widget]
\n" @@ -262,12 +261,12 @@ if { $user_id == 0 } { set selected " selected" - set you_are "You are currently not logged in
" - set you_are_really "You are really not logged in
" + set you_are "You are currently not logged in
" + set you_are_really "You are really not logged in
" } else { set selected {} } - set options "" + set options "" db_foreach users { select u.user_id as user_id_from_db, @@ -279,24 +278,24 @@ } { if { $user_id == $user_id_from_db } { set selected " selected" - set you_are "You are testing as $name ($email)
" + set you_are "You are testing as $name ($email)
" } else { set selected {} } if { $real_user_id == $user_id_from_db } { - set you_are_really "You are really $name ($email)
" + set you_are_really "You are really $name ($email)
" } - append options "" + append options "" } set ds_url [ds_support_url] if {![empty_string_p $ds_url]} { - return "
+ return " $you_are $you_are_really - Change user: $options - [export_form_vars return_url]
" + [export_form_vars return_url]" } else { ns_log Error "ACS-Developer-Support: Unable to offer link to Developer Support \ because it is not mounted anywhere."