1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Added FAQ-count to cron. Correct faq_question field type. Increased number of FAQs per page in admin area.

This commit is contained in:
Cameron
2015-04-15 15:35:42 -07:00
parent 01463a6759
commit edbc6dd700
3 changed files with 5 additions and 5 deletions

View File

@@ -56,14 +56,14 @@
$link = $tp->replaceConstants("{e_PLUGIN}faqs/admin_config.php?searchquery=&filter_options=faq_author__0&mode=main&action=list", 'full');
$eml = array(
'subject' => "Unuanswered Question as of ".date('d-M-Y')." ",
'subject' => count($existing)." Unuanswered Question as of ".date('d-M-Y')." ",
// 'sender_email' => $email,
'sender_name' => SITENAME . " Automation",
// 'replyto' => $email,
'html' => true,
'template' => 'default',
'body' => "
<h2>Unuanswered Questions at ".SITENAME."</h2>To answer these questions, please login to ".SITENAME." and then <a href='{$link}'>click here</a>.<br />
<h2>".count($existing)." Unuanswered Questions at ".SITENAME."</h2>To answer these questions, please login to ".SITENAME." and then <a href='{$link}'>click here</a>.<br />
<ul><li>".implode("</li><li>",$questions)."</li></ul>"
);