1
0
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:
Cameron
2015-02-05 11:59:53 -08:00
parent 7f57db1637
commit 243e0457a9
2 changed files with 7 additions and 2 deletions

View File

@@ -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>

View File

@@ -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>