aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-10-10 07:33:41 -0700
committerfabrixxm <fabrix.xm@gmail.com>2011-10-10 07:33:41 -0700
commited07a4def34a44be323a9b0d61e2d9eb0701ec4a (patch)
tree960cb038d94a5c7715a59e5346358e9ae7afe5e8 /mod/photos.php
parent3174847de80600be5e0bf32864edca79388d6433 (diff)
parentf64e2d63b9ee66482b3461ecb6ee8f7776e23b87 (diff)
downloadvolse-hubzilla-ed07a4def34a44be323a9b0d61e2d9eb0701ec4a.tar.gz
volse-hubzilla-ed07a4def34a44be323a9b0d61e2d9eb0701ec4a.tar.bz2
volse-hubzilla-ed07a4def34a44be323a9b0d61e2d9eb0701ec4a.zip
Merge pull request #26 from fabrixxm/master
New common tab template. Updated 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