2011-02-10 08:32:09 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* General purpose landing page for plugins/addons
|
|
|
|
*/
|
|
|
|
|
2016-02-07 14:11:34 +00:00
|
|
|
|
2016-12-20 09:58:55 +00:00
|
|
|
function cb_init(App &$a) {
|
2011-02-10 08:32:09 +00:00
|
|
|
call_hooks('cb_init');
|
|
|
|
}
|
|
|
|
|
2016-12-20 09:58:55 +00:00
|
|
|
function cb_post(App &$a) {
|
2011-02-10 08:32:09 +00:00
|
|
|
call_hooks('cb_post', $_POST);
|
|
|
|
}
|
|
|
|
|
2016-12-20 09:58:55 +00:00
|
|
|
function cb_afterpost(App &$a) {
|
2011-02-10 08:32:09 +00:00
|
|
|
call_hooks('cb_afterpost');
|
|
|
|
}
|
|
|
|
|
2016-12-20 09:58:55 +00:00
|
|
|
function cb_content(App &$a) {
|
2011-02-10 08:32:09 +00:00
|
|
|
$o = '';
|
|
|
|
call_hooks('cb_content', $o);
|
|
|
|
return $o;
|
2016-02-07 14:11:34 +00:00
|
|
|
}
|