From e7b3717614621f14695ab6ca6dda6dd17ba3d65c Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 28 Jul 2011 20:27:23 +0000 Subject: added new easygiant library --- h-source/Library/Lang/En/DbCondStrings.php | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 h-source/Library/Lang/En/DbCondStrings.php (limited to 'h-source/Library/Lang/En/DbCondStrings.php') diff --git a/h-source/Library/Lang/En/DbCondStrings.php b/h-source/Library/Lang/En/DbCondStrings.php new file mode 100644 index 0000000..0f65bd6 --- /dev/null +++ b/h-source/Library/Lang/En/DbCondStrings.php @@ -0,0 +1,32 @@ +. + +if (!defined('EG')) die('Direct access not allowed!'); + +//error strings in the case database conditions are not satisfied +class Lang_En_DbCondStrings { + + //get the error string in the case that the value of the field $field is already present in the table $table + public function getNotUniqueString($field) + { + return "
The value of ". $field ." is already present. Please choose a different value.
\n"; + } + +} -- cgit v1.2.3