summaryrefslogtreecommitdiff
path: root/themes/wind/views/no_sidebar.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/wind/views/no_sidebar.html.php')
-rw-r--r--themes/wind/views/no_sidebar.html.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/wind/views/no_sidebar.html.php b/themes/wind/views/no_sidebar.html.php
new file mode 100644
index 0000000..58c5725
--- /dev/null
+++ b/themes/wind/views/no_sidebar.html.php
@@ -0,0 +1,11 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul class="g-message-block">
+ <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>