Skip to content

Commit

Permalink
adding input type email
Browse files Browse the repository at this point in the history
  • Loading branch information
teiling88 committed Sep 20, 2016
1 parent 032eadc commit 09ea90e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion htdocs/lang/de/ocstyle/login.tpl.php
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/lang/de/ocstyle/varset.inc.php
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion htdocs/templates2/ocstyle/activation.tpl
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/templates2/ocstyle/login.tpl
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/templates2/ocstyle/newemail.tpl
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions htdocs/templates2/ocstyle/newpw.tpl
Expand Up @@ -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>
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/templates2/ocstyle/register.tpl
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/templates2/ocstyle/sys_main.tpl
Expand Up @@ -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>
Expand Down

0 comments on commit 09ea90e

Please sign in to comment.