Commit 5b61bb67 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2361 Login uses simple quotes for translated strings in smarty template

Showing with 19 additions and 19 deletions
+19 -19
......@@ -34,28 +34,28 @@
</div>
<input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' />
<div style='text-align:center; padding:10px;'>
<label for='username'><img class='center' align='middle' src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}' />&nbsp;</label>
<input type='text' name='username' id='username' maxlength='40' value='{$username}'
title='{t}Username{/t}' onFocus="nextfield= 'password';" />
<input id="focus" name="focus" type="image" src="images/empty.png" style="width:0px; height:0px;" />
<div style="text-align:center; padding:10px;">
<label for="username"><img class="center" align="middle" src="{$personal_img}" alt="{t}Username{/t}" title="{t}Username{/t}"/>&nbsp;</label>
<input type="text" name="username" id="username" maxlength="40" value="{$username}"
title="{t}Username{/t}" onFocus="nextfield= 'password';" />
<br />
<br />
<label for='password'><img class='center' align='middle' src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}' />&nbsp;</label>
<input type='password' name='password' id='password' maxlength='40' value=''
title='{t}Password{/t}' onFocus="nextfield= 'login';" />
<label for="password"><img class="center" align="middle" src="{$password_img}" alt="{t}Password{/t}" title="{t}Password{/t}" />&nbsp;</label>
<input type="password" name="password" id="password" maxlength="40" value=""
title="{t}Password{/t}" onFocus="nextfield= 'login';" />
<br />
<a href="recovery.php">{t}I forgot my password{/t}</a>
</div>
<div style='text-align:center; padding:15px;'>
<img class='center' align='middle' src='{$directory_img}' alt='{t}Directory{/t}' title='{t}Directory{/t}' />&nbsp;
<select name='server' title='{t}Directory{/t}' onchange='javascript:document.mainform.submit();'>
<div style="text-align:center; padding:15px;">
<img class="center" align="middle" src="{$directory_img}" alt="{t}Directory{/t}" title="{t}Directory{/t}" />&nbsp;
<select name="server" title="{t}Directory{/t}" onchange="javascript:document.mainform.submit();">
{html_options options=$server_options selected=$server_id}
</select>
</div>
<!-- check, if cookies are enabled -->
<p class='gosaLoginWarning'>
<p class="gosaLoginWarning">
<script language="JavaScript" type="text/javascript">
<!--
document.cookie = "gosatest=empty;path=/";
......@@ -67,16 +67,16 @@
</script>
</p>
</div>
<div style='padding:10px;'>
<div style='float:left; color:red; font-weight:bold'>
<div style="padding:10px;">
<div style="float:left; color:red; font-weight:bold">
{$message}
</div>
<div style='float:right; text-align:right;'>
<div style="float:right; text-align:right;">
<!-- Display error message on demand -->
<input type='submit' name='login' value='{t}Sign in{/t}'
title='{t}Click here to log in{/t}' onFocus="nextfield='login';" />
<input type='hidden' name='javascript' value='false' />
<input type='hidden' name='login' value='{t}Sign in{/t}' />
<input type="submit" name="login" value="{t}Sign in{/t}"
title="{t}Click here to log in{/t}" onFocus="nextfield='login';" />
<input type="hidden" name="javascript" value="false" />
<input type="hidden" name="login" value="{t}Sign in{/t}" />
</div>
<div style="clear:both"></div>
</div>
......
  • bmortier @bmortier

    mentioned in issue #789

    By Côme Chilliet on 2017-09-02T14:59:05 (imported from GitLab)

    ·

    mentioned in issue #789

    By Côme Chilliet on 2017-09-02T14:59:05 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment