summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2009-01-09 10:18:14 +0000
committerMax Kremmel <xing@synapse.plus.com>2009-01-09 10:18:14 +0000
commit1f1a8fe90b66ac0ee6ba5a0fc2ff44c2dba6da14 (patch)
tree1077f49b9c45679f020220b03491b0e7362f3cbe /index.php
parentbbb0a17053c8fe9d3f0ffa3a9c8228ecf06560ef (diff)
downloadusers-1f1a8fe90b66ac0ee6ba5a0fc2ff44c2dba6da14.tar.gz
users-1f1a8fe90b66ac0ee6ba5a0fc2ff44c2dba6da14.tar.bz2
users-1f1a8fe90b66ac0ee6ba5a0fc2ff44c2dba6da14.zip
minor code cleanup
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.php b/index.php
index a5de37a..7b5a1d0 100644
--- a/index.php
+++ b/index.php
@@ -1,8 +1,8 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.35 2008/09/17 03:47:47 laetzer Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.36 2009/01/09 10:18:14 squareing Exp $
*
- * $Id: index.php,v 1.35 2008/09/17 03:47:47 laetzer Exp $
+ * $Id: index.php,v 1.36 2009/01/09 10:18:14 squareing Exp $
* @package users
* @subpackage functions
*/
@@ -54,8 +54,10 @@ if( !empty( $_REQUEST['home'] ) && $gQueryUser->isValid() && (( $gBitUser->hasPe
}
$browserTitle = $userHomeTitle;
- if( ( $gBitSystem->isFeatureActive('display_users_content_list') && $gBitUser->hasPermission( 'p_liberty_list_content' ) ) ||
- ( $gBitUser->hasPermission( 'p_users_admin' ) || $gQueryUser->mUserId == $gBitUser->mUserId ) ) {
+ if(
+ ( $gBitSystem->isFeatureActive( 'display_users_content_list' ) && $gBitUser->hasPermission( 'p_liberty_list_content' ))
+ || ( $gBitUser->hasPermission( 'p_users_admin' ) || $gQueryUser->mUserId == $gBitUser->mUserId )
+ ) {
// some content specific offsets and pagination settings
if( !empty( $_REQUEST['sort_mode'] ) ) {
@@ -86,8 +88,6 @@ if( !empty( $_REQUEST['home'] ) && $gQueryUser->isValid() && (( $gBitUser->hasPe
// end of content listing
}
-
-
// need to load layout now that we can check for center pieces
$layoutHash['layout'] = $gQueryUser->getField( 'login' );
$layoutHash['fallback'] = TRUE;