summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-17 13:09:02 +0800
committer <unostar@danalan.info>2009-06-17 13:51:35 +0800
commitf83a080bf13cc84616d9a1f3e95222651178a628 (patch)
treec92f762ffe6794a0f64d99ff2080b8cd512a595a /themes
parent145070d718a6031cc16f823e53bbb1a674f1933e (diff)
Change the page.html file so that if the type of page is login, the sidebar contents are are not shown
Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'themes')
-rw-r--r--themes/default/views/page.html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index 3feb14cb..f6286f95 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -81,7 +81,9 @@
</div>
</div>
<div id="gSidebar" class="yui-b">
+ <? if ($theme->page_type != "login"): ?>
<?= $theme->display("sidebar.html") ?>
+ <? endif ?>
</div>
</div>
<div id="gFooter">