mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
espo theme default
This commit is contained in:
@@ -189,7 +189,7 @@ return [
|
||||
'followCreatedEntities' => false,
|
||||
'b2cMode' => false,
|
||||
'restrictedMode' => false,
|
||||
'theme' => 'Light',
|
||||
'theme' => 'Espo',
|
||||
'themeParams' => (object) ['navbar' => 'side'],
|
||||
'massEmailMaxPerHourCount' => 100,
|
||||
'massEmailMaxPerBatchCount' => null,
|
||||
|
||||
@@ -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