aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-11 04:09:43 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-11 04:09:43 -0700
commitcf1b5c47dc710e4d644429ad716ba81703875420 (patch)
tree7a041f6684c4915d71d76260ddbb30746a6e87ec
parenta6cde63fd87f003f8678247a25ecd883cd019689 (diff)
downloadvolse-hubzilla-cf1b5c47dc710e4d644429ad716ba81703875420.tar.gz
volse-hubzilla-cf1b5c47dc710e4d644429ad716ba81703875420.tar.bz2
volse-hubzilla-cf1b5c47dc710e4d644429ad716ba81703875420.zip
tabs
-rw-r--r--mod/profile.php6
-rw-r--r--view/style.css14
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