aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/profile.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index c0321e620..0e9bb6ff6 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -103,7 +103,11 @@ function profile_content(&$a) {
if(x($_GET,'tab'))
$tab = notags(trim($_GET['tab']));
-// $tpl = file_get_contents('view/profile_tabs.tpl');
+ $tpl = file_get_contents('view/profile_tabs.tpl');
+
+ $o .= replace_macros($tpl,array(
+ '$url' => $a->get_baseurl() . '/' . $a->cmd
+ ));
if(remote_user())