Projet

Général

Profil

Révision c06bd9a4

Ajouté par Assos Assos il y a presque 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/panels/panels_ipe/panels_ipe.module
90 90
    $vars['links']['edit'] = array(
91 91
      'title' => isset($content_type['edit text']) ? '<span>' . $content_type['edit text'] . '</span>' : '<span>' . t('Settings') . '</span>',
92 92
      'href' => $renderer->get_url('edit-pane', $pane->pid),
93
      'query' => drupal_get_destination(),
93 94
      'html' => TRUE,
94 95
      'attributes' => array(
95 96
        'class' => array('ctools-use-modal', 'panels-ipe-hide-bar'),
......
104 105
    $vars['links']['style'] = array(
105 106
      'title' => '<span>' . t('Style') . '</span>',
106 107
      'href' => $renderer->get_url('style-type', 'pane', $pane->pid),
108
      'query' => drupal_get_destination(),
107 109
      'html' => TRUE,
108 110
      'attributes' => array(
109 111
        'class' => array('ctools-use-modal', 'panels-ipe-hide-bar'),
......
117 119
    $vars['links']['css'] = array(
118 120
      'title' => '<span>' . t('CSS') . '</span>',
119 121
      'href' => $renderer->get_url('pane-css', $pane->pid),
122
      'query' => drupal_get_destination(),
120 123
      'html' => TRUE,
121 124
      'attributes' => array(
122 125
        'class' => array('ctools-use-modal', 'panels-ipe-hide-bar'),
......
226 229
  return '<div class="panels-ipe-newblock panels-ipe-on">' . $links . '</div>';
227 230
}
228 231

  
229
/**
230
 * @deprecated
231
 */
232
function panels_ipe_get_cache_key($key = NULL) {
233
  return array();
234
}
235

  
236 232
/**
237 233
 * Add a button to the IPE toolbar.
238 234
 */

Formats disponibles : Unified diff