add more plugin hooks, etc.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+7
-1
@@ -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;
|
||||
|
||||
}}
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user