X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/d477c6adca34948d272e753cd0d11df35fcf23cb..HEAD:/templates/bookmarks.tpl.php diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index fa40561..743a7c2 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -1,10 +1,22 @@ getServiceInstance('UserService'); +$bookmarkservice =& $sf->getServiceInstance('BookmarkService'); $logged_on_userid = $userservice->getCurrentUserId(); $this->includeTemplate($GLOBALS['top_include']); +# define variables +if (!isset($currenttag)) { + $currenttag = NULL; +} +if (!isset($user)) { + $user = NULL; +} +if (!isset($userid)) { + $userid = NULL; +} + include 'search.inc.php'; if (count($bookmarks) > 0) { ?>