ajout icone page dans liste des pages

This commit is contained in:
afornerot 2020-10-01 16:29:40 +02:00
parent 8cc5f686ab
commit 1ab804ee9b
1 changed files with 5 additions and 1 deletions

View File

@ -133,10 +133,14 @@ class PageController extends Controller
$user.=$data->getUser()->getUsername();
}
$icon="";
if($data->getFonticon())
$icon.="<i class='".$data->getFonticon()." fa-fw'></i>&nbsp;";
array_push($output["data"],[
$action,
$data->getRoworder(),
$data->getName(),
$icon.$data->getName(),
$data->getPagecategory()->getName(),
$user
]);