/[drupal]/drupal/modules/blogapi/blogapi.module
ViewVC logotype

Diff of /drupal/modules/blogapi/blogapi.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.146, Tue Mar 17 12:41:54 2009 UTC revision 1.147, Wed Apr 1 01:28:24 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: blogapi.module,v 1.145 2009/03/08 04:25:03 webchick Exp $  // $Id: blogapi.module,v 1.146 2009/03/17 12:41:54 dries Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 148  function blogapi_blogger_get_users_blogs Line 148  function blogapi_blogger_get_users_blogs
148      $types = _blogapi_get_node_types();      $types = _blogapi_get_node_types();
149      $structs = array();      $structs = array();
150      foreach ($types as $type) {      foreach ($types as $type) {
151        $structs[] = array('url' => url('blog/' . $user->uid, array('absolute' => TRUE)), 'blogid' => $type, 'blogName' => $user->name . ": " . $type);        $structs[] = array('url' => url('user/' . $user->uid, array('absolute' => TRUE)), 'blogid' => $type, 'blogName' => $user->name . ": " . $type);
152      }      }
153    
154      return $structs;      return $structs;
# Line 172  function blogapi_blogger_get_user_info($ Line 172  function blogapi_blogger_get_user_info($
172        'firstname' => $name[0],        'firstname' => $name[0],
173        'nickname' => $user->name,        'nickname' => $user->name,
174        'email' => $user->mail,        'email' => $user->mail,
175        'url' => url('blog/' . $user->uid, array('absolute' => TRUE)));        'url' => url('user/' . $user->uid, array('absolute' => TRUE)));
176    }    }
177    else {    else {
178      return blogapi_error($user);      return blogapi_error($user);

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147

  ViewVC Help
Powered by ViewVC 1.1.2