servermgrv2 init...
This commit is contained in:
parent
3dc91f7842
commit
27a11a9205
@ -94,20 +94,23 @@ function getFieldIndex_Row_BoardHelper($field, $entity, array $fieldFilters, $fi
|
||||
$value = $entity->$field ?: DEFAULTS['EMPTY'];
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
return anchor(
|
||||
current_url() . '/view/' . $entity->getPrimaryKey(),
|
||||
$value,
|
||||
[
|
||||
...$attributes,
|
||||
"style" => sprintf("padding-left:%spx", $entity->getHierarchy_Depth() * DEFAULTS['HIERARCHY_GRPDEPTH']),
|
||||
"target" => "_self"
|
||||
]
|
||||
) .
|
||||
return sprintf(
|
||||
"<div style=\"text-align:left;\">%s%s</div>",
|
||||
anchor(
|
||||
current_url() . '/view/' . $entity->getPrimaryKey(),
|
||||
$value,
|
||||
[
|
||||
...$attributes,
|
||||
"style" => sprintf("padding-left:%spx", $entity->getHierarchy_Depth() * DEFAULTS['HIERARCHY_GRPDEPTH']),
|
||||
"target" => "_self"
|
||||
]
|
||||
),
|
||||
anchor(
|
||||
current_url() . '/reply/' . $entity->getPrimaryKey(),
|
||||
ICONS["REPLY"],
|
||||
["target" => "_self"]
|
||||
);
|
||||
)
|
||||
);
|
||||
break;
|
||||
case 'board_file':
|
||||
case 'upload_file':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user