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
ea1df470
Unverified
Commit
ea1df470
authored
Jan 28, 2018
by
q2apro
Committed by
GitHub
Jan 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding total questions unanswered to Admin Stats
parent
f9f9d3bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
admin-stats.php
qa-include/pages/admin/admin-stats.php
+6
-0
No files found.
qa-include/pages/admin/admin-stats.php
View file @
ea1df470
...
...
@@ -40,6 +40,7 @@ if (!qa_admin_check_privileges($qa_content))
$qcount
=
(
int
)
qa_opt
(
'cache_qcount'
);
$qcount_anon
=
qa_db_count_posts
(
'Q'
,
false
);
$qcount_unans
=
(
int
)
qa_opt
(
'cache_unaqcount'
);
$acount
=
(
int
)
qa_opt
(
'cache_acount'
);
$acount_anon
=
qa_db_count_posts
(
'A'
,
false
);
...
...
@@ -113,6 +114,11 @@ $qa_content['form'] = array(
'value'
=>
qa_html
(
qa_format_number
(
$qcount
)),
),
'qcount_unans'
=>
array
(
'label'
=>
qa_lang_html
(
'admin/total_qs_unans'
),
'value'
=>
qa_html
(
qa_format_number
(
$qcount_unans
)),
),
'qcount_users'
=>
array
(
'label'
=>
qa_lang_html
(
'admin/from_users'
),
'value'
=>
qa_html
(
qa_format_number
(
$qcount
-
$qcount_anon
)),
...
...
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