| 1 |
<?php |
<?php |
| 2 |
// $Id: flickrstickr.module,v 1.22 2007/01/22 10:16:01 aronnovak Exp $ |
// $Id: flickrstickr.module,v 1.23 2007/01/22 10:46:12 aronnovak Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 118 |
* implements hook_user |
* implements hook_user |
| 119 |
*/ |
*/ |
| 120 |
function flickrstickr_user($type, & $edit, & $user, $category= NULL) { |
function flickrstickr_user($type, & $edit, & $user, $category= NULL) { |
| 121 |
|
if (!user_access('flickrstickr access', $user)) { |
| 122 |
|
return array(); |
| 123 |
|
} |
| 124 |
$flickrstickr = flickrstickr_getuserparam(); |
$flickrstickr = flickrstickr_getuserparam(); |
| 125 |
if ($type == 'form' && $category == 'account') { |
if ($type == 'form' && $category == 'account') { |
| 126 |
$options_link = array('none' => 'None', 'flickr_img' => 'Flickr image page'); |
$options_link = array('none' => 'None', 'flickr_img' => 'Flickr image page'); |