1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Closes #4514 Theme developers can now set the default style, just as they would with the default layout.

This commit is contained in:
Cameron
2022-04-06 08:37:13 -07:00
parent 8df5e187b3
commit 196f952db8
7 changed files with 65 additions and 52 deletions

View File

@@ -433,12 +433,15 @@ class theme_admin_ui extends e_admin_ui
{
$mes->addError($message);
}
$this->redirectAction('main');
}
if(!empty($_POST['selectadmin']))
{
$id = key($_POST['selectadmin']);
$this->setAdminTheme($id);
$this->redirectAction('admin');
}