From 1eca2d231c79c046a3c122a09bd761fa8f641a6e Mon Sep 17 00:00:00 2001 From: mensonge Date: Tue, 19 May 2009 15:59:55 +0000 Subject: Many interface changes: add 'back to the top links', a variable to display more bookmarks for admins... git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@329 b3834d28-1941-0410-a4f8-b48e95affb8f --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 3f5136c..df55b05 100644 --- a/index.php +++ b/index.php @@ -34,6 +34,7 @@ isset($_GET['sort']) ? define('GET_SORT', $_GET['sort']): define('GET_SORT', '') // Logout action if (GET_ACTION == "logout") { $userservice->logout(); + $tplVars['currentUser'] = null; $tplvars['msg'] = T_('You have now logged out'); } @@ -57,7 +58,7 @@ if ($usecache) { } // Pagination -$perpage = getPerPageCount(); +$perpage = getPerPageCount($currentUser); if (intval(GET_PAGE) > 1) { $page = GET_PAGE; $start = ($page - 1) * $perpage; -- cgit v1.2.3-54-g00ecf