[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/cms/drupal5/themes/oxygen
From:       Luke Parry <parry.luke () googlemail ! com>
Date:       2007-04-06 18:46:29
Message-ID: 1175885189.528933.23638.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 651161 by lparry:

I have removed a query to get the team description from a cck field, and instead get \
the team description from the node body.


 M  +0 -13     og_ghp_home.tpl.php  


--- trunk/www/cms/drupal5/themes/oxygen/og_ghp_home.tpl.php #651160:651161
@@ -50,19 +50,6 @@
 //Assigns a new variable with user's group arrays
 $usersTeams = $user->og_groups;
 
-$groupDescriptionQuery = db_query("SELECT field_teamdescriptionsub_value AS \
                subscribed FROM {content_type_groups} WHERE nid = '%d'",$groupId);
-$Description = db_fetch_object($groupDescriptionQuery); 
-
-if(is_array($usersTeams[$groupId])) {
-	
-	echo(tabulate($Description->subscribed."<br /><br />", 2));
-	
-} else {
-	
-	echo(tabulate($Description->anonymous."<br /><br />", 2));
-	
-}
-
 //Sql Query finds any events, within minimmum number of days set [$filterDaysAhead] \
and are upcoming based on [time()]  $result = db_query("SELECT n.*, ev.*
 	FROM {node} n


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic