/[drupal]/contributions/modules/popups/popups.module
ViewVC logotype

Diff of /contributions/modules/popups/popups.module

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

revision 1.11.8.9, Thu Mar 19 15:53:44 2009 UTC revision 1.11.8.10, Sat Mar 21 00:57:15 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: popups.module,v 1.11.8.5 2009/03/05 23:49:55 starbow Exp $  // $Id: popups.module,v 1.11.8.9 2009/03/19 15:53:44 starbow Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 94  function popups_init() { Line 94  function popups_init() {
94   */   */
95  function popups_form_alter(&$form, $form_state, $form_id) {  function popups_form_alter(&$form, $form_state, $form_id) {
96    // Add popup behavior to the form if requested.    // Add popup behavior to the form if requested.
97    //  dsm($form_id);
98    $popups = popups_get_popups();    $popups = popups_get_popups();
99    if (isset($popups[$form_id])) {    if (isset($popups[$form_id])) {
100      popups_add_popups($popups[$form_id]);      popups_add_popups($popups[$form_id]);
# Line 174  function popups_get_js() { Line 175  function popups_get_js() {
175    
176    // A special exception, never include the popups settings in the JS array.    // A special exception, never include the popups settings in the JS array.
177    // ???    // ???
178    unset($popup_js['setting']['popups']);  //  unset($popup_js['setting']['popups']);
179    
180    return $popup_js;    return $popup_js;
181  }  }

Legend:
Removed from v.1.11.8.9  
changed lines
  Added in v.1.11.8.10

  ViewVC Help
Powered by ViewVC 1.1.2