htdocs/include/calendarjs.php
Reference to undeclared constant \_LANGCODE
Open
Open
$icmsTheme->addScript(ICMS_URL . "/language/" .$icmsConfig['language']. "/datepicker-" ._LANGCODE. ".js", array("type" => "text/javascript"));
- Exclude checks
Reference to undeclared constant \_SHORTDATESTRING
Open
Open
$dateFormatTojQueryUIDatePickerFormat = dateFormatTojQueryUIDatePickerFormat(_SHORTDATESTRING);
- Exclude checks
Reference to undeclared constant \_LANGCODE
Open
Open
if (_LANGCODE !== 'en' && file_exists (ICMS_ROOT_PATH.'/language/'.$icmsConfig['language']."/datepicker-" ._LANGCODE. ".js")) {
- Exclude checks
Reference to undeclared constant \_CALENDAR
Open
Open
$(".ui-datepicker-trigger").attr("alt", "' ._CALENDAR. '").attr("title", "' ._CALENDAR. '");
- Exclude checks
Reference to undeclared constant \_LANGCODE
Open
Open
$.datepicker.setDefaults($.datepicker.regional["' ._LANGCODE. '"]);
- Exclude checks
Function dateFormatTojQueryUIDatePickerFormat
defined at /code/htdocs/include/calendarjs.php:18
was previously defined at /code/htdocs/include/calendarjalalijs.php:19
Open
Open
function dateFormatTojQueryUIDatePickerFormat($dateFormat) {
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
'd' => 'dd', 'j' => 'd', 'l' => 'DD', 'D' => 'D',
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
// Year
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
'Y' => 'yy', 'y' => 'y',
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
// Month
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
'm' => 'mm', 'n' => 'm', 'F' => 'MM', 'M' => 'M',
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
return strtr((string)$dateFormat, $chars);
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
// Day
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
$chars = array(
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
);
- Exclude checks
Tabs must be used to indent lines; spaces are not allowed Open
Open
$icmsTheme->addScript(ICMS_URL . "/language/" .$icmsConfig['language']. "/datepicker-" ._LANGCODE. ".js", array("type" => "text/javascript"));
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
Open
$icmsTheme->addScript(ICMS_URL . "/language/" .$icmsConfig['language']. "/datepicker-" ._LANGCODE. ".js", array("type" => "text/javascript"));
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
$icmsTheme->addScript("", array("type" => "text/javascript"), $src);
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
if (_LANGCODE !== 'en' && file_exists (ICMS_ROOT_PATH.'/language/'.$icmsConfig['language']."/datepicker-" ._LANGCODE. ".js")) {
- Exclude checks
Unexpected spaces found. Open
Open
$chars = array(
- Exclude checks
Unexpected spaces found. Open
Open
// Day
- Exclude checks
Unexpected spaces found. Open
Open
'd' => 'dd', 'j' => 'd', 'l' => 'DD', 'D' => 'D',
- Exclude checks
Unexpected spaces found. Open
Open
'Y' => 'yy', 'y' => 'y',
- Exclude checks
Unexpected spaces found. Open
Open
);
- Exclude checks
Unexpected spaces found. Open
Open
// Month
- Exclude checks
Unexpected spaces found. Open
Open
// Year
- Exclude checks
Unexpected spaces found. Open
Open
return strtr((string)$dateFormat, $chars);
- Exclude checks
Unexpected spaces found. Open
Open
'm' => 'mm', 'n' => 'm', 'F' => 'MM', 'M' => 'M',
- Exclude checks
Unexpected spaces found. Open
Open
$icmsTheme->addScript(ICMS_URL . "/language/" .$icmsConfig['language']. "/datepicker-" ._LANGCODE. ".js", array("type" => "text/javascript"));
- Exclude checks