X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/4aa12354e396c6f1551076d515e0e7a81bf54266..91d3a96bb7741ba92d2d3d7a7dc7d18e0d79688f:/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) { ?>