use more translated phrases

This commit is contained in:
Uwe Steinmann 2023-05-06 07:11:50 +02:00
parent aaec4a8428
commit c5a131592d

View File

@ -367,21 +367,21 @@ function webauthnAuthenticate(key, cb){
echo "<div class=\"alert\">".getMLText('webauthn_info')."</div>";
echo '<div class="row-fluid">';
echo '<div class="span6">';
$this->contentHeading('webauthn_registration');
$this->contentHeading(getMLText('webauthn_registration'));
$this->contentContainerStart();
?>
<div class='cerror'></div>
<div class='cdone'></div>
<div class='ccontent'></div>
<form class="form-horizontal" id="iregisterform" action="/" method="post" name="form1">
<form class="-form-horizontal" id="iregisterform" action="/" method="post" name="form1">
<input type="hidden" name="registerusername" value="<?= $user->getLogin() ?>" />
<div class="control-group"><label class="control-label"><?php printMLText('webauth_crossplatform'); ?></label><div class="controls">
<!-- div class="control-group"><label class="control-label"><?php printMLText('webauth_crossplatform'); ?></label><div class="controls" -->
<select class="chzn-select" name="crossplatform" id="crossplatform">
<option value="yes">Yes</option>
<option value="yes"><?= getMLText('webauth_crossplatform') ?></option>
<option value="no">No</option>
</select>
</div></div>
<!-- /div></div -->
<?php
$this->formSubmit(getMLText('submit_webauthn_register'));
?>
@ -393,7 +393,7 @@ function webauthnAuthenticate(key, cb){
echo "</div>";
if($user->getWebauthn()) {
echo '<div class="span6">';
$this->contentHeading('webauthn_login_test');
$this->contentHeading(getMLText('webauthn_login_test'));
$this->contentContainerStart();
?>
<form class="form-horizontal" id="iloginform" action="/" method="post" name="form1">