/[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.1.2.3, Thu Sep 14 07:22:53 2006 UTC revision 1.1.2.4, Thu Sep 14 21:00:21 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: profile_pages.module,v 1.1.2.2 2006/09/14 07:20:08 heine Exp $  // $Id: profile_pages.module,v 1.1.2.3 2006/09/14 07:22:53 heine Exp $
3    
4  function profile_pages_help($section)  {  function profile_pages_help($section)  {
5    switch($section) {    switch($section) {
# Line 30  function profile_pages_menu($may_cache) Line 30  function profile_pages_menu($may_cache)
30    
31  function profile_pages_view($fid, $type)  {  function profile_pages_view($fid, $type)  {
32    
33    if (!$fid || !is_numeric($fid) || !$type || !user_access('view profile pages'))  {    if (!$fid || !is_numeric($fid) || !$type)  {
34      drupal_not_found();      drupal_not_found();
35      return;      return;
36    }    }

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

  ViewVC Help
Powered by ViewVC 1.1.2