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

Contents of /contributions/modules/admin_theme/admin_theme.install

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


Revision 1.2 - (show annotations) (download) (as text)
Tue Dec 2 21:52:56 2008 UTC (11 months, 3 weeks ago) by davyvandenbremt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
File MIME type: text/x-php
no message
1 <?php
2 // $Id: admin_theme.install,v 1.1 2008/11/14 21:34:23 davyvandenbremt Exp $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function admin_theme_install() {
8 $link = array('!link' => l(t('Administer > Site configuration > Administration theme'), 'admin/settings/admin_theme'));
9 drupal_set_message(t("Administration theme module settings are available under !link", $link));
10 }
11
12 /**
13 * Implementation of hook_uninstall().
14 */
15 function admin_theme_uninstall() {
16 db_query("DELETE FROM {variable} WHERE name LIKE 'admin_theme_%'");
17 cache_clear_all('variables', 'cache');
18 }

  ViewVC Help
Powered by ViewVC 1.1.2