projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
purge the nasty hooks \o/
[platal.git]
/
modules
/
events.php
diff --git
a/modules/events.php
b/modules/events.php
index
8c13572
..
8fa4f28
100644
(file)
--- a/
modules/events.php
+++ b/
modules/events.php
@@
-37,6
+37,12
@@
class EventsModule extends PLModule
);
}
+ function on_subscribe($forlife, $uid, $promo, $password)
+ {
+ require_once 'newsletter.inc.php';
+ subscribe_nl($uid);
+ }
+
function handler_ev(&$page)
{
$page->changeTpl('login.tpl');