From 3ff03dc4f0a72432b34c00da620272cf011e4ddd Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 29 Jul 2021 14:17:20 +1000 Subject: Publishing h-node.org code. - this is the h-node.org code, except - removed a js file (3x copies at three different locations) without license / copyright headers - /Js/linkToForm.js - /Public/Js/linkToForm.js - /admin/Public/Js/linkToForm.js - removed config files containing credentials - /Application/Include/params.php - /Config/Config.php - /admin/Application/Include/params.php - /admin/Config/Config.php - added license and copyright header to one php file - /admin/Library/ErrorReporting.php (almost identical to /Library/ErrorReporting.php which has the headers) --- .../Application/Strings/Lang/It/ValCondStrings.php | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 h-source/admin/Application/Strings/Lang/It/ValCondStrings.php (limited to 'h-source/admin/Application/Strings/Lang/It/ValCondStrings.php') diff --git a/h-source/admin/Application/Strings/Lang/It/ValCondStrings.php b/h-source/admin/Application/Strings/Lang/It/ValCondStrings.php new file mode 100644 index 0000000..a54c650 --- /dev/null +++ b/h-source/admin/Application/Strings/Lang/It/ValCondStrings.php @@ -0,0 +1,69 @@ +". $element ." non è stato definito\n"; + } + + //if the elements are not equal + public function getNotEqualResultString($element) + { + return "
Differenti valori: $element
\n"; + } + + //if the element is not alphabetic + public function getNotAlphabeticResultString($element) + { + return "
".$element." deve essere una stringa di soli caratteri alfabetici
\n"; + } + + //if the element is not alphanumeric + public function getNotAlphanumericResultString($element) + { + return "
".$element." deve essere una stringa di soli caratteri alfanumerici
\n"; + } + + //if the element is not a decimal digit + public function getNotDecimalDigitResultString($element) + { + return "
".$element." deve essere una stringa di soli numeri decimali
\n"; + } + + //if the element has the mail format + public function getNotMailFormatResultString($element) + { + return "
".$element." non sembra un indirizzo e-mail
\n"; + } + + //if the element is numeric + public function getNotNumericResultString($element) + { + return "
".$element." deve essere un numero
\n"; + } + + //if the element (string) length exceeds the value of characters (defined by $maxLength) + public function getLengthExceedsResultString($element,$maxLength) + { + return "
".$element." non deve essere composto da più di $maxLength caratteri
\n"; + } + + //if the element is one of the strings indicated by $stringList (a comma-separated list of strings) + public function getIsForbiddenStringResultString($element,$stringList) + { + return "
".$element." non può assumere uno dei seguenti valori: $stringList
\n"; + } + + //if the element is not one of the strings indicated by $stringList (a comma-separated list of strings) + public function getIsNotStringResultString($element,$stringList) + { + return "
".$element." deve assumere uno dei seguenti valori: $stringList
\n"; + } +} -- cgit v1.2.3