aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-10 19:43:55 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-10 19:43:55 -0700
commitb9bbe0cec290e9d5c3363ff272aa89de4716345d (patch)
treef904d45913f5d95356349b19069113e702c57528 /mod/profile.php
parent30a88a41e550207bd95ce2d3a073f8ddd4e4d087 (diff)
downloadvolse-hubzilla-b9bbe0cec290e9d5c3363ff272aa89de4716345d.tar.gz
volse-hubzilla-b9bbe0cec290e9d5c3363ff272aa89de4716345d.tar.bz2
volse-hubzilla-b9bbe0cec290e9d5c3363ff272aa89de4716345d.zip
advanced profile
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 94e86e151..c0321e620 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -98,6 +98,11 @@ function profile_content(&$a) {
require_once("include/bbcode.php");
require_once('include/security.php');
+ $tab = 'posts';
+
+ if(x($_GET,'tab'))
+ $tab = notags(trim($_GET['tab']));
+
// $tpl = file_get_contents('view/profile_tabs.tpl');
@@ -111,7 +116,12 @@ function profile_content(&$a) {
$contact_id = $r[0]['id'];
}
+ if($tab == 'profile') {
+ require_once('view/profile_advanced.php');
+
+ return $o;
+ }
if(can_write_wall($a,$a->profile['profile_uid'])) {
$tpl = file_get_contents('view/jot-header.tpl');