From kde-commits Wed Feb 28 23:39:00 2007 From: Niels van Mourik Date: Wed, 28 Feb 2007 23:39:00 +0000 To: kde-commits Subject: www/themes/drupal5/oxygen Message-Id: <1172705940.381838.30804.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=117270594901154 SVN commit 638149 by nielsvm: Added some initial support for personalized team pages. BUT! There is still style hardcoded, and some things are up for improvements, so, use at your own risk! AM og_ghp_home.tpl.php M +14 -0 template.php ** trunk/www/themes/drupal5/oxygen/og_ghp_home.tpl.php #property svn:executable + * --- trunk/www/themes/drupal5/oxygen/template.php #638148:638149 @@ -127,4 +127,18 @@ return _phptemplate_callback('user_profile', array('user' => $user,'fields' => $fields)); } + + +/* +* phptemplate_views_view_og_ghp_home( $view, $type, $nodes ) - Luke Parry (lparry@shodan.nl) +* +* Override Drupal's theme_views_view_og_ghp_home function to add description functions to +* teams pages +*/ +function phptemplate_views_view_og_ghp_home($view, $type, $nodes) { + + return _phptemplate_callback('og_ghp_home', array('view' => $view, 'type' => $type, 'nodes' => $nodes)); + +} + ?> \ No newline at end of file