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
e576e104
Commit
e576e104
authored
Jan 29, 2014
by
Scott Vivian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update user profile page to include exact join date
parent
adc56dfb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
qa-lang-main.php
qa-include/qa-lang-main.php
+1
-0
qa-page-user-profile.php
qa-include/qa-page-user-profile.php
+4
-1
No files found.
qa-include/qa-lang-main.php
View file @
e576e104
...
...
@@ -166,6 +166,7 @@
'search_title'
=>
'Search results'
,
'selected'
=>
'selected'
,
'send_button'
=>
'Send'
,
'since_x'
=>
'since ^'
,
'suggest_ask'
=>
'Help get things started by ^1asking a question^2.'
,
'suggest_category_qs'
=>
'To see more, click for all the ^1questions in this category^2.'
,
'suggest_qs_tags'
=>
'To see more, click for the ^1full list of questions^2 or ^3popular tags^4.'
,
...
...
qa-include/qa-page-user-profile.php
View file @
e576e104
...
...
@@ -355,6 +355,9 @@
// General information about the user, only available if we're using internal user management
if
(
!
QA_FINAL_EXTERNAL_USERS
)
{
$membertime
=
qa_time_to_string
(
qa_opt
(
'db_time'
)
-
$useraccount
[
'created'
]);
$joindate
=
qa_when_to_html
(
$useraccount
[
'created'
],
0
);
$qa_content
[
'form_profile'
]
=
array
(
'tags'
=>
'method="post" action="'
.
qa_self_html
()
.
'"'
,
...
...
@@ -375,7 +378,7 @@
'duration'
=>
array
(
'type'
=>
'static'
,
'label'
=>
qa_lang_html
(
'users/member_for'
),
'value'
=>
qa_html
(
qa_time_to_string
(
qa_opt
(
'db_time'
)
-
$useraccount
[
'created'
])
),
'value'
=>
qa_html
(
$membertime
.
' ('
.
qa_lang_sub
(
'main/since_x'
,
$joindate
[
'data'
])
.
')'
),
'id'
=>
'duration'
,
),
...
...
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