/[drupal]/contributions/modules/panels/includes/display-edit.inc
ViewVC logotype

Diff of /contributions/modules/panels/includes/display-edit.inc

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

revision 1.7.2.29, Wed Oct 7 22:20:29 2009 UTC revision 1.7.2.30, Wed Oct 21 21:02:24 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: display-edit.inc,v 1.7.2.28 2009/08/18 22:29:29 merlinofchaos Exp $  // $Id: display-edit.inc,v 1.7.2.29 2009/10/07 22:20:29 merlinofchaos Exp $
3    
4  /*  /*
5   * @file   * @file
# Line 528  function panels_show_pane($display, $pan Line 528  function panels_show_pane($display, $pan
528          $access_title  = isset($plugin['title']) ? $plugin['title'] : t('Broken/missing access plugin %plugin', array('%plugin' => $test['name']));          $access_title  = isset($plugin['title']) ? $plugin['title'] : t('Broken/missing access plugin %plugin', array('%plugin' => $test['name']));
529          $access_description = ctools_access_summary($plugin, $contexts, $test);          $access_description = ctools_access_summary($plugin, $contexts, $test);
530    
531          $visiblity_links[] = array(          $visibility_links[] = array(
532            'title' => t('@title: !description', array('@title' => $access_title, '!description' => $access_description)),            'title' => $access_description,
533            'href' => "panels/ajax/access-test/$cache_key/$pane->pid/$id",            'href' => "panels/ajax/access-test/$cache_key/$pane->pid/$id",
534            'attributes' => array('class' => 'ctools-use-modal'),            'attributes' => array('class' => 'ctools-use-modal panels-italic'),
535          );          );
536        }        }
537      }      }
# Line 1778  function panels_content_configure_access Line 1778  function panels_content_configure_access
1778  }  }
1779    
1780  /**  /**
1781   * AJAX entry point for to add a visiblity rule.   * AJAX entry point for to add a visibility rule.
1782   */   */
1783  function panels_ajax_add_access_test($cache, $pid = NULL) {  function panels_ajax_add_access_test($cache, $pid = NULL) {
1784    ctools_include('content');    ctools_include('content');

Legend:
Removed from v.1.7.2.29  
changed lines
  Added in v.1.7.2.30

  ViewVC Help
Powered by ViewVC 1.1.2