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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Mon Sep 28 20:35:26 2009 UTC (8 weeks, 2 days ago) by mustafau
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +24 -0 lines
File MIME type: text/x-php
Merging 6.x branch to HEAD.
1 <?php
2 // $Id: zend.admin.inc,v 1.1.2.1.2.5 2008/06/01 17:15:56 mustafau Exp $
3
4 /**
5 * @file
6 * Administration pages for the Zend Framework.
7 */
8
9 /**
10 * Administration settings for the Zend Framework.
11 */
12 function zend_admin() {
13 $zend_ready = zend_ready(FALSE);
14 $zend_status = $zend_ready ? 'ok' : 'error';
15 $zend_version = $zend_ready ? $zend_ready : t('Not found');
16 $form['zend_path'] = array(
17 '#type' => 'textfield',
18 '#title' => t('Installation Path'),
19 '#description' => t('The location where the Zend Framework is installed. This should be the subdirectory from where it is installed. If you put the Zend Framework into %moduledir/Zend, then here you would put in %moduledir. Status: <span class="@zendstatus">%zendversion</span>.', array('%moduledir' => drupal_get_path('module', 'zend'), '@zendstatus' => $zend_status, '%zendversion' => $zend_version)),
20 '#default_value' => zend_get_path(),
21 '#attributes' => array('class' => $zend_status),
22 );
23 return system_settings_form($form);
24 }

  ViewVC Help
Powered by ViewVC 1.1.2