| 65 |
} |
} |
| 66 |
|
|
| 67 |
/** |
/** |
| 68 |
* Implementation of space->links(). |
* Implementation of space->user_links(). |
| 69 |
*/ |
*/ |
| 70 |
function links(&$links) { |
function user_links() { |
| 71 |
if ($this->admin_access()) { |
return array(); |
| 72 |
// Add settings link for administering spaces |
} |
| 73 |
$links['settings'] = array( |
|
| 74 |
'title' => t('Site settings'), |
/** |
| 75 |
'href' => 'spaces/features', |
* Implementation of space->admin_links(). |
| 76 |
'attributes' => array('class' => 'settings'), |
*/ |
| 77 |
); |
function admin_links() { |
| 78 |
} |
$links = array(); |
| 79 |
|
$links['settings'] = array( |
| 80 |
|
'title' => t('Site settings'), |
| 81 |
|
'href' => 'spaces/features', |
| 82 |
|
'attributes' => array('class' => 'settings'), |
| 83 |
|
); |
| 84 |
|
return $links; |
| 85 |
} |
} |
| 86 |
|
|
| 87 |
/** |
/** |