Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/includes/context-admin.inc | ||
---|---|---|
395 | 395 |
if (!empty($form_state['cancel'])) { |
396 | 396 |
$output = array(ctools_modal_command_dismiss()); |
397 | 397 |
} |
398 |
else if (!empty($form_state['complete'])) {
|
|
398 |
elseif (!empty($form_state['complete'])) { |
|
399 | 399 |
// Successful submit -- move temporary data to location. |
400 | 400 |
|
401 | 401 |
// Create a reference to the place our context lives. Since this is fairly |
... | ... | |
580 | 580 |
if (!empty($form_state['cancel'])) { |
581 | 581 |
$output = array(ctools_modal_command_dismiss()); |
582 | 582 |
} |
583 |
else if (!empty($form_state['complete'])) {
|
|
583 |
elseif (!empty($form_state['complete'])) { |
|
584 | 584 |
// successful submit |
585 | 585 |
$ref[$position] = $conf; |
586 | 586 |
if (isset($object->temporary)) { |
... | ... | |
657 | 657 |
if (isset($plugin_definition['defaults'])) { |
658 | 658 |
$defaults = $plugin_definition['defaults']; |
659 | 659 |
} |
660 |
else if (isset($subtype['defaults'])) {
|
|
660 |
elseif (isset($subtype['defaults'])) { |
|
661 | 661 |
$defaults = $subtype['defaults']; |
662 | 662 |
} |
663 | 663 |
|
... | ... | |
667 | 667 |
$conf += $settings; |
668 | 668 |
} |
669 | 669 |
} |
670 |
else if (is_array($defaults)) {
|
|
670 |
elseif (is_array($defaults)) { |
|
671 | 671 |
$conf += $defaults; |
672 | 672 |
} |
673 | 673 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules