|
@@ 494-498 (lines=5) @@
|
| 491 |
|
$notificationHandler->triggerEvent('faq', $this->faqid(), 'approved', $tags); |
| 492 |
|
break; |
| 493 |
|
|
| 494 |
|
case Constants::SF_NOT_FAQ_SUBMITTED: |
| 495 |
|
$tags['WAITINGFILES_URL'] = XOOPS_URL . '/modules/' . $smartModule->getVar('dirname') . '/admin/faq.php?faqid=' . $this->faqid(); |
| 496 |
|
$notificationHandler->triggerEvent('global_faq', 0, 'submitted', $tags); |
| 497 |
|
$notificationHandler->triggerEvent('category_faq', $this->categoryid(), 'submitted', $tags); |
| 498 |
|
break; |
| 499 |
|
|
| 500 |
|
case Constants::SF_NOT_QUESTION_PUBLISHED: |
| 501 |
|
$tags['FAQ_URL'] = XOOPS_URL . '/modules/' . $smartModule->getVar('dirname') . '/answer.php?faqid=' . $this->faqid(); |
|
@@ 507-511 (lines=5) @@
|
| 504 |
|
$notificationHandler->triggerEvent('question', $this->faqid(), 'approved', $tags); |
| 505 |
|
break; |
| 506 |
|
|
| 507 |
|
case Constants::SF_NOT_QUESTION_SUBMITTED: |
| 508 |
|
$tags['WAITINGFILES_URL'] = XOOPS_URL . '/modules/' . $smartModule->getVar('dirname') . '/admin/question.php?op=mod&faqid=' . $this->faqid(); |
| 509 |
|
$notificationHandler->triggerEvent('global_question', 0, 'submitted', $tags); |
| 510 |
|
$notificationHandler->triggerEvent('category_question', $this->categoryid(), 'submitted', $tags); |
| 511 |
|
break; |
| 512 |
|
|
| 513 |
|
case Constants::SF_NOT_FAQ_REJECTED: |
| 514 |
|
$notificationHandler->triggerEvent('faq', $this->faqid(), 'rejected', $tags); |
|
@@ 517-521 (lines=5) @@
|
| 514 |
|
$notificationHandler->triggerEvent('faq', $this->faqid(), 'rejected', $tags); |
| 515 |
|
break; |
| 516 |
|
|
| 517 |
|
case Constants::SF_NOT_NEW_ANSWER_PROPOSED: |
| 518 |
|
$tags['WAITINGFILES_URL'] = XOOPS_URL . '/modules/' . $smartModule->getVar('dirname') . '/admin/answer.php?op=mod&faqid=' . $this->faqid(); |
| 519 |
|
$notificationHandler->triggerEvent('global_faq', 0, 'answer_proposed', $tags); |
| 520 |
|
$notificationHandler->triggerEvent('category_faq', $this->categoryid(), 'answer_proposed', $tags); |
| 521 |
|
break; |
| 522 |
|
|
| 523 |
|
case Constants::SF_NOT_NEW_ANSWER_PUBLISHED: |
| 524 |
|
$notificationHandler->triggerEvent('global_faq', 0, 'answer_published', $tags); |