+@title;literal@
+@context;literal@
+
+@title;noquote@
+
+The current version of the @what@ is @version@.
+This version of the @what@ is installed locally
+under @resources@
+In the current installation the @what@ is used via CDN @cdn@.
+
+ Do you want to download
+ version @version@ of @what@ to your file system?
+
+
+ The directory @path@ is NOT writable for the server. In
+ order to be able to download the @what@ via this web interface,
+ please change the permissions so that OpenACS can write to it.
+
+
.
\ No newline at end of file
Index: openacs-4/packages/cookie-consent/www/sitewide-admin/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cookie-consent/www/sitewide-admin/index.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/cookie-consent/www/sitewide-admin/index.tcl 17 Dec 2017 19:55:03 -0000 1.1
@@ -0,0 +1,24 @@
+set title "Cookie Consent Sitewide Admin"
+set context [list $title]
+
+set resource_prefix [acs_package_root_dir cookie-consent/www/resources]
+set what "Cookie Consent Widget"
+set version $::cookieconsent::version
+
+#
+# Get version info about the resource files of this package. If not
+# locally installed, offer a link for download.
+#
+set version_info [::cookieconsent::version_info]
+set first_css [lindex [dict get $version_info cssFiles] 0]
+
+if {[file exists $resource_prefix/$version/$first_css]} {
+ set resources $resource_prefix/$version
+}
+set cdn [dict get $version_info cdn]
+
+set path $resource_prefix/$version
+if {![file exists $path]} {
+ catch {file mkdir $path}
+}
+set writable [file writable $path]