| 1 |
<?php |
<?php |
| 2 |
// $Id: profile_pages.module,v 1.4.2.1 2007/10/22 22:07:43 jrbeeman Exp $ |
// $Id: profile_pages.module,v 1.4.2.2 2007/10/22 22:38:30 jrbeeman Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Implementation of hook_perm |
* Implementation of hook_perm |
| 63 |
* @param $value The value of the profile field |
* @param $value The value of the profile field |
| 64 |
*/ |
*/ |
| 65 |
function theme_profile_page_listing($user, $value) { |
function theme_profile_page_listing($user, $value) { |
| 66 |
|
// Set the breadcrumb trail |
| 67 |
|
$breadcrumbs = array( |
| 68 |
|
l(t('Home'), NULL), |
| 69 |
|
l(t('Profile Pages'), 'profile_pages'), |
| 70 |
|
); |
| 71 |
|
drupal_set_breadcrumb($breadcrumbs); |
| 72 |
|
|
| 73 |
$value = implode("\n", explode(",", $value)); |
$value = implode("\n", explode(",", $value)); |
| 74 |
$values = explode("\n", $value); |
$values = explode("\n", $value); |
| 75 |
$items = array(); |
$items = array(); |