From ff4f55fb5f7575fe6e629e782232c5eb0df4c8f8 Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 11 Jan 2008 09:51:49 +0000 Subject: Interface design: transform recent bookmarks in last bookmarks to avoid blank front page git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@11 b3834d28-1941-0410-a4f8-b48e95affb8f --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index fe55e59..aa9ba05 100644 --- a/index.php +++ b/index.php @@ -62,7 +62,7 @@ if (isset($_GET['page']) && intval($_GET['page']) > 1) { } $dtend = date('Y-m-d H:i:s', strtotime('tomorrow')); -$dtstart = date('Y-m-d H:i:s', strtotime($dtend .' -'. $defaultRecentDays .' days')); +/*$dtstart = date('Y-m-d H:i:s', strtotime($dtend .' -'. $defaultRecentDays .' days'));*/ $tplVars['page'] = $page; $tplVars['start'] = $start; @@ -72,7 +72,7 @@ $tplVars['range'] = 'all'; $tplVars['pagetitle'] = T_('Store, share and tag your favourite links'); $tplVars['subtitle'] = T_('Recent Bookmarks'); $tplVars['bookmarkCount'] = $start + 1; -$bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, $dtstart, $dtend); +$bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, 0, $dtend); $tplVars['total'] = $bookmarks['total']; $tplVars['bookmarks'] =& $bookmarks['bookmarks']; $tplVars['cat_url'] = createURL('tags', '%2$s'); -- cgit v1.2.3