@@ 406-410 (lines=5) @@ | ||
403 | Requirements::javascript(USERFORMS_DIR . '/javascript/UserForm.js'); |
|
404 | ||
405 | ||
406 | if(file_exists(BASE_PATH . '/' . USERFORMS_DIR . "/thirdparty/jquery-validate/localization/messages_{$lang}.min.js")) { |
|
407 | Requirements::javascript( |
|
408 | USERFORMS_DIR . "/thirdparty/jquery-validate/localization/messages_{$lang}.min.js" |
|
409 | ); |
|
410 | } |
|
411 | if(file_exists(BASE_PATH . '/' . USERFORMS_DIR . "//thirdparty/jquery-validate/localization/methods_{$lang}.min.js")) { |
|
412 | Requirements::javascript( |
|
413 | USERFORMS_DIR . "/thirdparty/jquery-validate/localization/methods_{$lang}.min.js" |
|
@@ 411-415 (lines=5) @@ | ||
408 | USERFORMS_DIR . "/thirdparty/jquery-validate/localization/messages_{$lang}.min.js" |
|
409 | ); |
|
410 | } |
|
411 | if(file_exists(BASE_PATH . '/' . USERFORMS_DIR . "//thirdparty/jquery-validate/localization/methods_{$lang}.min.js")) { |
|
412 | Requirements::javascript( |
|
413 | USERFORMS_DIR . "/thirdparty/jquery-validate/localization/methods_{$lang}.min.js" |
|
414 | ); |
|
415 | } |
|
416 | if ($this->HideFieldLabels) { |
|
417 | Requirements::javascript(USERFORMS_DIR . '/thirdparty/Placeholders.js/Placeholders.min.js'); |
|
418 | } |