Replace inline Javascript by a function that attaches a date/time picker to the elements which need it

This commit is contained in:
Marc Delisle
2011-01-16 11:36:29 -05:00
parent d7854c2dac
commit 9adcdc08d9
4 changed files with 59 additions and 56 deletions

View File

@@ -115,6 +115,7 @@ foreach ($js_messages as $name => $js_message) {
}
/* Calendar */
echo "var themeCalendarImage = '" . $GLOBALS['pmaThemeImage'] . 'b_calendar.png' . "';\n";
echo "if ($.datepicker) {\n";
/* l10n: Display text for calendar close link */
PMA_printJsValue("$.datepicker.regional['']['closeText']", __('Done'));