summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2011-01-04 15:59:26 -0700
committerChad Kieffer <ckieffer@gmail.com>2011-01-04 15:59:26 -0700
commite921c3c5b5b8f963f121601d346c50a24bc0cf15 (patch)
treea29064762c3b37812596cb82c3e910f7321a85b2 /themes
parentdbff45cc91ac44f18ef02b8abdd220a2864f050f (diff)
parentd74aad072d8ccca70efb1c8b673e8368566a1974 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'themes')
-rw-r--r--themes/wind/views/no_sidebar.html.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/themes/wind/views/no_sidebar.html.php b/themes/wind/views/no_sidebar.html.php
index a9eb0e3e..58c57256 100644
--- a/themes/wind/views/no_sidebar.html.php
+++ b/themes/wind/views/no_sidebar.html.php
@@ -1,6 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul class="g-message-block">
- <li class="g-warning"><?= t("No active sidebar blocks.") ?>
- <br/><a href="<?= url::site("admin/sidebar") ?>"><?= t("Add blocks") ?></a>
+ <li class="g-warning">
+ <? if (block_manager::get_active("site_sidebar")): ?>
+ <?= t("Active sidebar blocks have no content.") ?>
+ <? else: ?>
+ <?= t("No active sidebar blocks.") ?>
+ <? endif ?>
+ <a href="<?= url::site("admin/sidebar") ?>"><?= t("configure blocks") ?></a>
</li>
</ul>