mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Ignore old bootstrap theme during installation.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e107Theme name="bootstrap3" version="1.0" date="2013-12-25" compatibility="2.0">
|
||||
<e107Theme name="Bootstrap 3" version="1.0" date="2013-12-25" compatibility="2.0">
|
||||
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
|
||||
<summary>Bootstrap3 e107 theme</summary>
|
||||
<description>a bootstrap 3 theme for the frontend</description>
|
||||
|
@@ -1012,11 +1012,16 @@ class e_install
|
||||
|
||||
foreach($themes as $val)
|
||||
{
|
||||
if($val == 'bootstrap')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$themeInfo = $this->get_theme_xml($val);
|
||||
$title = vartrue($themeInfo['@attributes']['name']);
|
||||
$category = vartrue($themeInfo['category']);
|
||||
|
||||
$selected = ($val == 'bootstrap3') ? "selected='selected'" : "";
|
||||
$selected = ($val == 'bootstrap3') ? " checked" : "";
|
||||
|
||||
$output .= "
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user