summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-21 06:06:08 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-21 06:06:08 +0000
commitc9101bc0868e64fdeb45d13d2e0a7b4cbf17e35c (patch)
tree4adc973c975c5c17dcbb7bc700bd5c3f685d122c /core/views
parentcce2f3e77ac0b79b5cc94a5404693e358adf2e54 (diff)
Check to make sure that our permission system is working and report
back to our users in the edit permissions dialog.
Diffstat (limited to 'core/views')
-rw-r--r--core/views/permissions_browse.html.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/views/permissions_browse.html.php b/core/views/permissions_browse.html.php
index 30bd240d..afd87c2b 100644
--- a/core/views/permissions_browse.html.php
+++ b/core/views/permissions_browse.html.php
@@ -24,6 +24,13 @@
}
</script>
<div id="gPermissions">
+ <? if (!$htaccess_works): ?>
+ <ul id="gMessage">
+ <li class="gError">
+ <?= t("Oh no! Your server needs a configuration change in order for you to hide photos! Ask your server administrator to set <a href=\"%url\"><i>AllowOverride FileInfo Options</i></a> to fix this.", array("url" => "http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride")) ?>
+ </li>
+ </ul>
+ <? endif ?>
<ul>
<? foreach ($parents as $parent): ?>
<li>