]> git.mxchange.org Git - friendica.git/commitdiff
tabs
authorMike Macgirvin <mike@macgirvin.com>
Sun, 11 Jul 2010 11:09:43 +0000 (04:09 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sun, 11 Jul 2010 11:09:43 +0000 (04:09 -0700)
mod/profile.php
view/style.css

index c0321e620e4e3f588c86f43550c96885226898c2..0e9bb6ff61ef33d56d9de0eb01aadfc05cfe1173 100644 (file)
@@ -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())
index 86876a697d8eb95ed95545de2c5c2613167fc5eb..85713080f86ffce3190b10dc86ee0ae367b031c0 100644 (file)
@@ -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