Skip to content

Commit

Permalink
Dev Text fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Nov 29, 2021
1 parent 9ccfb30 commit 68704a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/controllers/admin/useraction.php
Expand Up @@ -669,7 +669,7 @@ public function personalsettings()

if (Yii::app()->request->getPost('newemailshown') == "1") {
if (Yii::app()->getConfig('demoMode')) {
Yii::app()->setFlashMessage(gT("You can't change email if demo mode is active."), 'error');
Yii::app()->setFlashMessage(gT("You can't change your email adress if demo mode is active."), 'error');
$this->getController()->redirect(array("admin/user/sa/personalsettings"));
}

Expand Down
6 changes: 3 additions & 3 deletions application/views/admin/user/personalsettings.php
Expand Up @@ -124,7 +124,7 @@
</div>
<div class="col-sm-12 col-md-6">
<div class="form-group">
<?php echo TbHtml::label(gT("Email:"), 'lang', ['class' => " control-label"]); ?>
<?php echo TbHtml::label(gT("Email address:"), 'lang', ['class' => " control-label"]); ?>
<div class="">
<?php echo TbHtml::emailField('email', $sEmailAdress, ['readonly' => true, 'class' => 'form-control', 'maxlength' => 254]); ?>
</div>
Expand All @@ -142,7 +142,7 @@
</button>
<button type="button" class="btn btn-default btn-warning " id="selector__showChangeEmail" style="color: white; outline: none;">
<i class="fa fa-lock"></i>
<?= gT("Change email") ?>
<?= gT("Change email address") ?>
</button>
<br/>
</div>
Expand Down Expand Up @@ -186,7 +186,7 @@
<input type="hidden" id="newemailshown" name="newemailshown" value="0"/>
<div class="col-sm-12 col-md-6">
<div class="form-group">
<?php echo TbHtml::label(gT("New email:"), 'lang', ['class' => " control-label"]); ?>
<?php echo TbHtml::label(gT("New email address:"), 'lang', ['class' => " control-label"]); ?>
<div class="">
<?php echo TbHtml::emailField('newemail', $sEmailAdress, ['class' => 'form-control', 'maxlength' => 254]); ?>
</div>
Expand Down

0 comments on commit 68704a0

Please sign in to comment.