Projet

Général

Profil

Révision ed9a13f1

Ajouté par Assos Assos il y a plus de 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/feeds/feeds_ui/feeds_ui.admin.inc
7 7
 */
8 8

  
9 9
/**
10
 * Introductory help for admin/structure/feeds/%feeds_importer page
10
 * Introductory help for admin/structure/feeds/%feeds_importer page.
11 11
 */
12 12
function feeds_ui_edit_help() {
13 13
  return t('
......
95 95
    );
96 96
    $importer_form['operations'] = array(
97 97
      '#markup' =>
98
        l($edit, 'admin/structure/feeds/' . $importer->id) . ' | ' .
99
        l(t('Export'), 'admin/structure/feeds/' . $importer->id . '/export') . ' | ' .
100
        l(t('Clone'), 'admin/structure/feeds/' . $importer->id . '/clone') .
101
        (empty($delete) ? '' :  ' | ' . l($delete, 'admin/structure/feeds/' . $importer->id . '/delete')),
98
      l($edit, 'admin/structure/feeds/' . $importer->id) . ' | ' .
99
      l(t('Export'), 'admin/structure/feeds/' . $importer->id . '/export') . ' | ' .
100
      l(t('Clone'), 'admin/structure/feeds/' . $importer->id . '/clone') .
101
      (empty($delete) ? '' : ' | ' . l($delete, 'admin/structure/feeds/' . $importer->id . '/delete')),
102 102
    );
103 103

  
104 104
    $importer_form[$importer->id] = array(
......
137 137
 * Create a new configuration.
138 138
 *
139 139
 * @param $form_state
140
 *  Form API form state array.
140
 *   Form API form state array.
141 141
 * @param $from_importer
142 142
 *   FeedsImporter object. If given, form will create a new importer as a copy
143 143
 *   of $from_importer.
......
378 378
      'title' => $parser['name'],
379 379
      'body' => $parser['description'],
380 380
      'actions' => $actions,
381
    )
381
    ),
382 382
  );
383 383
  $info['actions'] = array(l(t('Change'), $path . '/parser'));
384 384
  $config_info[] = $info;
......
396 396
      'title' => $processor['name'],
397 397
      'body' => $processor['description'],
398 398
      'actions' => $actions,
399
    )
399
    ),
400 400
  );
401 401
  $info['actions'] = array(l(t('Change'), $path . '/processor'));
402 402
  $config_info[] = $info;
......
582 582
        '#delta' => $delta,
583 583
        '#attributes' => array(
584 584
          'class' => array(
585
            'feeds-ui-mapping-weight'
585
            'feeds-ui-mapping-weight',
586 586
          ),
587 587
        ),
588 588
      );
......
703 703
          '#markup' => $summary,
704 704
          '#suffix' => '</div>',
705 705
        ),
706
       'edit_settings' => $base_button + array(
706
        'edit_settings' => $base_button + array(
707 707
          '#type' => 'image_button',
708 708
          '#name' => 'mapping_settings_edit_' . $i,
709 709
          '#src' => 'misc/configure.png',
......
972 972
  $output .= '</div>';
973 973
  $output .= '</div>';
974 974

  
975
  $output .= '</div>'; // ''<div class="feeds-settings">';
975
  // Close the outer wrapper.
976
  $output .= '</div>';
976 977

  
977 978
  return $output;
978 979
}
......
998 999
  $container = $variables['container'];
999 1000

  
1000 1001
  $class = array_merge(array('feeds-container'), empty($container['class']) ? array('plain') : $container['class']);
1001
  $id = empty($container['id']) ? '': ' id="' . $container['id'] . '"';
1002
  $id = empty($container['id']) ? '' : ' id="' . $container['id'] . '"';
1002 1003
  $output = '<div class="' . implode(' ', $class) . '"' . $id . '>';
1003 1004

  
1004 1005
  if (isset($container['actions']) && count($container['actions'])) {
......
1201 1202
  elseif (version_compare($feeds_importer->api_version, feeds_api_version(), '>')) {
1202 1203
    form_error($form['importer'], t('That importer is created for the version %import_version of Feeds, but you only have version %api_version.', array(
1203 1204
      '%import_version' => $feeds_importer->api_version,
1204
      '%api_version' => feeds_api_version())));
1205
      '%api_version' => feeds_api_version(),
1206
    )));
1205 1207
  }
1206 1208

  
1207 1209
  // Change to user-supplied id.

Formats disponibles : Unified diff