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
152fcdea
Commit
152fcdea
authored
Jul 12, 2022
by
François C.
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3498-email-error' into 'main'
3498-email-error See merge request
!10
parents
ee7e3712
f6824a3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
account.php
qa-include/pages/account.php
+1
-1
qa-theme-base.php
qa-include/qa-theme-base.php
+1
-1
qa-styles.css
qa-theme/Cagette/qa-styles.css
+4
-0
No files found.
qa-include/pages/account.php
View file @
152fcdea
...
...
@@ -279,7 +279,7 @@ $qa_content['form_profile'] = array(
'value'
=>
qa_html
(
isset
(
$inemail
)
?
$inemail
:
$useraccount
[
'email'
]),
'error'
=>
isset
(
$errors
[
'email'
])
?
qa_html
(
$errors
[
'email'
])
:
(
$pending_confirmation
?
qa_insert_login_links
(
qa_lang_html
(
'users/email_please_confirm'
))
:
null
),
'type'
=>
'static'
,
'type'
=>
$pending_confirmation
?
'email'
:
(
$isblocked
?
'static'
:
'email'
)
,
),
'messages'
=>
array
(
...
...
qa-include/qa-theme-base.php
View file @
152fcdea
...
...
@@ -1412,7 +1412,7 @@ class qa_html_theme_base
public
function
form_email
(
$field
,
$style
)
{
$this
->
output
(
'<input
'
.
@
$field
[
'tags'
]
.
' type="email" value="'
.
@
$field
[
'value'
]
.
'" class="qa-form-'
.
$style
.
'
-email"/>'
);
$this
->
output
(
'<input
readonly="readonly" '
.
@
$field
[
'tags'
]
.
' type="email" value="'
.
@
$field
[
'value'
]
.
'" class="qa-form-'
.
$style
.
'-email qa-form
-email"/>'
);
}
public
function
form_text_single_row
(
$field
,
$style
)
...
...
qa-theme/Cagette/qa-styles.css
View file @
152fcdea
...
...
@@ -362,6 +362,10 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-form-wide-number
{
width
:
48px
;
border
:
1px
solid
#658296
;
vertical-align
:
middle
;}
.qa-form-wide-error
{
display
:
inline-block
;
background
:
#fee
;
border
:
1px
solid
#c00
;
color
:
#c00
;
font-size
:
11px
;
margin-left
:
6px
;
padding
:
.5em
;}
.qa-form-wide-note
{
font-size
:
1rem
;
margin-left
:
4px
;}
.qa-form-email
{
border
:
0
;
pointer-events
:
none
;
}
.qa-form-wide-buttons
{
padding
:
8px
;
text-align
:
center
;
...
...
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