Unverified Commit 95cde3f2 by Scott Committed by GitHub

Merge pull request #598 from q2apro/patch-12

Adding total questions unanswered to Admin Stats
parents a59a1dc4 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)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment