aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-10 15:28:34 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-10 15:28:34 +0200
commitf64e2d63b9ee66482b3461ecb6ee8f7776e23b87 (patch)
tree9aff5c840b9ec7affe78494e77ff9c2183b6394a /mod/profile.php
parent077726a193809bed5b1433713b69ce985e177925 (diff)
downloadvolse-hubzilla-f64e2d63b9ee66482b3461ecb6ee8f7776e23b87.tar.gz
volse-hubzilla-f64e2d63b9ee66482b3461ecb6ee8f7776e23b87.tar.bz2
volse-hubzilla-f64e2d63b9ee66482b3461ecb6ee8f7776e23b87.zip
New common tab template. Update css
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php15
1 files changed, 3 insertions, 12 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 50bbdd46e..9da0784d3 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -110,18 +110,7 @@ function profile_content(&$a, $update = 0) {
if(x($_GET,'tab'))
$tab = notags(trim($_GET['tab']));
- $tpl = get_markup_template('profile_tabs.tpl');
-
- $o .= replace_macros($tpl,array(
- '$url' => $a->get_baseurl() . '/' . $a->cmd,
- '$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname'],
- '$status' => t('Status'),
- '$profile' => t('Profile'),
- '$photos' => t('Photos'),
- '$events' => (($is_owner) ? t('Events') : ''),
- '$notes' => (($is_owner) ? t('Personal Notes') : ''),
- '$activetab' => $tab,
- ));
+ $o.=profile_tabs($a, $is_owner);
if($tab === 'profile') {
@@ -131,6 +120,8 @@ function profile_content(&$a, $update = 0) {
return $o;
}
+
+
if(x($_SESSION,'new_member') && $_SESSION['new_member'] && $is_owner)
$o .= '<a href="newmember">' . t('Tips for New Members') . '</a>' . EOL;