Browse Source

tabs

pull/1/head
Mike Macgirvin 12 years ago
parent
commit
cf1b5c47dc
  1. 6
      mod/profile.php
  2. 14
      view/style.css

6
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())

14
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;
}
Loading…
Cancel
Save