/[drupal]/contributions/modules/openresort/wforms/wforms.install
ViewVC logotype

Contents of /contributions/modules/openresort/wforms/wforms.install

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


Revision 1.4 - (show annotations) (download) (as text)
Wed Jan 2 22:14:26 2008 UTC (22 months, 3 weeks ago) by marcingy
Branch: MAIN
CVS Tags: DRUPAL-5--1-15-1, DRUPAL-5--1-15-2, DRUPAL-5--1-16-6, DRUPAL-5--1-16-4, DRUPAL-5--1-16-5, DRUPAL-5--1-16-2, DRUPAL-5--1-16-3, DRUPAL-5--1-16-1, DRUPAL-5--1-15, DRUPAL-5--1-16, HEAD
Changes since 1.3: +0 -0 lines
File MIME type: text/x-php
*** empty log message ***
1 <?php
2 // $Id: wforms.install,v 1.1 2006/06/02 15:32:10 nedjo Exp $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function wforms_install() {
8 // Ensure the required files are present.
9 $path = drupal_get_path('module', 'wforms');
10 if (!file_exists($path . '/wforms.js')) {
11 drupal_set_message(t('To use wforms, you must <a href="%file">download</a> the <a href="%site">wForms library</a> and copy all its files to %path/lib.', array('%file' => 'http://www.formassembly.com/wForms/v2.0/packed/wForms_2_0p.zip', '%site' => 'http://www.formassembly.com/wForms/', '%path' => $path)), 'error');
12 }
13 }

  ViewVC Help
Powered by ViewVC 1.1.2