| 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, |
| 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 |
} |
} |