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