aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-22 20:23:41 -0800
committerFriendika <info@friendika.com>2010-12-22 20:23:41 -0800
commitd8969bb84b7a710bf77f23de0d392a192dfc8f53 (patch)
tree1bf8cc90900dcf52f66b7c09a453acb5133a9b6a /mod
parente287014b98a4688fa2051fb03e8e9032b380dcb8 (diff)
downloadvolse-hubzilla-d8969bb84b7a710bf77f23de0d392a192dfc8f53.tar.gz
volse-hubzilla-d8969bb84b7a710bf77f23de0d392a192dfc8f53.tar.bz2
volse-hubzilla-d8969bb84b7a710bf77f23de0d392a192dfc8f53.zip
add more plugin hooks, etc.
Diffstat (limited to 'mod')
-rw-r--r--mod/profile.php3
-rw-r--r--mod/settings.php8
2 files changed, 10 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index b40617d03..b1f020930 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -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;
}
diff --git a/mod/settings.php b/mod/settings.php
index b86ff4c1c..4743ecd66 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -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;
-}} \ No newline at end of file
+}}
+