Skip to content
Snippets Groups Projects
Commit 7098c2fb authored by Jared Hancock's avatar Jared Hancock
Browse files

i18n: No language preference for single lang systems

parent 77e59482
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ if ($acct = $thisclient->getAccount()) {
<div class="error"><?php echo $errors['timezone']; ?></div>
</td>
</tr>
<?php if ($cfg->getSecondaryLanguages()) { ?>
<tr>
<td width="180">
<?php echo __('Preferred Language'); ?>:
......@@ -50,7 +51,8 @@ $selected = ($info['lang'] == $l['code']) ? 'selected="selected"' : ''; ?>
<span class="error">&nbsp;<?php echo $errors['lang']; ?></span>
</td>
</tr>
<?php if ($acct->isPasswdResetEnabled()) { ?>
<?php }
if ($acct->isPasswdResetEnabled()) { ?>
<tr>
<td colspan=2">
<div><hr><h3><?php echo __('Access Credentials'); ?></h3></div>
......
......@@ -92,6 +92,7 @@ $info['id']=$staff->getId();
<div class="error"><?php echo $errors['timezone']; ?></div>
</td>
</tr>
<?php if ($cfg->getSecondaryLanguages()) { ?>
<tr>
<td width="180">
<?php echo __('Preferred Language'); ?>:
......@@ -110,6 +111,7 @@ $info['id']=$staff->getId();
<span class="error">&nbsp;<?php echo $errors['lang']; ?></span>
</td>
</tr>
<?php } ?>
<tr><td width="220"><?php echo __('Preferred Locale');?>:</td>
<td>
<select name="locale">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment