diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-04-02 18:55:02 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-04-02 18:55:02 +0000 |
| commit | 5723a02638eb507e919b2bf7bfa1dc111a9f5318 (patch) | |
| tree | 2ccbf0dd0be45c4bd82ffa36a2383607af5c2321 /index.php | |
| parent | 52d4d73fae15b2feec1915388558b4cdf800deec (diff) | |
| download | users-5723a02638eb507e919b2bf7bfa1dc111a9f5318.tar.gz users-5723a02638eb507e919b2bf7bfa1dc111a9f5318.tar.bz2 users-5723a02638eb507e919b2bf7bfa1dc111a9f5318.zip | |
Massive changes to themes layout engine:
- merged 3 tables into 1 and removed user-specific layout contol.
- moved all layout related code to themes/BitThemes.php.
- cleaned up module parameter assignment to module php and tpl files.
- improved layout of layout page by enabling all option editing at once.
- removed limitation that every module can only be assigned once
- more changes, but i can't remember all just now.
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.20 2007/01/24 09:46:34 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.21 2007/04/02 18:55:02 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: index.php,v 1.20 2007/01/24 09:46:34 squareing Exp $ + * $Id: index.php,v 1.21 2007/04/02 18:55:02 squareing Exp $ * @package users * @subpackage functions */ @@ -65,10 +65,10 @@ if( !empty( $_REQUEST['home'] ) && ($gBitUser->hasPermission( 'p_users_view_user } else { $homeName = ROOT_USER_ID; } - $layout = HOMEPAGE_LAYOUT; - if( isset( $layout ) ) { - $gBitSystem->loadLayout( $homeName, $layout, ACTIVE_PACKAGE, TRUE ); - } +// $layout = HOMEPAGE_LAYOUT; +// if( isset( $layout ) ) { +// $gBitThemes->loadLayout( $homeName, $layout, ACTIVE_PACKAGE, TRUE ); +// } global $gCenterPieces; $centerDisplay = ( count( $gCenterPieces ) ? 'bitpackage:kernel/dynamic.tpl' : 'bitpackage:users/center_user_wiki_page.tpl' ); } elseif( empty( $search_request ) ) { |
