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