2011-02-10 03:32:09 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* General purpose landing page for plugins/addons
|
|
|
|
*/
|
|
|
|
|
2017-04-30 00:07:00 -04:00
|
|
|
use Friendica\App;
|
2016-02-07 09:11:34 -05:00
|
|
|
|
2017-01-09 07:12:54 -05:00
|
|
|
function cb_init(App $a) {
|
2011-02-10 03:32:09 -05:00
|
|
|
call_hooks('cb_init');
|
|
|
|
}
|
|
|
|
|
2017-01-09 07:12:54 -05:00
|
|
|
function cb_post(App $a) {
|
2011-02-10 03:32:09 -05:00
|
|
|
call_hooks('cb_post', $_POST);
|
|
|
|
}
|
|
|
|
|
2017-01-09 07:12:54 -05:00
|
|
|
function cb_afterpost(App $a) {
|
2011-02-10 03:32:09 -05:00
|
|
|
call_hooks('cb_afterpost');
|
|
|
|
}
|
|
|
|
|
2017-01-09 07:12:54 -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
|
|
|
}
|