Index: openacs-4/packages/dotlrn-ecommerce/lib/section.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/section.tcl,v diff -u -r1.46 -r1.47 --- openacs-4/packages/dotlrn-ecommerce/lib/section.tcl 9 May 2018 15:33:30 -0000 1.46 +++ openacs-4/packages/dotlrn-ecommerce/lib/section.tcl 25 Jan 2024 12:25:51 -0000 1.47 @@ -332,6 +332,9 @@ } } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + if { ! [info exists sessions] || ![llength $sessions] } { set sessions [list] Index: openacs-4/packages/expense-tracking/www/admin/addedit-expense.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/expense-tracking/www/admin/addedit-expense.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/expense-tracking/www/admin/addedit-expense.tcl 29 Jun 2005 20:29:45 -0000 1.4 +++ openacs-4/packages/expense-tracking/www/admin/addedit-expense.tcl 25 Jan 2024 12:25:51 -0000 1.5 @@ -31,6 +31,9 @@ set cancel_url $return_url } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + # generate the form ad_form -name new_expense \ Index: openacs-4/packages/invoices/lib/invoice-items-list.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/lib/invoice-items-list.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/invoices/lib/invoice-items-list.adp 7 Nov 2005 23:10:51 -0000 1.3 +++ openacs-4/packages/invoices/lib/invoice-items-list.adp 25 Jan 2024 12:25:51 -0000 1.4 @@ -1,4 +1,5 @@ +
Index: openacs-4/packages/invoices/lib/offer-items-list.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/lib/offer-items-list.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/invoices/lib/offer-items-list.adp 7 Nov 2005 23:10:51 -0000 1.4 +++ openacs-4/packages/invoices/lib/offer-items-list.adp 25 Jan 2024 12:25:51 -0000 1.5 @@ -1,4 +1,5 @@ +
Index: openacs-4/packages/invoices/www/invoice-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-ae.tcl,v diff -u -r1.45 -r1.46 --- openacs-4/packages/invoices/www/invoice-ae.tcl 5 Apr 2018 14:44:09 -0000 1.45 +++ openacs-4/packages/invoices/www/invoice-ae.tcl 25 Jan 2024 12:25:51 -0000 1.46 @@ -271,6 +271,10 @@ } else { # we are adding/editing data + + ::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + ad_form -extend -name iv_invoice_form -form { {currency:text(select) {mode display} {label "[_ invoices.iv_invoice_currency]"} {options $currency_options} {help_text "[_ invoices.iv_invoice_currency_help]"}} {due_date:text,optional {label "[_ invoices.iv_invoice_due_date]"} {html {size 12 maxlength 10 id sel1}} {help_text "[_ invoices.iv_invoice_due_date_help]"} {after_html { \[y-m-d \]}}} Index: openacs-4/packages/invoices/www/invoice-cancellation.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-cancellation.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/invoices/www/invoice-cancellation.tcl 27 Jun 2006 10:49:38 -0000 1.8 +++ openacs-4/packages/invoices/www/invoice-cancellation.tcl 25 Jan 2024 12:25:52 -0000 1.9 @@ -52,6 +52,9 @@ category::ad_form::add_widgets -container_object_id $container_objects(invoice_id) -categorized_object_id $_invoice_id -form_name iv_invoice_cancel_form } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + ad_form -extend -name iv_invoice_cancel_form -form { {invoice_nr:text {label "[_ invoices.iv_invoice_invoice_nr]"} {html {size 80 maxlength 200}} {help_text "[_ invoices.iv_invoice_invoice_nr_help]"}} {currency:text(select) {mode display} {label "[_ invoices.iv_invoice_currency]"} {options $currency_options} {help_text "[_ invoices.iv_invoice_currency_help]"}} Index: openacs-4/packages/invoices/www/invoice-credit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-credit.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/invoices/www/invoice-credit.tcl 24 May 2006 09:40:38 -0000 1.6 +++ openacs-4/packages/invoices/www/invoice-credit.tcl 25 Jan 2024 12:25:52 -0000 1.7 @@ -44,6 +44,9 @@ category::ad_form::add_widgets -container_object_id $container_objects(invoice_id) -categorized_object_id $_invoice_id -form_name iv_invoice_credit_form } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + ad_form -extend -name iv_invoice_credit_form -form { {invoice_nr:text {label "[_ invoices.iv_credit_invoice_nr]"} {html {size 80 maxlength 200}} {help_text "[_ invoices.iv_credit_invoice_nr_help]"}} {currency:text(select) {mode display} {label "[_ invoices.iv_invoice_currency]"} {options $currency_options} {help_text "[_ invoices.iv_invoice_currency_help]"}} Index: openacs-4/packages/invoices/www/invoice-customer-reports.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-customer-reports.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/invoices/www/invoice-customer-reports.adp 19 Apr 2006 14:22:35 -0000 1.4 +++ openacs-4/packages/invoices/www/invoice-customer-reports.adp 25 Jan 2024 12:25:52 -0000 1.5 @@ -2,6 +2,8 @@ @page_title;noquote@ @context;noquote@ + +
Index: openacs-4/packages/invoices/www/invoice-list.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/invoice-list.adp,v diff -u -r1.7 -r1.8 --- openacs-4/packages/invoices/www/invoice-list.adp 18 Jun 2006 14:17:54 -0000 1.7 +++ openacs-4/packages/invoices/www/invoice-list.adp 25 Jan 2024 12:25:52 -0000 1.8 @@ -2,6 +2,8 @@ @page_title;noquote@ @context;noquote@ + +
Index: openacs-4/packages/invoices/www/offer-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-ae.tcl,v diff -u -r1.43 -r1.44 --- openacs-4/packages/invoices/www/offer-ae.tcl 17 Apr 2018 14:47:02 -0000 1.43 +++ openacs-4/packages/invoices/www/offer-ae.tcl 25 Jan 2024 12:25:52 -0000 1.44 @@ -235,6 +235,9 @@ } else { # we are adding/editing data + ::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + ad_form -extend -name iv_offer_form -form { {finish_date:text,optional {label "[_ invoices.iv_offer_finish_date]"} {html {size 12 maxlength 10 id sel1}} {help_text "[_ invoices.iv_offer_finish_date_help]"} {after_html { \[y-m-d \]}}} {finish_time:date,optional {label "[_ invoices.iv_offer_finish_time]"} {format {[lc_get formbuilder_time_format]}} {help_text "[_ invoices.iv_offer_finish_time_help]"}} Index: openacs-4/packages/invoices/www/offer-first-reports.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-first-reports.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/invoices/www/offer-first-reports.adp 13 Apr 2006 12:53:57 -0000 1.3 +++ openacs-4/packages/invoices/www/offer-first-reports.adp 25 Jan 2024 12:25:52 -0000 1.4 @@ -2,6 +2,7 @@ @page_title;noquote@ @context;noquote@ + Index: openacs-4/packages/invoices/www/offer-projects-reports.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-projects-reports.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/invoices/www/offer-projects-reports.adp 24 Aug 2006 09:18:14 -0000 1.1 +++ openacs-4/packages/invoices/www/offer-projects-reports.adp 25 Jan 2024 12:25:52 -0000 1.2 @@ -2,6 +2,7 @@ @page_title;noquote@@context;noquote@ +
Index: openacs-4/packages/invoices-portlet/www/invoices-list-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices-portlet/www/invoices-list-portlet.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/invoices-portlet/www/invoices-list-portlet.adp 12 Jul 2018 09:01:38 -0000 1.4 +++ openacs-4/packages/invoices-portlet/www/invoices-list-portlet.adp 25 Jan 2024 12:25:52 -0000 1.5 @@ -1,3 +1,5 @@ + +
Index: openacs-4/packages/project-manager/lib/projects.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/projects.adp,v diff -u -r1.12 -r1.13 --- openacs-4/packages/project-manager/lib/projects.adp 25 Jun 2007 07:25:06 -0000 1.12 +++ openacs-4/packages/project-manager/lib/projects.adp 25 Jan 2024 12:25:52 -0000 1.13 @@ -1,3 +1,4 @@ +
Index: openacs-4/packages/project-manager/templates/project-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/templates/project-ae.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/project-manager/templates/project-ae.tcl 25 Jun 2007 07:26:11 -0000 1.13 +++ openacs-4/packages/project-manager/templates/project-ae.tcl 25 Jan 2024 12:25:52 -0000 1.14 @@ -153,6 +153,9 @@ set status_options [lang::util::localize [pm::status::project_status_select]] +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + ad_form -extend -name add_edit \ -form { {status_id:text(select) Index: openacs-4/packages/project-manager/templates/task-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/templates/task-ae.tcl,v diff -u -r1.23 -r1.24 --- openacs-4/packages/project-manager/templates/task-ae.tcl 9 May 2018 15:33:33 -0000 1.23 +++ openacs-4/packages/project-manager/templates/task-ae.tcl 25 Jan 2024 12:25:52 -0000 1.24 @@ -242,6 +242,9 @@ } } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + ad_form -extend -name task_add_edit \ -form { {task_end_date:text(text),optional Index: openacs-4/packages/project-manager/www/task-add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/task-add-edit.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/project-manager/www/task-add-edit.tcl 9 May 2018 15:33:33 -0000 1.8 +++ openacs-4/packages/project-manager/www/task-add-edit.tcl 25 Jan 2024 12:25:52 -0000 1.9 @@ -131,6 +131,9 @@ } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + # ------------------------------------------------------------- # Start creating the multirow we'll use to create the interface # ------------------------------------------------------------- Index: openacs-4/packages/tasks/lib/task-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/tasks/lib/task-form.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/tasks/lib/task-form.tcl 9 May 2018 15:33:33 -0000 1.6 +++ openacs-4/packages/tasks/lib/task-form.tcl 25 Jan 2024 12:25:52 -0000 1.7 @@ -170,6 +170,9 @@ } +::template::head::add_javascript \ + -src /resources/acs-templating/calendar.js + append form_elements { {due_date:text {label "[_ tasks.Due]"}