From eeecb412aa9296be1f61e99db7695e672b08861f Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 6 Sep 2011 00:55:24 -0700 Subject: [PATCH] view bookmarks --- mod/network.php | 14 +++++++++++++- view/theme/duepuntozero/style.css | 3 +++ view/theme/loozah/style.css | 4 ++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/mod/network.php b/mod/network.php index 1434f5d312..624fb8793f 100644 --- a/mod/network.php +++ b/mod/network.php @@ -14,6 +14,9 @@ function network_init(&$a) { $a->page['aside'] = ''; $search = ((x($_GET,'search')) ? escape_tags($_GET['search']) : ''); + + // We need a better way of managing a growing argument list + $srchurl = '/network' . ((x($_GET,'cid')) ? '?cid=' . $_GET['cid'] : '') . ((x($_GET,'star')) ? '?star=' . $_GET['star'] : '') @@ -44,8 +47,9 @@ function network_init(&$a) { $a->page['aside'] .= ''; + } else { $a->page['aside'] .= '' . t('View New Items') . ''; @@ -65,6 +69,14 @@ function network_init(&$a) { . '' . '
'; + if(! $_GET['bmark']) + $a->page['aside'] .= ''; + + } $a->page['aside'] .= ''; diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 8a681a0e09..acd7d5bb54 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -803,6 +803,9 @@ input#dfrn-url { float: left; margin-right: 5px; } +#network-bmark-link { + margin-top: 10px; +} .wall-item-content-wrapper { margin-top: 10px; diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index d552d59c61..8636f1085e 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -1019,6 +1019,10 @@ input#dfrn-url { float: left; margin-right: 5px; } +#network-bmark-link { + margin-top: 10px; +} + .wall-item-info.wallwall {