Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
3343735a
Commit
3343735a
authored
Feb 13, 2015
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix text direction on login/register forms
Fixes #190
parent
d738af87
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
login.php
qa-include/pages/login.php
+2
-2
register.php
qa-include/pages/register.php
+3
-3
qa-theme.php
qa-theme/Snow/qa-theme.php
+2
-2
qa-theme.php
qa-theme/SnowFlat/qa-theme.php
+2
-2
No files found.
qa-include/pages/login.php
View file @
3343735a
...
...
@@ -121,7 +121,7 @@
'fields'
=>
array
(
'email_handle'
=>
array
(
'label'
=>
qa_opt
(
'allow_login_email_only'
)
?
qa_lang_html
(
'users/email_label'
)
:
qa_lang_html
(
'users/email_handle_label'
),
'tags'
=>
'name="emailhandle" id="emailhandle"'
,
'tags'
=>
'name="emailhandle" id="emailhandle"
dir="auto"
'
,
'value'
=>
qa_html
(
@
$inemailhandle
),
'error'
=>
qa_html
(
@
$errors
[
'emailhandle'
]),
),
...
...
@@ -129,7 +129,7 @@
'password'
=>
array
(
'type'
=>
'password'
,
'label'
=>
qa_lang_html
(
'users/password_label'
),
'tags'
=>
'name="password" id="password"'
,
'tags'
=>
'name="password" id="password"
dir="auto"
'
,
'value'
=>
qa_html
(
@
$inpassword
),
'error'
=>
empty
(
$errors
[
'password'
])
?
''
:
(
qa_html
(
@
$errors
[
'password'
])
.
' - '
.
$forgothtml
),
'note'
=>
$passwordsent
?
qa_lang_html
(
'users/password_sent'
)
:
$forgothtml
,
...
...
qa-include/pages/register.php
View file @
3343735a
...
...
@@ -150,7 +150,7 @@
'fields'
=>
array
(
'handle'
=>
array
(
'label'
=>
qa_lang_html
(
'users/handle_label'
),
'tags'
=>
'name="handle" id="handle"'
,
'tags'
=>
'name="handle" id="handle"
dir="auto"
'
,
'value'
=>
qa_html
(
@
$inhandle
),
'error'
=>
qa_html
(
@
$errors
[
'handle'
]),
),
...
...
@@ -158,14 +158,14 @@
'password'
=>
array
(
'type'
=>
'password'
,
'label'
=>
qa_lang_html
(
'users/password_label'
),
'tags'
=>
'name="password" id="password"'
,
'tags'
=>
'name="password" id="password"
dir="auto"
'
,
'value'
=>
qa_html
(
@
$inpassword
),
'error'
=>
qa_html
(
@
$errors
[
'password'
]),
),
'email'
=>
array
(
'label'
=>
qa_lang_html
(
'users/email_label'
),
'tags'
=>
'name="email" id="email"'
,
'tags'
=>
'name="email" id="email"
dir="auto"
'
,
'value'
=>
qa_html
(
@
$inemail
),
'note'
=>
qa_opt
(
'email_privacy'
),
'error'
=>
qa_html
(
@
$errors
[
'email'
]),
...
...
qa-theme/Snow/qa-theme.php
View file @
3343735a
...
...
@@ -13,8 +13,8 @@ class qa_html_theme extends qa_html_theme_base
$login
=
$this
->
content
[
'navigation'
][
'user'
][
'login'
];
$this
->
output
(
'<form class="qam-login-form" action="'
.
$login
[
'url'
]
.
'" method="post">'
,
'<input type="text" class="qam-login-text" name="emailhandle" placeholder="'
.
trim
(
qa_lang_html
(
qa_opt
(
'allow_login_email_only'
)
?
'users/email_label'
:
'users/email_handle_label'
),
':'
)
.
'">'
,
'<input type="password" class="qam-login-text" name="password" placeholder="'
.
trim
(
qa_lang_html
(
'users/password_label'
),
':'
)
.
'">'
,
'<input type="text" class="qam-login-text" name="emailhandle"
dir="auto"
placeholder="'
.
trim
(
qa_lang_html
(
qa_opt
(
'allow_login_email_only'
)
?
'users/email_label'
:
'users/email_handle_label'
),
':'
)
.
'">'
,
'<input type="password" class="qam-login-text" name="password"
dir="auto"
placeholder="'
.
trim
(
qa_lang_html
(
'users/password_label'
),
':'
)
.
'">'
,
'<div class="qam-rememberbox"><input type="checkbox" name="remember" id="qam-rememberme" value="1">'
,
'<label for="qam-rememberme" class="qam-remember">'
.
qa_lang_html
(
'users/remember'
)
.
'</label></div>'
,
'<input type="hidden" name="code" value="'
.
qa_html
(
qa_get_form_security_code
(
'login'
))
.
'">'
,
...
...
qa-theme/SnowFlat/qa-theme.php
View file @
3343735a
...
...
@@ -165,8 +165,8 @@ class qa_html_theme extends qa_html_theme_base
$login
=
$this
->
content
[
'navigation'
][
'user'
][
'login'
];
$this
->
output
(
'<form action="'
.
$login
[
'url'
]
.
'" method="post">'
,
'<input type="text" name="emailhandle" placeholder="'
.
trim
(
qa_lang_html
(
'users/email_handle_label'
),
':'
)
.
'">'
,
'<input type="password" name="password" placeholder="'
.
trim
(
qa_lang_html
(
'users/password_label'
),
':'
)
.
'">'
,
'<input type="text" name="emailhandle"
dir="auto"
placeholder="'
.
trim
(
qa_lang_html
(
'users/email_handle_label'
),
':'
)
.
'">'
,
'<input type="password" name="password"
dir="auto"
placeholder="'
.
trim
(
qa_lang_html
(
'users/password_label'
),
':'
)
.
'">'
,
'<div><input type="checkbox" name="remember" id="qam-rememberme" value="1">'
,
'<label for="qam-rememberme">'
.
qa_lang_html
(
'users/remember'
)
.
'</label></div>'
,
'<input type="hidden" name="code" value="'
.
qa_html
(
qa_get_form_security_code
(
'login'
))
.
'">'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment