Index: openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl 9 May 2018 15:33:28 -0000 1.11 +++ openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl 3 Sep 2024 15:37:29 -0000 1.12 @@ -35,9 +35,7 @@ edit { label {} sub_class narrow - display_template { - - } + display_template { \#acs-admin.Invoke\#N/A} - link_url_eval {[ad_decode [lsearch { before-install after-install before-uninstall after-uninstall } $type] -1 {} [export_vars -base "version-callback-invoke" { version_id type }]]} + link_url_eval {[expr {$type in { before-install after-install before-uninstall after-uninstall } ? [export_vars -base "version-callback-invoke" { version_id type }] : ""}]} link_html { title "\#acs-admin.Invoke_this_callback_proc_now_Be_careful\#" } html { align center } } delete { label {} sub_class narrow - display_template { - - } + display_template { } link_url_eval {[export_vars -base "version-callback-delete" { version_id type }]} link_html { title "\#acs-admin.Delete_callback\#" } }