diff options
Diffstat (limited to 'bookmarks.php')
-rw-r--r-- | bookmarks.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bookmarks.php b/bookmarks.php index c8a4e24..a0f15e2 100644 --- a/bookmarks.php +++ b/bookmarks.php @@ -206,19 +206,20 @@ if ($templatename == 'editbookmark.tpl') { $tplVars['sidebar_blocks'] = array('watchstatus'); - if (!$cat) { + if (!$cat) { //user page without tags $cat = NULL; $tplVars['currenttag'] = NULL; - $tplVars['sidebar_blocks'][] = 'menu'; - } else { + //$tplVars['sidebar_blocks'][] = 'menu2'; + $tplVars['sidebar_blocks'][] = 'popular'; + } else { //pages with tags $rssCat = '/'. filter($cat, 'url'); $tplVars['currenttag'] = $cat; $tplVars['sidebar_blocks'][] = 'tagactions'; + //$tplVars['sidebar_blocks'][] = 'menu2'; $tplVars['sidebar_blocks'][] = 'linked'; $tplVars['sidebar_blocks'][] = 'related'; - $tplVars['sidebar_blocks'][] = 'menu'; + /*$tplVars['sidebar_blocks'][] = 'menu';*/ } - $tplVars['sidebar_blocks'][] = 'popular'; $tplVars['popCount'] = 30; //$tplVars['sidebar_blocks'][] = 'popular'; |