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

Diff of /contributions/modules/profile_pages/profile_pages.module

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

revision 1.2.2.1, Thu Sep 14 09:08:58 2006 UTC revision 1.2.2.2, Thu Sep 14 21:00:11 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: profile_pages.module,v 1.2.2.1 2006/09/14 09:08:58 heine Exp $
3  /**  /**
4   * @file   * @file
5   * Provides a callback URL that lists, on one page,   * Provides a callback URL that lists, on one page,
# Line 34  function profile_pages_menu($may_cache) Line 34  function profile_pages_menu($may_cache)
34  }  }
35    
36  function profile_pages_view($fid, $type)  {  function profile_pages_view($fid, $type)  {
37    if (!$fid || !is_numeric($fid) || !$type || !user_access('view profile pages'))  {    if (!$fid || !is_numeric($fid) || !$type )  {
38      drupal_not_found();      drupal_not_found();
39      return;      return;
40    }    }

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

  ViewVC Help
Powered by ViewVC 1.1.2