no message
This commit is contained in:
parent
8a43127846
commit
0ab55d3e1f
@ -31,7 +31,8 @@ final class ArticleCacheController extends ListController
|
||||
];
|
||||
|
||||
protected array $aFieldTypes = [
|
||||
"content" => "json"
|
||||
"content" => "json",
|
||||
"created_at"=> "time"
|
||||
];
|
||||
|
||||
protected array $aOrderBy = [
|
||||
|
||||
@ -54,6 +54,8 @@
|
||||
$sShowValue = "<a class='text-info js-tom-modal-open-image' tom-modal-field='".$k."' tom-modal-save-id='".$id."'><span class='text-muted'>".$v."</span>";
|
||||
$sShowValue .= "<img class='list-image-".$id."' style='max-height:300px;' src='".$aCustom['sImagePath'].'/'.$v."'></a>";
|
||||
// $sShowValue .= "<input hidden class='image_path' value='".$aCustom['sImagePath']."'></a>";
|
||||
} else if ($sValueType == 'time') {
|
||||
$sShowValue = date("Y-m-d H:i:s", $v);
|
||||
}
|
||||
|
||||
return $sShowValue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user