aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-09-29 09:03:30 +0200
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-09-29 09:03:30 +0200
commit47f38bc3abb175843fb664e9784b14df11130d0a (patch)
tree49b1398c0f71e79f7c77430384c8417a0c60e917 /mod/network.php
parent6cf5da1e4bc43d8446f5789bc93f82673ec64c2e (diff)
parent6d36fab90f378222db599cda62cceb46006f67e2 (diff)
downloadvolse-hubzilla-47f38bc3abb175843fb664e9784b14df11130d0a.tar.gz
volse-hubzilla-47f38bc3abb175843fb664e9784b14df11130d0a.tar.bz2
volse-hubzilla-47f38bc3abb175843fb664e9784b14df11130d0a.zip
Merge branch 'master' of git://github.com/friendika/Free-Friendika
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/network.php b/mod/network.php
index 9488cd973..371a35402 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -78,23 +78,25 @@ function network_init(&$a) {
// network links moved to content to match other pages
// all
- $a->page['content'] .= '<a class="tabs ' . $all_active . '" href="' . $a->get_baseurl() . '/'
+ // added 'button' class for easier styling - not the best place for it, should be moved into the tpl like profile_tabs.tpl
+ // once there is a network_tabs.tpl or something
+ $a->page['content'] .= '<a class="button tabs ' . $all_active . '" href="' . $a->get_baseurl() . '/'
. str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '?cid=' . $_GET['cid'] : '') . '">'
. t('All') . '</a>';
// new
- $a->page['content'] .= '<a class="tabs ' . $new_active . '" href="' . $a->get_baseurl() . '/'
+ $a->page['content'] .= '<a class="button tabs ' . $new_active . '" href="' . $a->get_baseurl() . '/'
. str_replace('/new', '', $a->cmd) . '/new'
. ((x($_GET,'cid')) ? '/?cid=' . $_GET['cid'] : '') . '">'
. t('New') . '</a>';
// starred
- $a->page['content'] .= '<a class="tabs ' . $starred_active . '" href="' . $a->get_baseurl() . '/'
+ $a->page['content'] .= '<a class="button tabs ' . $starred_active . '" href="' . $a->get_baseurl() . '/'
. str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?cid=' . $_GET['cid'] : '') . '&star=1" >'
. t('Starred') . '</a>';
// bookmarks
- $a->page['content'] .= '<a class="tabs ' . $bookmarked_active . '" href="' . $a->get_baseurl() . '/'
+ $a->page['content'] .= '<a class="button tabs ' . $bookmarked_active . '" href="' . $a->get_baseurl() . '/'
. str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?cid=' . $_GET['cid'] : '') . '&bmark=1" >'
. t('Bookmarks') . '</a>';