| 1 |
|
<?php |
| 2 |
|
// $Id$ |
| 3 |
|
|
| 4 |
|
/** |
| 5 |
|
* @file |
| 6 |
|
*/ |
| 7 |
|
|
| 8 |
|
/** |
| 9 |
|
* Implementation of hook_menu() |
| 10 |
|
*/ |
| 11 |
|
function blogroll_menu() { |
| 12 |
|
$items['admin/settings/blogroll'] = array( |
| 13 |
|
'title' => 'Blogroll settings', |
| 14 |
|
'description' => 'This is the menu item for administration of Blogroll.', |
| 15 |
|
'page callback' => 'drupal_get_form', |
| 16 |
|
'page arguments' => array('blogroll_admin_settings'), |
| 17 |
|
'access arguments' => array('administer site configuration'), |
| 18 |
|
'type' => MENU_NORMAL_ITEM, |
| 19 |
|
'file' => 'blogroll.admin.inc', |
| 20 |
|
); |
| 21 |
|
return $items; |
| 22 |
|
} |
| 23 |
|
/** |
| 24 |
|
* Implementation of hook_init() |
| 25 |
|
*/ |
| 26 |
|
function blogroll_init() { |
| 27 |
|
$data = '<head profile="http://gmpg.org/xfn/11">'; |
| 28 |
|
drupal_set_html_head($data); |
| 29 |
|
} |
| 30 |
|
|