From: Thomas Berezansky Date: Wed, 24 Aug 2011 15:32:15 +0000 (-0400) Subject: Unwrapped upgrade script for print.custom_js_file X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4894c8f25d5a59dbd5d830c28fc9f50fe31cb92f;p=evergreen%2Fequinox.git Unwrapped upgrade script for print.custom_js_file Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- 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' + );