aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.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/photos.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/photos.php')
-rw-r--r--mod/photos.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 1321af192..623b15a93 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -831,18 +831,8 @@ function photos_content(&$a) {
$o = "";
// tabs
- $tpl = get_markup_template('profile_tabs.tpl');
$_is_owner = (local_user() && (local_user() == $owner_uid));
- $o .= replace_macros($tpl,array(
- '$url' => $a->get_baseurl() . '/profile/' .$a->data['user']['nickname'],
- '$phototab' => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'],
- '$status' => t('Status'),
- '$profile' => t('Profile'),
- '$photos' => t('Photos'),
- '$events' => (($_is_owner) ? t('Events') : ''),
- '$notes' => (($_is_owner) ? t('Personal Notes') : ''),
- '$activetab' => "photos",
- ));
+ $o .= profile_tabs($a,$_is_owner);
//
// dispatch request