diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-05-19 15:59:55 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-05-19 15:59:55 +0000 |
commit | 1eca2d231c79c046a3c122a09bd761fa8f641a6e (patch) | |
tree | 7584daebb596d852e1d1a813a90bba5686925de3 /index.php | |
parent | 01c62e34fcd095e583f00a1890e6f311fbcb47dd (diff) | |
download | semanticscuttle-1eca2d231c79c046a3c122a09bd761fa8f641a6e.tar.gz semanticscuttle-1eca2d231c79c046a3c122a09bd761fa8f641a6e.tar.bz2 |
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
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |