mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
Archives: default label for the magic attributes archive_flag and archive_date
SVN:trunk[4699]
This commit is contained in:
@@ -7616,4 +7616,27 @@ class AttributeArchiveFlag extends AttributeBoolean
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public function GetLabel($sDefault = null)
|
||||
{
|
||||
$sDefault = Dict::S('Core:AttributeArchiveFlag/Label', $sDefault);
|
||||
return parent::GetLabel($sDefault);
|
||||
}
|
||||
public function GetDescription($sDefault = null)
|
||||
{
|
||||
$sDefault = Dict::S('Core:AttributeArchiveFlag/Label+', $sDefault);
|
||||
return parent::GetDescription($sDefault);
|
||||
}
|
||||
}
|
||||
class AttributeArchiveDate extends AttributeDate
|
||||
{
|
||||
public function GetLabel($sDefault = null)
|
||||
{
|
||||
$sDefault = Dict::S('Core:AttributeArchiveDate/Label', $sDefault);
|
||||
return parent::GetLabel($sDefault);
|
||||
}
|
||||
public function GetDescription($sDefault = null)
|
||||
{
|
||||
$sDefault = Dict::S('Core:AttributeArchiveDate/Label+', $sDefault);
|
||||
return parent::GetDescription($sDefault);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user