From 4894c8f25d5a59dbd5d830c28fc9f50fe31cb92f Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 24 Aug 2011 11:32:15 -0400 Subject: [PATCH] Unwrapped upgrade script for print.custom_js_file Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- .../sql/Pg/upgrade/XXXX.new_print_method.sql | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.new_print_method.sql diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.new_print_method.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.new_print_method.sql new file mode 100644 index 0000000000..bb7d8daf57 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.new_print_method.sql @@ -0,0 +1,20 @@ +INSERT into config.org_unit_setting_type +( name, grp, label, description, datatype ) VALUES +( + 'print.custom_js_file', 'circ', + oils_i18n_gettext( + 'print.custom_js_file', + 'Printing: Custom Javascript File', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'print.custom_js_file', + 'Full URL path to a Javascript File to be loaded when printing. Should' + || ' implement a print_custom function for DOM manipulation. Can change' + || ' the value of the do_print variable to false to cancel printing.', + 'coust', + 'description' + ), + 'string' + ); -- 2.43.2