| 1 |
<?php |
<?php |
| 2 |
// $Id: index.install,v 1.1.2.2 2009/04/21 19:42:26 xano Exp $ |
// $Id: index.install,v 1.1.2.3 2009/10/19 01:19:46 xano Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 6 |
* Installation and uninstallation functions for Index. |
* Installation and uninstallation functions for Index. |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
/** |
/** |
| 117 |
* Implementation of hook_enable(). |
* Implementation of hook_enable(). |
| 118 |
*/ |
*/ |
| 119 |
function index_enable() { |
function index_enable() { |
| 120 |
drupal_set_message(st('Index has been enabled. Proceed to <a href="!settings">the settings page</a> and <a href="!permissions">configure permissions</a> to get started.', array('!settings' => url('admin/build/index/settings'), '!permissions' => url('admin/user/permissions', array('fragment' => 'module-index'))))); |
drupal_set_message(st('Index has been enabled. <a href="@add_index">Add an index</a> and <a href="@permissions">configure permissions</a> to get started.', array('@add_index' => url('admin/build/index/add'), '@permissions' => url('admin/user/permissions', array('fragment' => 'module-index'))))); |
| 121 |
} |
} |
| 122 |
|
|
| 123 |
/** |
/** |