🐛 (pagetype): use only the radical of the icon
This commit is contained in:
parent
5b0b8b874c
commit
cbb141d2a5
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ class KoblogUpdater {
|
||||||
//
|
//
|
||||||
if (!file_exists(PATH_DATABASES . 'pagetypes.php')) {
|
if (!file_exists(PATH_DATABASES . 'pagetypes.php')) {
|
||||||
$data = array(
|
$data = array(
|
||||||
'article' => array('name' => $L->g("Article"), 'plural' => $L->g("Articles"), 'icon'=>'fa-file-text'),
|
'article' => array('name' => $L->g("Article"), 'plural' => $L->g("Articles"), 'icon'=>'file-text'),
|
||||||
'static' => array('name' => $L->g("Static page"), 'plural' => $L->g("Static pages"), 'icon'=>'fa-file'),
|
'static' => array('name' => $L->g("Static page"), 'plural' => $L->g("Static pages"), 'icon'=>'file'),
|
||||||
);
|
);
|
||||||
file_put_contents(PATH_DATABASES . 'pagetypes.php', $dataHead . json_encode($data, JSON_PRETTY_PRINT), LOCK_EX);
|
file_put_contents(PATH_DATABASES . 'pagetypes.php', $dataHead . json_encode($data, JSON_PRETTY_PRINT), LOCK_EX);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue