diff options
| author | Hash9 <hash9@users.sourceforge.net> | 2006-08-29 16:43:24 +0000 |
|---|---|---|
| committer | Hash9 <hash9@users.sourceforge.net> | 2006-08-29 16:43:24 +0000 |
| commit | 2c693eb4c7c444cc1e8a022c9929f26d80068d34 (patch) | |
| tree | d87df17337915f2bdaa20f638d8ff1dc57db5364 /index.php | |
| parent | e5bb3a4d10c95f5a6bc7d433e7ef1b1a27770d42 (diff) | |
| download | users-2c693eb4c7c444cc1e8a022c9929f26d80068d34.tar.gz users-2c693eb4c7c444cc1e8a022c9929f26d80068d34.tar.bz2 users-2c693eb4c7c444cc1e8a022c9929f26d80068d34.zip | |
show the average rating of a users contributions on the users page
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.18 2006/07/12 23:40:51 hash9 Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/index.php,v 1.19 2006/08/29 16:43:24 hash9 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.18 2006/07/12 23:40:51 hash9 Exp $ + * $Id: index.php,v 1.19 2006/08/29 16:43:24 hash9 Exp $ * @package users * @subpackage functions */ @@ -40,6 +40,9 @@ if( !empty( $_REQUEST['home'] ) && ($gBitUser->hasPermission( 'p_users_view_user if( $gQueryUser->isValid() ) { $gBitSmarty->assign( 'gQueryUserId', $gQueryUserId ); } + if ($gBitSystem->isPackageActive('stars') && $gBitSystem->isFeatureActive('stars_user_ratings')) { + require(STARS_PKG_PATH."templates/user_ratings.php"); + } if( $gQueryUser->canCustomizeTheme() ) { $userHomeStyle = $gQueryUser->getPreference( 'theme' ); |
