Index: openacs-4/packages/acs-subsite/www/permissions/one.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/permissions/one.tcl,v
diff -u -r1.14 -r1.15
--- openacs-4/packages/acs-subsite/www/permissions/one.tcl 27 Oct 2014 16:39:59 -0000 1.14
+++ openacs-4/packages/acs-subsite/www/permissions/one.tcl 13 Jun 2015 20:05:56 -0000 1.15
@@ -37,15 +37,16 @@
}
set controls [list]
+set controlsUrl [export_vars -base grant {application_url object_id}]
+lappend controls "[ns_quotehtml [_ acs-subsite.Grant_Permission]]"
-lappend controls "[_ acs-subsite.Grant_Permission]"
-
db_1row context { *SQL* }
+set toggleUrl [export_vars -base toggle-inherit {application_url object_id}]
if { $security_inherit_p == "t" && $context_id ne "" } {
- lappend controls "Don't Inherit Permissions from [ad_quotehtml $context_name]"
+ lappend controls "Don't Inherit Permissions from [ad_quotehtml $context_name]"
} else {
- lappend controls "Inherit Permissions from [ad_quotehtml $context_name]"
+ lappend controls "Inherit Permissions from [ns_quotehtml $context_name]"
}
set controls "\[ [join $controls " | "] \]"