diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-30 14:31:20 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-30 14:31:20 +0200 |
commit | 60e0f79b9f9e94b19cc412eac41e5d8f8fec2383 (patch) | |
tree | 6a42698623f3c065851f2266acd9434b4c9776ff /mod/network.php | |
parent | dfb3ee6e29b6943f86ec75af12db5a1422a7e1dd (diff) | |
parent | 30b7c689292b3a5d06fb9c52a369b53ecb05e57f (diff) | |
download | volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.tar.gz volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.tar.bz2 volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.zip |
Merge remote-tracking branch 'friendika/master'
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 10 |
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>'; |