summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2011-11-22 18:15:05 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2011-11-22 18:15:05 -0500
commit86c7b8213585fc08ecb6f671d9a654e3ddf55bc4 (patch)
treedea41cda8dcaff654057f5f6258f32347e664fdf
parent57135fe167b21354a1ac0ec6cec653324c4562b2 (diff)
downloadampache-86c7b8213585fc08ecb6f671d9a654e3ddf55bc4.tar.gz
ampache-86c7b8213585fc08ecb6f671d9a654e3ddf55bc4.tar.bz2
ampache-86c7b8213585fc08ecb6f671d9a654e3ddf55bc4.zip
Make the access denied page a little more readable
-rw-r--r--templates/show_denied.inc.php15
1 files changed, 5 insertions, 10 deletions
diff --git a/templates/show_denied.inc.php b/templates/show_denied.inc.php
index 176e81dc..a92917c3 100644
--- a/templates/show_denied.inc.php
+++ b/templates/show_denied.inc.php
@@ -37,20 +37,15 @@
<body bgcolor="#f0f0f0">
<div id="header">
<h1>Ampache :: <?php echo _('Access Denied'); ?></h1>
-<p>This Event has been logged</p>
+<p><?php echo _('This event has been logged.'); ?></p>
</div>
<p class="error">
<?php if (!Config::get('demo_mode')) { ?>
-<?php
-echo _("You've been redirected to this page because you do not have access to this function.");
-echo _("If you believe this is an error please contact an Ampache administrator.");
-echo _("This event has been logged");
-?>
+<?php echo _('You have been redirected to this page because you do not have access to this function.'); ?></p><p class="error">
+<?php echo _('If you believe this is an error please contact an Ampache administrator.'); ?></p><p class="error">
+<?php echo _('This event has been logged.'); ?>
<?php } else { ?>
-<?php
-echo _("You've been redirected to this page because you've attempted to access a function that is disabled in the demo.");
-echo _("Functions are disabled in the demo because previous users of the demo have used the functionality to post inappropriate materials");
-?>
+<?php echo _("You have been redirected to this page because you attempted to access a function that is disabled in the demo."); ?>
<?php } ?>
</p>
<div id="bottom">