/[drupal]/contributions/modules/zws/zws.admin.inc
ViewVC logotype

Contents of /contributions/modules/zws/zws.admin.inc

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


Revision 1.1 - (show annotations) (download) (as text)
Tue Oct 28 21:44:00 2008 UTC (12 months, 4 weeks ago) by yaph
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-UNSTABLE1, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
Initial commit of the Zanox Web Services API module
1 <?php
2 // $Id$
3
4 /**
5 * @file
6 * Admin settings for the Zanox Web Services API module.
7 */
8
9 /**
10 * Admin settings form for the Zanox Web Services API module
11 */
12 function zws_admin_settings() {
13 $form = array();
14 $form['zws'] = array(
15 '#type' => 'fieldset',
16 '#title' => t('Zanox Web Services API settings')
17 );
18
19 $form['zws']['zws_application_id'] = array(
20 '#type' => 'textfield',
21 '#title' => t('Application ID'),
22 '#default_value' => variable_get('zws_application_id', ''),
23 '#required' => TRUE,
24 '#size' => 30,
25 '#maxlength' => 128,
26 '#description' => t('Enter your application ID to access the Zanox Web Services API.')
27 );
28
29 $form['zws']['zws_shared_key'] = array(
30 '#type' => 'textfield',
31 '#title' => t('Shared Key'),
32 '#default_value' => variable_get('zws_shared_key', ''),
33 '#required' => TRUE,
34 '#size' => 30,
35 '#maxlength' => 128,
36 '#description' => t('Enter your Shared Key to access the Zanox Web Services API.')
37 );
38
39 return system_settings_form($form);
40 }

  ViewVC Help
Powered by ViewVC 1.1.2