diff options
-rw-r--r-- | mod/profile.php | 6 | ||||
-rw-r--r-- | view/style.css | 14 |
2 files changed, 19 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()) diff --git a/view/style.css b/view/style.css index 86876a697..85713080f 100644 --- a/view/style.css +++ b/view/style.css @@ -735,3 +735,17 @@ input#dfrn-url { background-color: #FFEEEE; padding: 10px; } + +.profile-tabs { + float: left; + padding:3px; + margin-right: 5px; + border: 1px solid #888888; +} +.profile-tabs a { + text-decoration: none; +} + +#profile-tabs-end { + clear: both; +}
\ No newline at end of file |