general purpose callback landing page - e.g. for facebook plugin
This commit is contained in:
parent
40777b132b
commit
2e78ed00f6
1 changed files with 24 additions and 0 deletions
24
mod/cb.php
Normal file
24
mod/cb.php
Normal file
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue