add more plugin hooks, etc.
This commit is contained in:
parent
e287014b98
commit
d8969bb84b
4 changed files with 32 additions and 1 deletions
|
@ -97,6 +97,9 @@ function profile_content(&$a, $update = 0) {
|
|||
require_once("view/$profile_lang/profile_advanced.php");
|
||||
else
|
||||
require_once('view/profile_advanced.php');
|
||||
|
||||
call_hooks('profile_advanced',$o);
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,9 @@ function settings_post(&$a) {
|
|||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
call_hooks('settings_post', $_POST);
|
||||
|
||||
if(count($a->user) && x($a->user,'uid') && $a->user['uid'] != local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
|
@ -298,6 +301,9 @@ function settings_content(&$a) {
|
|||
'$pagetype' => $pagetype
|
||||
));
|
||||
|
||||
call_hooks('settings_page',$o);
|
||||
|
||||
return $o;
|
||||
|
||||
}}
|
||||
}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue