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

Diff of /contributions/modules/jq/jq.admin.inc

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

revision 1.2.2.4, Wed Oct 1 02:02:09 2008 UTC revision 1.2.2.5, Wed May 20 20:47:57 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: jq.admin.inc,v 1.2.2.3 2008/10/01 01:27:33 aaron Exp $  // $Id: jq.admin.inc,v 1.2.2.4 2008/10/01 02:02:09 aaron Exp $
3    
4  /**  /**
5   *  The administration form. Allows an administrator to turn off specific plugins   *  The administration form. Allows an administrator to turn off specific plugins
# Line 26  function jq_settings_form() { Line 26  function jq_settings_form() {
26      }      }
27      $description .= t('<br />%Invocation: ', array('%Invocation' => t('Invocation')));      $description .= t('<br />%Invocation: ', array('%Invocation' => t('Invocation')));
28      $description .= $plugin['invocation'] ? $plugin['invocation'] : t('Invoke this plugin with %code', array('%code' => "jq_add('$key');"));      $description .= $plugin['invocation'] ? $plugin['invocation'] : t('Invoke this plugin with %code', array('%code' => "jq_add('$key');"));
29      $form['jq']['jq_allow_'. $key] = array(      $form['jq']['jq_allow_'. $key .'_fieldset'] = array(
30        '#type' => 'fieldset',        '#type' => 'fieldset',
31        '#title' => $plugin['name'],        '#title' => $plugin['name'],
32        '#collapsible' => TRUE,        '#collapsible' => TRUE,
33        '#collapsed' => TRUE,        '#collapsed' => TRUE,
34      );      );
35      $form['jq']['jq_allow_'. $key]['allow'] = array(      $form['jq']['jq_allow_'. $key .'_fieldset']['jq_allow_'. $key] = array(
36        '#type' => 'checkbox',        '#type' => 'checkbox',
37        '#title' => t('Enable @plugin (%code)', array('@plugin' => $plugin['name'], '%code' => $key)),        '#title' => t('Enable @plugin (%code)', array('@plugin' => $plugin['name'], '%code' => $key)),
38        '#description' => $description,        '#description' => $description,

Legend:
Removed from v.1.2.2.4  
changed lines
  Added in v.1.2.2.5

  ViewVC Help
Powered by ViewVC 1.1.2