diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-11-01 09:51:35 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-11-01 09:51:35 -0700 |
commit | 7a53cebd29c00afbc53ab5c60f8980d8b6d204a0 (patch) | |
tree | acef80d1bef7fd7a278527a84cf7a973757a1b4e /themes/wind | |
parent | 31681bf834d5dc560b9898d9c30903f08ecb1966 (diff) |
Don't show the sidebar on error pages - it just increases the chances
that we'll compound the error. Instead, focus on the error or the
login form. Fixes #1921.
Diffstat (limited to 'themes/wind')
-rw-r--r-- | themes/wind/views/page.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index c3e212c5..5bbbb509 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -131,7 +131,7 @@ </div> </div> <div id="g-sidebar" class="yui-b"> - <? if ($theme->page_subtype != "login"): ?> + <? if (!in_array($theme->page_subtype, array("login", "error"))): ?> <?= new View("sidebar.html") ?> <? endif ?> </div> |