add more plugin hooks, etc.

This commit is contained in:
Friendika
2010-12-22 20:23:41 -08:00
parent e287014b98
commit d8969bb84b
4 changed files with 32 additions and 1 deletions
+3
View File
@@ -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
View File
@@ -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;
}}
}}