2011-02-10 09:32:09 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* General purpose landing page for plugins/addons
|
|
|
|
*/
|
|
|
|
|
2016-02-05 21:52:39 +01:00
|
|
|
if(! function_exists('cb_init')) {
|
2011-02-10 09:32:09 +01:00
|
|
|
function cb_init(&$a) {
|
|
|
|
call_hooks('cb_init');
|
|
|
|
}
|
2016-02-05 21:52:39 +01:00
|
|
|
}
|
2011-02-10 09:32:09 +01:00
|
|
|
|
2016-02-05 21:52:39 +01:00
|
|
|
if(! function_exists('cb_post')) {
|
2011-02-10 09:32:09 +01:00
|
|
|
function cb_post(&$a) {
|
|
|
|
call_hooks('cb_post', $_POST);
|
|
|
|
}
|
2016-02-05 21:52:39 +01:00
|
|
|
}
|
2011-02-10 09:32:09 +01:00
|
|
|
|
2016-02-05 21:52:39 +01:00
|
|
|
if(! function_exists('cb_afterpost')) {
|
2011-02-10 09:32:09 +01:00
|
|
|
function cb_afterpost(&$a) {
|
|
|
|
call_hooks('cb_afterpost');
|
|
|
|
}
|
2016-02-05 21:52:39 +01:00
|
|
|
}
|
2011-02-10 09:32:09 +01:00
|
|
|
|
2016-02-05 21:52:39 +01:00
|
|
|
if(! function_exists('cb_content')) {
|
2011-02-10 09:32:09 +01:00
|
|
|
function cb_content(&$a) {
|
|
|
|
$o = '';
|
|
|
|
call_hooks('cb_content', $o);
|
|
|
|
return $o;
|
2016-02-05 21:52:39 +01:00
|
|
|
}
|
|
|
|
}
|