mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 02:27:01 +00:00
espo theme default
This commit is contained in:
@@ -270,11 +270,11 @@ class Installer
|
||||
public function getThemeList(): array
|
||||
{
|
||||
return [
|
||||
'Light',
|
||||
'Violet',
|
||||
'Dark',
|
||||
'Glass',
|
||||
'Espo',
|
||||
'Dark',
|
||||
'Light',
|
||||
'Glass',
|
||||
'Violet',
|
||||
'Sakura',
|
||||
'Hazyblue',
|
||||
];
|
||||
@@ -396,7 +396,7 @@ class Installer
|
||||
'siteUrl' => $siteUrl,
|
||||
'cryptKey' => Util::generateSecretKey(),
|
||||
'hashSecretKey' => Util::generateSecretKey(),
|
||||
'theme' => $saveData['theme'] ?? 'Light',
|
||||
'theme' => $saveData['theme'] ?? 'Espo',
|
||||
];
|
||||
|
||||
if (empty($saveData['defaultPermissions']['user'])) {
|
||||
|
||||
@@ -195,7 +195,7 @@ $smarty->assign('action', ucfirst($action));
|
||||
$smarty->assign('config', $config);
|
||||
$smarty->assign('installerConfig', $installer->getInstallerConfigData());
|
||||
|
||||
$theme = $_SESSION['install']['theme'] ?? 'Light';
|
||||
$theme = $_SESSION['install']['theme'] ?? 'Espo';
|
||||
$stylesheet = $installer->getMetadata()->get(['themes', $theme, 'stylesheet']);
|
||||
|
||||
$smarty->assign('stylesheet', $stylesheet);
|
||||
|
||||
Reference in New Issue
Block a user