1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Support for Bootstrap5. Clear cache in theme manager when choosing themes.

This commit is contained in:
Cameron
2020-12-29 12:43:25 -08:00
parent e595c0841a
commit 10ad436e28
6 changed files with 128 additions and 5 deletions

View File

@@ -651,6 +651,7 @@ class theme_admin_ui extends e_admin_ui
public function ChoosePage()
{
e107::getTheme()->clearCache();
return $this->GridPage();
}
@@ -737,7 +738,7 @@ class theme_admin_tree_model extends e_tree_model
foreach($themeList as $k=>$v)
{
if(!empty($parms['searchqry']) && stripos($v['description'],$parms['searchqry']) === false && stripos($v['folder'],$parms['searchqry']) === false && stripos($v['name'],$parms['searchqry']) === false)
if(!empty($parms['searchqry']) && stripos($v['info'],$parms['searchqry']) === false && stripos($v['folder'],$parms['searchqry']) === false && stripos($v['name'],$parms['searchqry']) === false)
{
continue;
}