summaryrefslogtreecommitdiffstats
path: root/templates/show_user_activate.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_user_activate.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_user_activate.inc.php')
-rw-r--r--templates/show_user_activate.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_user_activate.inc.php b/templates/show_user_activate.inc.php
index af8caf19..71307724 100644
--- a/templates/show_user_activate.inc.php
+++ b/templates/show_user_activate.inc.php
@@ -33,14 +33,14 @@ $web_path = Config::get('web_path');
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::get('site_charset'); ?>" />
-<title><?php echo Config::get('site_title'); ?> - <?php echo _('Registration'); ?></title>
+<title><?php echo Config::get('site_title'); ?> - <?php echo T_('Registration'); ?></title>
<link rel="stylesheet" href="<?php echo Config::get('web_path'); ?>/templates/install.css" type="text/css" media="screen" />
<link rel="shortcut icon" href="<?php echo Config::get('web_path'); ?>/favicon.ico" />
</head>
<body>
<div id="header">
<h1><?php echo Config::get('site_title'); ?></h1>
-<?php echo _('Registration'); ?>...
+<?php echo T_('Registration'); ?>...
</div>
<script src="<?php echo $web_path; ?>/modules/prototype/prototype.js" language="javascript" type="text/javascript"></script>
@@ -52,15 +52,15 @@ $web_path = Config::get('web_path');
if ($validation == User::get_validation($username) AND strlen($validation)) {
User::activate_user($username);
?>
-<h3><?php echo _('User Activated'); ?></h3>
+<h3><?php echo T_('User Activated'); ?></h3>
<p>
<?php
/* HINT: Start A tag, End A tag */
- printf(_('This User ID is activated and can be used %sLogin%s'), '<a href="' . Config::get('web_path'). '/login.php">', '</a>'); ?>
+ printf(T_('This User ID is activated and can be used %sLogin%s'), '<a href="' . Config::get('web_path'). '/login.php">', '</a>'); ?>
</p>
<?php } else { ?>
-<h3><?php echo _('Validation Failed'); ?></h3>
-<p><?php echo _("The validation key used isn't correct"); ?></p>
+<h3><?php echo T_('Validation Failed'); ?></h3>
+<p><?php echo T_("The validation key used isn't correct"); ?></p>
<?php } ?>
</div><!--end <div>id="maincontainer-->
<div id="bottom">