diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2014-09-16 08:03:29 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2014-09-16 08:03:29 +0000 |
commit | 11972639df8315753123ebccdadee1f596807ad0 (patch) | |
tree | 7c932d7e2f0d66afa55e603960f86cef7b00c5ff /h-source/Library/Lang/En/DbCondStrings.php | |
parent | 6209923d6cfb2418ee926cccdc62a9383e14bd97 (diff) |
Integrated new EasyGiant Library
Diffstat (limited to 'h-source/Library/Lang/En/DbCondStrings.php')
-rw-r--r-- | h-source/Library/Lang/En/DbCondStrings.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Library/Lang/En/DbCondStrings.php b/h-source/Library/Lang/En/DbCondStrings.php index bfc5867..0c72d95 100644 --- a/h-source/Library/Lang/En/DbCondStrings.php +++ b/h-source/Library/Lang/En/DbCondStrings.php @@ -2,7 +2,7 @@ // EasyGiant is a PHP framework for creating and managing dynamic content // -// Copyright (C) 2009 - 2011 Antonio Gallo +// Copyright (C) 2009 - 2014 Antonio Gallo (info@laboratoriolibero.com) // See COPYRIGHT.txt and LICENSE.txt. // // This file is part of EasyGiant @@ -23,12 +23,12 @@ if (!defined('EG')) die('Direct access not allowed!'); //error strings in the case database conditions are not satisfied -class Lang_En_DbCondStrings { +class Lang_En_DbCondStrings extends Lang_En_ValCondStrings { //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 "<div class='alert'>The value of <i>". $field ."</i> is already present. Please choose a different value.</div>\n"; + return "<div class='alert'>The value of <i>". getFieldLabel($field) ."</i> is already present. Please choose a different value.</div>\n".$this->getHiddenAlertElement($field); } } |