mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
Portal : Fixed a regression introduced by r4324 causing HTML entities on the browse brick.
SVN:trunk[4353]
This commit is contained in:
@@ -545,7 +545,7 @@ class BrowseBrickController extends BrickController
|
|||||||
$aRow[$key] = array(
|
$aRow[$key] = array(
|
||||||
'level_alias' => $key,
|
'level_alias' => $key,
|
||||||
'id' => $value->GetKey(),
|
'id' => $value->GetKey(),
|
||||||
'name' => $value->GetAsHTML($aLevelsProperties[$key]['name_att']),
|
'name' => $value->Get($aLevelsProperties[$key]['name_att']),
|
||||||
'class' => get_class($value),
|
'class' => get_class($value),
|
||||||
'action_rules_token' => static::PrepareActionRulesForItem($value, $key, $aLevelsProperties)
|
'action_rules_token' => static::PrepareActionRulesForItem($value, $key, $aLevelsProperties)
|
||||||
);
|
);
|
||||||
@@ -561,7 +561,7 @@ class BrowseBrickController extends BrickController
|
|||||||
$aRow[$key]['fields'] = array();
|
$aRow[$key]['fields'] = array();
|
||||||
foreach ($aLevelsProperties[$key]['fields'] as $aField)
|
foreach ($aLevelsProperties[$key]['fields'] as $aField)
|
||||||
{
|
{
|
||||||
$aRow[$key]['fields'][$aField['code']] = $value->GetAsHTML($aField['code']);
|
$aRow[$key]['fields'][$aField['code']] = $value->Get($aField['code']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -610,7 +610,7 @@ class BrowseBrickController extends BrickController
|
|||||||
$aItems[$sCurrentIndex] = array(
|
$aItems[$sCurrentIndex] = array(
|
||||||
'level_alias' => $aCurrentRowKeys[0],
|
'level_alias' => $aCurrentRowKeys[0],
|
||||||
'id' => $aCurrentRowValues[0]->GetKey(),
|
'id' => $aCurrentRowValues[0]->GetKey(),
|
||||||
'name' => $aCurrentRowValues[0]->GetAsHTML($aLevelsProperties[$aCurrentRowKeys[0]]['name_att']),
|
'name' => $aCurrentRowValues[0]->Get($aLevelsProperties[$aCurrentRowKeys[0]]['name_att']),
|
||||||
'class' => get_class($aCurrentRowValues[0]),
|
'class' => get_class($aCurrentRowValues[0]),
|
||||||
'subitems' => array(),
|
'subitems' => array(),
|
||||||
'action_rules_token' => static::PrepareActionRulesForItem($aCurrentRowValues[0], $aCurrentRowKeys[0], $aLevelsProperties)
|
'action_rules_token' => static::PrepareActionRulesForItem($aCurrentRowValues[0], $aCurrentRowKeys[0], $aLevelsProperties)
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ class ManageBrickController extends BrickController
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sValue = $oCurrentRow->GetAsHTML($sItemAttr);
|
$sValue = $oCurrentRow->Get($sItemAttr);
|
||||||
}
|
}
|
||||||
unset($oAttDef);
|
unset($oAttDef);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user