Skip to content
Snippets Groups Projects
Commit 80db3a55 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Issue #1025468 by 30equals: Added Allow operations to be performed on disabled Importers.

parent cbc89a70
No related branches found
No related tags found
No related merge requests found
...@@ -93,18 +93,13 @@ function feeds_ui_overview_form($form, &$form_status) { ...@@ -93,18 +93,13 @@ function feeds_ui_overview_form($form, &$form_status) {
$importer_form['status'] = array( $importer_form['status'] = array(
'#markup' => $status, '#markup' => $status,
); );
if (!$importer->disabled) { $importer_form['operations'] = array(
$importer_form['operations'] = array( '#markup' =>
'#markup' => l($edit, 'admin/structure/feeds/' . $importer->id) . ' | ' .
l($edit, 'admin/structure/feeds/' . $importer->id) . ' | ' . l(t('Export'), 'admin/structure/feeds/' . $importer->id . '/export') . ' | ' .
l(t('Export'), 'admin/structure/feeds/' . $importer->id . '/export') . ' | ' . l(t('Clone'), 'admin/structure/feeds/' . $importer->id . '/clone') .
l(t('Clone'), 'admin/structure/feeds/' . $importer->id . '/clone') . (empty($delete) ? '' : ' | ' . l($delete, 'admin/structure/feeds/' . $importer->id . '/delete')),
(empty($delete) ? '' : ' | ' . l($delete, 'admin/structure/feeds/' . $importer->id . '/delete')), );
);
}
else {
$importer_form['operations']['#markup'] = ' ';
}
$importer_form[$importer->id] = array( $importer_form[$importer->id] = array(
'#type' => 'checkbox', '#type' => 'checkbox',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment