/[drupal]/contributions/modules/mysite/mysite.module
ViewVC logotype

Diff of /contributions/modules/mysite/mysite.module

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

revision 1.95, Sun Apr 6 23:08:25 2008 UTC revision 1.96, Sun Apr 27 17:34:47 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: mysite.module,v 1.94 2008/04/01 00:55:56 agentken Exp $  // $Id: mysite.module,v 1.95 2008/04/06 23:08:25 agentken Exp $
3    
4    
5  /**  /**
# Line 514  function mysite_link($type, $node = NULL Line 514  function mysite_link($type, $node = NULL
514          $string = str_replace('<ul>', '', $data['content']);          $string = str_replace('<ul>', '', $data['content']);
515          $content = str_replace('</ul>', '', $string);          $content = str_replace('</ul>', '', $string);
516          $links['mysite'] = array(          $links['mysite'] = array(
517              'title' => theme_mysite_links($link, $content),              'title' => theme('mysite_links', $link, $content),
             'href' => 'mysite/'. $user->uid .'/view',  
518              'html' => TRUE              'html' => TRUE
519          );          );
520          return $links;          return $links;
# Line 647  function mysite_view_all() { Line 646  function mysite_view_all() {
646  function mysite_view_default() {  function mysite_view_default() {
647    // show the default mysite    // show the default mysite
648    $default = (int) variable_get('mysite_default_user', 0);    $default = (int) variable_get('mysite_default_user', 0);
649    drupal_goto('mysite/', $default);    drupal_goto('mysite/'. $default .'/view');
650  }  }
651    
652  /**  /**

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96

  ViewVC Help
Powered by ViewVC 1.1.2