Skip to content

Commit

Permalink
! Fixed minor glitch on skin selector in responsive mode. (Themes.php)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nao committed Oct 5, 2014
1 parent 0303ffc commit 4bd583c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/app/Themes.php
Expand Up @@ -1087,15 +1087,15 @@ function wedge_show_skins(&$style, $show_defaults = false, $current_skin = '', $
$output = '';
foreach ($style as $sty)
{
$intro = !$show_defaults || $filler ? $filler . ($current == $last ? '└' : '├') . '— ' : '';
$intro = !$show_defaults || $filler ? $filler . ($current == $last ? '└' : '├') . '— ' : '';
$output .= '<option value="' . westr::safe($sty['dir']) . '"' . ($current_skin == $sty['dir'] ? ' selected' : '') . '>' . $intro . $sty['name'];
$context['skin_names'][$sty['dir']] = $sty['name'];
if ($show_defaults)
{
if ($sty['dir'] == $settings['theme_skin_guests'])
$output .= ' &lt;small&gt;' . $txt['skin_default'] . '&lt;/small&gt;';
elseif ($sty['dir'] == $settings['theme_skin_guests_mobile'])
$output .=' &lt;small&gt;' . $txt['skin_default_mobile'] . '&lt;/small&gt;';
$output .= ' &lt;small&gt;' . $txt['skin_default_mobile'] . '&lt;/small&gt;';
}
$output .= '</option>';
if (!empty($sty['skins']))
Expand Down

0 comments on commit 4bd583c

Please sign in to comment.