X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/050b5adfe71a4d515996dcb24dcdf070feb014bb..91d3a96bb7741ba92d2d3d7a7dc7d18e0d79688f:/templates/bookmarks.tpl.php diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index a535590..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) { ?> @@ -89,6 +101,12 @@ if (count($bookmarks) > 0) { $address = filter($row['bAddress']); + // Internet Archive WayBack Links + $archive_link = ''; + if ($GLOBALS["archive_links"]) { + $archive_link = ' - ' . T_('Archived Link') . ''; + } + // Redirection option if ($GLOBALS['useredir']) { $address = $GLOBALS['url_redir'] . $address; @@ -101,9 +119,9 @@ if (count($bookmarks) > 0) { echo '