getCurrentUserId(); if ($logged_on_userid === false) { $logged_on_userid = NULL; } // editing mode if(($logged_on_userid != null) && ($userid === $logged_on_userid)) { $editingMode = true; } else { $editingMode = false; } if(!isset($user)) { $cat_url = createURL('tags', '%2$s'); } $menuTags = $tag2tagservice->getMenuTags($userid); if (sizeof($menuTags) > 0 || ($userid != 0 && $userid === $logged_on_userid)) { ?>