diff --git a/addons/tccommentnotify/conf/info.xml b/addons/tccommentnotify/conf/info.xml new file mode 100644 index 000000000..50e540319 --- /dev/null +++ b/addons/tccommentnotify/conf/info.xml @@ -0,0 +1,10 @@ + + + 댓글알리미 애드온 + + haneul + + 댓글알리미를 지원하는 애드온입니다. + + + diff --git a/addons/tccommentnotify/tccommentnotify.addon.php b/addons/tccommentnotify/tccommentnotify.addon.php new file mode 100644 index 000000000..ed178628b --- /dev/null +++ b/addons/tccommentnotify/tccommentnotify.addon.php @@ -0,0 +1,36 @@ +procNotifyReceived(); + return; + } + + if($called_position == "after_module_proc") + { + $oModel = &getModel('tccommentnotify'); + if($oModel->checkShouldNotify()) + { + $scriptCode = << + // + + +EndOfScript; + Context::addHtmlHeader($scriptCode); + } + } +?>