mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (Fix default values and typos)
This commit is contained in:
@@ -76,14 +76,14 @@ class FieldUIBlockFactory extends AbstractUIBlockFactory
|
||||
return $oField;
|
||||
}
|
||||
|
||||
public static function MakeLarge(string $sLabel, $sValueHtml)
|
||||
public static function MakeLarge(string $sLabel, string $sValueHtml = '')
|
||||
{
|
||||
$oField = new Field($sLabel, new Html($sValueHtml));
|
||||
$oField->SetLayout(Field::ENUM_FIELD_LAYOUT_LARGE);
|
||||
return $oField;
|
||||
}
|
||||
|
||||
public static function MakeSmall(string $sLabel, $sValueHtml)
|
||||
public static function MakeSmall(string $sLabel, string $sValueHtml = '')
|
||||
{
|
||||
$oField = new Field($sLabel, new Html($sValueHtml));
|
||||
$oField->SetLayout(Field::ENUM_FIELD_LAYOUT_SMALL);
|
||||
|
||||
Reference in New Issue
Block a user