check_feature('feature_user_bookmarks', '', 'community'); $access->check_user($user); if (! isset($_REQUEST['urlid'])) { $smarty->assign('msg', tra('No URL indicated')); $smarty->display('error.tpl'); die; } // Get a list of last changes to the Wiki database $info = $bookmarklib->get_url($_REQUEST['urlid']); $info['refresh'] = $info['lastUpdated']; $smarty->assign_by_ref('info', $info); $smarty->assign('ggcacheurl', 'http://google.com/search?q=cache:' . urlencode(strstr($info['url'], 'http://'))); $smarty->display('tiki-view_cache.tpl');