summaryrefslogtreecommitdiffstats
path: root/templates/show_denied.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2012-03-31 17:01:04 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-04-12 21:13:29 -0400
commitf65076b93d91fe9718cf9bef37638d64290b9f28 (patch)
tree40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/show_denied.inc.php
parent15457b16f17a141fa76a3b9882892362b601787c (diff)
downloadampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.gz
ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.bz2
ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.zip
Switch from _() to T_()
Even if we move away from php-gettext in the future, it's easy to write a quick T_() as a simple wrapper; it's not so easy to rewrite PHP to allow redeclaration of a function.
Diffstat (limited to 'templates/show_denied.inc.php')
-rw-r--r--templates/show_denied.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_denied.inc.php b/templates/show_denied.inc.php
index a92917c3..5b6dbd77 100644
--- a/templates/show_denied.inc.php
+++ b/templates/show_denied.inc.php
@@ -36,16 +36,16 @@
</head>
<body bgcolor="#f0f0f0">
<div id="header">
-<h1>Ampache :: <?php echo _('Access Denied'); ?></h1>
-<p><?php echo _('This event has been logged.'); ?></p>
+<h1>Ampache :: <?php echo T_('Access Denied'); ?></h1>
+<p><?php echo T_('This event has been logged.'); ?></p>
</div>
<p class="error">
<?php if (!Config::get('demo_mode')) { ?>
-<?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 echo T_('You have been redirected to this page because you do not have access to this function.'); ?></p><p class="error">
+<?php echo T_('If you believe this is an error please contact an Ampache administrator.'); ?></p><p class="error">
+<?php echo T_('This event has been logged.'); ?>
<?php } else { ?>
-<?php echo _("You have been redirected to this page because you attempted to access a function that is disabled in the demo."); ?>
+<?php echo T_("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">