/[drupal]/contributions/modules/edit_term/edit_term.install
ViewVC logotype

Contents of /contributions/modules/edit_term/edit_term.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Sat Sep 27 06:08:54 2008 UTC (13 months, 4 weeks ago) by dman
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.2: +1 -3 lines
File MIME type: text/x-php
Drupal 6 compatable version.
Removed menu widget for now.
1 <?php
2 // $Id: edit_term.install,v 1.1.2.1 2008/03/22 11:52:21 dman Exp $
3
4 /**
5 * Implementation of hook_install().
6 *
7 * No database schema required or planned,
8 */
9 function edit_term_install() {
10 // Ensure this always runs AFTER menu.module and the rest of core has done its forms;
11 db_query("UPDATE {system} SET weight = 3 WHERE name = 'edit_term'");
12 drupal_set_message(t('
13 Installed edit term module and enabled the "Edit term link" block.
14 You can configure this block at !admin.
15 Term Edit UI Enhancements to the Admin screens are now available to those with appropriate permissions.
16 You should see new features when visiting term edit pages.
17 !help_link
18 ',
19 array(
20 '!admin' => l(t('Administer È Site Building È Blocks'), 'admin/build/block'),
21 '!help_link' => l('Help', 'admin/help/edit_term'),
22 )
23 ));
24 }
25
26 /**
27 * Implementation of hook_uninstall().
28 */
29 function edit_term_uninstall() {
30 variable_del('edit_term_link');
31 }

  ViewVC Help
Powered by ViewVC 1.1.2