$view = new view;
$view->name = 'webforms_all_optimized';
$view->description = 'Ersetzt die Standard "erstellte Formulare"-Liste durch eine optimierte Views-Ansicht.';
$view->tag = 'webform';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Standards', 'default');
$handler->override_option('fields', array(
'title' => array(
'label' => 'Titel',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_node' => 1,
'exclude' => 0,
'id' => 'title',
'table' => 'node',
'field' => 'title',
'relationship' => 'none',
),
'webform_submission_count_node' => array(
'label' => 'Anz. Ergebnisse',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'webform_submission_count_node',
'table' => 'node',
'field' => 'webform_submission_count_node',
'relationship' => 'none',
'override' => array(
'button' => 'Überschreiben',
),
),
'webform_results' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'text' => 'Ergebnisse ansehen',
'exclude' => 0,
'id' => 'webform_results',
'table' => 'node',
'field' => 'webform_results',
'override' => array(
'button' => 'Überschreiben',
),
'relationship' => 'none',
),
'webform_edit' => array(
'label' => 'Formularoptionen',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'text' => 'Formular bearbeiten',
'exclude' => 0,
'id' => 'webform_edit',
'table' => 'node',
'field' => 'webform_edit',
'relationship' => 'none',
'override' => array(
'button' => 'Überschreiben',
),
),
'view_node' => array(
'label' => 'Optionen',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'text' => 'Öffnen',
'exclude' => 0,
'id' => 'view_node',
'table' => 'node',
'field' => 'view_node',
'relationship' => 'none',
),
'edit_node' => array(
'label' => 'Bearbeiten',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'text' => 'Bearbeiten',
'exclude' => 0,
'id' => 'edit_node',
'table' => 'node',
'field' => 'edit_node',
'relationship' => 'none',
),
'clone_node' => array(
'label' => 'Duplizieren',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'text' => 'Duplizieren',
'exclude' => 0,
'id' => 'clone_node',
'table' => 'node',
'field' => 'clone_node',
'relationship' => 'none',
),
));
$handler->override_option('sorts', array(
'created' => array(
'order' => 'ASC',
'granularity' => 'second',
'id' => 'created',
'table' => 'node',
'field' => 'created',
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'type' => array(
'operator' => 'in',
'value' => array(
'formular' => 'webform',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'node',
'field' => 'type',
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'perm',
'perm' => 'create formular content',
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('title', 'Webformulare');
$handler->override_option('header', 'Diese Seite zeigt alle Inhaltstypen der Website, denen ein Webformular zugeordnet werden kann.');
$handler->override_option('header_format', '3');
$handler->override_option('header_empty', 1);
$handler->override_option('footer_format', '3');
$handler->override_option('footer_empty', 0);
$handler->override_option('empty', 'Es wurden noch keine Webformulare erstellt.');
$handler->override_option('empty_format', '3');
$handler->override_option('use_pager', '1');
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
'grouping' => '',
'override' => 1,
'sticky' => 1,
'order' => 'asc',
'columns' => array(
'title' => 'title',
'webform_submission_count_node' => 'webform_submission_count_node',
'webform_edit' => 'webform_edit',
'webform_results' => 'webform_edit',
'view_node' => 'view_node',
'edit_node' => 'view_node',
'clone_node' => 'view_node',
),
'info' => array(
'title' => array(
'sortable' => 0,
'separator' => '',
),
'webform_submission_count_node' => array(
'separator' => '',
),
'webform_edit' => array(
'separator' => '
',
),
'webform_results' => array(
'separator' => '',
),
'view_node' => array(
'separator' => '
',
),
'edit_node' => array(
'separator' => '',
),
'clone_node' => array(
'separator' => '',
),
),
'default' => '-1',
));
$handler = $view->new_display('page', 'Seite', 'page_1');
$handler->override_option('path', 'webform/all');
$handler->override_option('menu', array(
'type' => 'normal',
'title' => 'Erstellte Webforms',
'description' => 'Anzeigen und Bearbeiten aller vorhandenen Webformulare.',
'weight' => '0',
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));