diff options
Diffstat (limited to 'mod/cb.php')
-rw-r--r-- | mod/cb.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mod/cb.php b/mod/cb.php new file mode 100644 index 000000000..6375d2398 --- /dev/null +++ b/mod/cb.php @@ -0,0 +1,24 @@ +<?php + +/** + * General purpose landing page for plugins/addons + */ + + +function cb_init(&$a) { + call_hooks('cb_init'); +} + +function cb_post(&$a) { + call_hooks('cb_post', $_POST); +} + +function cb_afterpost(&$a) { + call_hooks('cb_afterpost'); +} + +function cb_content(&$a) { + $o = ''; + call_hooks('cb_content', $o); + return $o; +}
\ No newline at end of file |