From 129934f892850a90f98f8f5a0e7746cfe57bb958 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 28 May 2012 15:31:57 +0000 Subject: added new EasyGiant library --- h-source/Library/Lang/En/DbCondStrings.php | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 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..bfc5867 --- /dev/null +++ b/h-source/Library/Lang/En/DbCondStrings.php @@ -0,0 +1,34 @@ +. + +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