Révision 64156087
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/panels/plugins/cache/simple.inc | ||
---|---|---|
5 | 5 |
* Provides a simple time-based caching option for panel panes. |
6 | 6 |
*/ |
7 | 7 |
|
8 |
// Plugin definition |
|
8 |
// Plugin definition.
|
|
9 | 9 |
$plugin = array( |
10 | 10 |
'title' => t("Simple cache"), |
11 | 11 |
'description' => t('Simple caching is a time-based cache. This is a hard limit, and once cached it will remain that way until the time limit expires.'), |
... | ... | |
128 | 128 |
$id .= ':' . $language->language; |
129 | 129 |
} |
130 | 130 |
|
131 |
if(!empty($pane->configuration['use_pager']) && !empty($_GET['page'])) { |
|
131 |
if (!empty($pane->configuration['use_pager']) && !empty($_GET['page'])) {
|
|
132 | 132 |
$id .= ':p' . check_plain($_GET['page']); |
133 | 133 |
} |
134 | 134 |
|
... | ... | |
158 | 158 |
|
159 | 159 |
return $form; |
160 | 160 |
} |
161 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules