aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-10 12:56:51 -0700
committerFriendika <info@friendika.com>2011-10-10 12:56:51 -0700
commitcaf18164f0f7bd336e61d4393dabf6d93c739879 (patch)
tree15053927bc3605fb52af6e51d84cf055b93341b7 /mod/photos.php
parent06c268b3db815d56a92bfabd8df297f5e4331689 (diff)
parent2ea2e7f4b4a1f890cfcba95e92bf81a273042196 (diff)
downloadvolse-hubzilla-caf18164f0f7bd336e61d4393dabf6d93c739879.tar.gz
volse-hubzilla-caf18164f0f7bd336e61d4393dabf6d93c739879.tar.bz2
volse-hubzilla-caf18164f0f7bd336e61d4393dabf6d93c739879.zip
Merge branch 'pull'
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..284169221 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, $a->data['user']['nickname']);
//
// dispatch request