diff --git a/includes/plugins.inc b/includes/plugins.inc index d44bf1b..a948d58 100644 --- a/includes/plugins.inc +++ b/includes/plugins.inc @@ -195,7 +195,7 @@ function views_views_plugins() { 'help topic' => 'style-row-fields', ), 'rss_fields' => array( - 'title' => t('Fields for RSS items'), + 'title' => t('Fields'), 'help' => t('Display fields as RSS items.'), 'handler' => 'views_plugin_row_rss_fields', 'theme' => 'views_view_row_rss', diff --git a/plugins/views_plugin_row_rss_fields.inc b/plugins/views_plugin_row_rss_fields.inc index 3cf2afc..9355e83 100644 --- a/plugins/views_plugin_row_rss_fields.inc +++ b/plugins/views_plugin_row_rss_fields.inc @@ -33,6 +33,7 @@ class views_plugin_row_rss_fields extends views_plugin_row { '#description' => t('The field that is going to be used as the RSS item title for each row.'), '#options' => $view_fields_labels, '#default_value' => $this->options['title_field'], + '#required' => TRUE, ); $form['link_field'] = array( '#type' => 'select', @@ -40,6 +41,7 @@ class views_plugin_row_rss_fields extends views_plugin_row { '#description' => t('The field that is going to be used as the RSS item link for each row. This must be a drupal relative path.'), '#options' => $view_fields_labels, '#default_value' => $this->options['link_field'], + '#required' => TRUE, ); $form['description_field'] = array( '#type' => 'select', @@ -47,6 +49,7 @@ class views_plugin_row_rss_fields extends views_plugin_row { '#description' => t('The field that is going to be used as the RSS item description for each row.'), '#options' => $view_fields_labels, '#default_value' => $this->options['description_field'], + '#required' => TRUE, ); $form['creator_field'] = array( '#type' => 'select', @@ -54,6 +57,7 @@ class views_plugin_row_rss_fields extends views_plugin_row { '#description' => t('The field that is going to be used as the RSS item creator for each row.'), '#options' => $view_fields_labels, '#default_value' => $this->options['creator_field'], + '#required' => TRUE, ); $form['date_field'] = array( '#type' => 'select', @@ -61,6 +65,7 @@ class views_plugin_row_rss_fields extends views_plugin_row { '#description' => t('The field that is going to be used as the RSS item pubDate for each row. It needs to be in RFC 2822 format.'), '#options' => $view_fields_labels, '#default_value' => $this->options['date_field'], + '#required' => TRUE, ); $form['guid_field_options'] = array( '#type' => 'fieldset', @@ -74,6 +79,7 @@ class views_plugin_row_rss_fields extends views_plugin_row { '#description' => t('The globally unique identifier of the RSS item.'), '#options' => $view_fields_labels, '#default_value' => $this->options['guid_field_options']['guid_field'], + '#required' => TRUE, ); $form['guid_field_options']['guid_field_is_permalink'] = array( '#type' => 'checkbox',