Skip to content

Commit

Permalink
refs #1685 : bugfix - skin parameter parser
Browse files Browse the repository at this point in the history
 -
  • Loading branch information
inureyes committed Jun 25, 2014
1 parent 05a0524 commit de2b534
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/model/blog.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ function selectSkin($blogid, $skinName) {
}
if ($xmls->doesExist('/skin/support')) {
foreach ($xmls->selectNodes('/skin/support') as $support) {
if (!empty($support['.attributes']['mobile']) && $support['.attributes']['mobile'] == true) {
if (!empty($support['.attributes']['mobile']) && $support['.attributes']['mobile'] == "yes") {
/// Main skin supports mobile, too.
//Setting::setBlogSetting('useiPhoneUI',false,true);
}
}
}
}
// none/single/multiple
$value = $xmls->getValue('/skin/default/commentMessage/none');
if (is_null($value))
Expand Down
2 changes: 1 addition & 1 deletion skin/blog/lucid/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<homepage>http://daybreaker.info</homepage>
<email>[email protected]</email>
</author>
<support mobile=true />
<support mobile="yes" desktop="yes" />
<default>
<recentEntries>5</recentEntries>
<recentComments>5</recentComments>
Expand Down
2 changes: 1 addition & 1 deletion skin/blog/periwinkle/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<homepage>http://blog.2pink.net</homepage>
<email>[email protected]</email>
</author>
<support mobile=true />
<support mobile="yes" desktop="yes" tablet="yes" />
<default>
<recentEntries>5</recentEntries>
<recentComments>5</recentComments>
Expand Down

0 comments on commit de2b534

Please sign in to comment.