#872 Support notifications for the creation of a new user. Also fix the translation of the "Additional values" in ValueSetEnumClasses.

SVN:trunk[3181]
This commit is contained in:
Denis Flaven
2014-05-30 17:11:37 +00:00
parent ef1178c78d
commit 53e58d5887
4 changed files with 14 additions and 3 deletions

View File

@@ -382,9 +382,15 @@ class ValueSetEnumClasses extends ValueSetEnum
}
protected function LoadValues($aArgs)
{
// First, get the additional values
{
// Call the parent to parse the additional values...
parent::LoadValues($aArgs);
// Translate the labels of the additional values
foreach($this->m_aValues as $sClass => $void)
{
$this->m_aValues[$sClass] = MetaModel::GetName($sClass);
}
// Then, add the classes from the category definition
foreach (MetaModel::GetClasses($this->m_sCategories) as $sClass)