| 1 |
<?php |
<?php |
| 2 |
// $Id: front_page.module,v 1.77 2008/04/19 11:34:41 augustin Exp $ |
// $Id: front_page.module,v 1.78 2008/04/19 11:45:33 augustin Exp $ |
| 3 |
/** |
/** |
| 4 |
* |
* |
| 5 |
* This module allows the site admin to set advanced front page settings. |
* This module allows the site admin to set advanced front page settings. |
| 15 |
|
|
| 16 |
/** |
/** |
| 17 |
* Implementation of hook_help(). |
* Implementation of hook_help(). |
|
* |
|
| 18 |
*/ |
*/ |
| 19 |
function front_page_help($section) { |
function front_page_help($section) { |
| 20 |
switch ($section) { |
switch ($section) { |
| 34 |
} |
} |
| 35 |
|
|
| 36 |
/** |
/** |
| 37 |
* This function sets the necessary paths etc., so drupal |
* Implementation of hook_menu. |
|
* knows where to find the front page. |
|
| 38 |
*/ |
*/ |
| 39 |
function front_page_menu() { |
function front_page_menu() { |
| 40 |
$items['admin/settings/front'] = array( |
$items['admin/settings/front'] = array( |
| 52 |
} |
} |
| 53 |
|
|
| 54 |
/** |
/** |
| 55 |
* Implementation of hook_perm |
* Implementation of hook_perm. |
| 56 |
*/ |
*/ |
| 57 |
function front_page_perm() { |
function front_page_perm() { |
| 58 |
return array('access frontpage'); |
return array('access frontpage'); |