summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 09:51:49 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 09:51:49 +0000
commitff4f55fb5f7575fe6e629e782232c5eb0df4c8f8 (patch)
tree97fe6d2ad589d9908c5a649f9cd55ccf2996ec01 /index.php
parent0bfd4e4d3f4fa3db0b2de50277b0cfbddcf6efdf (diff)
downloadsemanticscuttle-ff4f55fb5f7575fe6e629e782232c5eb0df4c8f8.tar.gz
semanticscuttle-ff4f55fb5f7575fe6e629e782232c5eb0df4c8f8.tar.bz2
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
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
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');