summaryrefslogtreecommitdiffstatshomepage
path: root/index.php
diff options
context:
space:
mode:
authorGravatar mensonge2009-05-19 15:59:55 +0000
committerGravatar mensonge2009-05-19 15:59:55 +0000
commit1eca2d231c79c046a3c122a09bd761fa8f641a6e (patch)
tree7584daebb596d852e1d1a813a90bba5686925de3 /index.php
parent01c62e34fcd095e583f00a1890e6f311fbcb47dd (diff)
downloadscuttle-1eca2d231c79c046a3c122a09bd761fa8f641a6e.tar.gz
scuttle-1eca2d231c79c046a3c122a09bd761fa8f641a6e.zip
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.php3
1 files changed, 2 insertions, 1 deletions
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;