Skip to content
Permalink
Browse files

adding input type email

  • Loading branch information...
teiling88 committed Sep 20, 2016
1 parent 032eadc commit 09ea90e4e497fbbf8f5d1b15413574887fff8880
@@ -35,7 +35,7 @@
{message_start}<tr><td colspan="2" class="message">{message}</td></tr><tr><td class="spacer" colspan="2"></td></tr>{message_end}
<tr>
<td>{t}Username:{/t}</td>
<td><input name="email" maxlength="80" type="text" value="{username}" class="input200" /></td>
<td><input name="email" maxlength="80" type="email" value="{username}" class="input200" /></td>
</tr>
<tr>
<td>{t}Password:{/t}</td>
@@ -30,7 +30,7 @@
$sLoggedOut =
'<form action="' . ($opt['page']['https']['force_login'] ? $opt['page']['absolute_https_url'] : '') . 'login.php" method="post" enctype="application/x-www-form-urlencoded" name="login" dir="ltr" style="display: inline;"><b>'
. t('User:')
. '</b>&nbsp;&nbsp;<input name="email" size="10" type="text" class="textboxes" value="" />&nbsp;&nbsp;&nbsp;<b>'
. '</b>&nbsp;&nbsp;<input name="email" size="10" type="email" class="textboxes" value="" />&nbsp;&nbsp;&nbsp;<b>'
. t('Password:')
. '</b>&nbsp;&nbsp;<input name="password" size="10" type="password" class="textboxes" value="" />&nbsp;<input type="hidden" name="action" value="login" /><input type="hidden" name="target" value="{target}" /><input type="hidden" name="source" value="titlebar" />&nbsp;<input type="submit" name="LogMeIn" value="'
. t('Login')
@@ -36,7 +36,7 @@
<table class="table">
<tr>
<td>{t}E-Mail:{/t}</td>
<td><input type="text" name="email" maxlength="60" value="{$email|escape}" class="input200" />{if $errorEMail==true} &nbsp;<span class="errormsg">{t}E-Mail-Adress is not valid.{/t}</span>{/if}</td>
<td><input type="email" name="email" maxlength="60" value="{$email|escape}" class="input200" />{if $errorEMail==true} &nbsp;<span class="errormsg">{t}E-Mail-Adress is not valid.{/t}</span>{/if}</td>
</tr>
<tr>
<td>{t}Activation code:{/t}</td>
@@ -44,7 +44,7 @@
<table class="table">
<tr>
<td>{t}Username:{/t}</td>
<td><input name="email" maxlength="80" type="text" value="{$username}" class="input200" /></td>
<td><input name="email" maxlength="80" type="email" value="{$username}" class="input200" /></td>
</tr>
<tr>
<td>{t}Password:{/t}</td>
@@ -31,7 +31,7 @@
<tr>
<td>{t}New E-Mail address:{/t}</td>
<td>
<input name="email" maxlength="60" type="text" value="{$email|escape}" class="input200" />
<input name="email" maxlength="60" type="email" value="{$email|escape}" class="input200" />
</td>
</tr>
<tr>
@@ -30,7 +30,7 @@
<tr>
<td>{t}E-Mail-Address:{/t}</td>
<td>
<input name="email" type="text" value="{$emailrq|escape}" maglength="60" class="input200" />
<input name="email" type="email" value="{$emailrq|escape}" maglength="60" class="input200" />
</td>
</tr>
<tr>
@@ -73,7 +73,7 @@
<tr>
<td>{t}E-Mail-Address:{/t}</td>
<td>
<input name="email" type="text" value="{$emailch|escape}" maglength="60" class="input200" />
<input name="email" type="email" value="{$emailch|escape}" maglength="60" class="input200" />
</td>
</tr>
{if $emailRqErrorNotFound==true}
@@ -120,7 +120,7 @@
<tr>
<td width="145" valign="top">{t}E-Mail:{/t}</td>
<td valign="top">
<input type="text" name="email" maxlength="80" value="{$email|escape}" class="input200" /> *&nbsp;
<input type="email" name="email" maxlength="80" value="{$email|escape}" class="input200" /> *&nbsp;
{if $error_email_not_ok==1}
<span class="errormsg">{t}The E-Mail is not valid.{/t}</span>
{elseif $error_email_exists==1}
@@ -137,7 +137,7 @@
{nocache}
&nbsp;
{if $login.userid==0}
<b><form action="{$opt.page.login_url}" method="post" enctype="application/x-www-form-urlencoded" name="login" dir="ltr" style="display: inline;">{t}User:{/t}&nbsp;&nbsp;<input name="email" size="10" type="text" class="textboxes" value="" />&nbsp;&nbsp;&nbsp;{t}Password:{/t}&nbsp;&nbsp;<input name="password" size="10" type="password" class="textboxes" value="" />&nbsp;<input type="hidden" name="action" value="login" /><input type="hidden" name="target" value="{$opt.page.target|escape}" /><input type="hidden" name="source" value="titlebar" />&nbsp;<input name="LogMeIn" value="{t}Login{/t}" class="formbutton" style="width: 74px;" type="submit" onclick="submitbutton('LogMeIn')" /></form></b>
<b><form action="{$opt.page.login_url}" method="post" enctype="application/x-www-form-urlencoded" name="login" dir="ltr" style="display: inline;">{t}User:{/t}&nbsp;&nbsp;<input name="email" size="10" type="email" class="textboxes" value="" />&nbsp;&nbsp;&nbsp;{t}Password:{/t}&nbsp;&nbsp;<input name="password" size="10" type="password" class="textboxes" value="" />&nbsp;<input type="hidden" name="action" value="login" /><input type="hidden" name="target" value="{$opt.page.target|escape}" /><input type="hidden" name="source" value="titlebar" />&nbsp;<input name="LogMeIn" value="{t}Login{/t}" class="formbutton" style="width: 74px;" type="submit" onclick="submitbutton('LogMeIn')" /></form></b>
{else} {* Ocprop: <a href="myhome.php">(.*?)<\/a>.*?<a href="login.php
<a href="myhome.php">.*?<a href="login.php\?action=logout"> *}
<b>{t}Logged in as{/t} <a href="myhome.php" class="testing-top-left-corner-username">{$login.username|escape}</a></b> - <a href="login.php?action=logout">{t}Logout{/t}</a>

0 comments on commit 09ea90e

Please sign in to comment.
You can’t perform that action at this time.