commit 9c16ce4cadc80334c15ae246cd3c0811ac06eb40 Author: Joel Pittet Date: Fri May 10 20:26:35 2013 -0700 cap ID and lowercase V to v diff --git a/core/modules/views/templates/views-exposed-form.html.twig b/core/modules/views/templates/views-exposed-form.html.twig index 78b85ac..3768d09 100644 --- a/core/modules/views/templates/views-exposed-form.html.twig +++ b/core/modules/views/templates/views-exposed-form.html.twig @@ -1,21 +1,21 @@ {# /** * @file - * Default theme implementation of a Views exposed form. + * Default theme implementation of a views exposed form. * * Available variables: * - widgets: A list of exposed form widgets. Each widget contains: * - label: The sanitized label of the widget. - * - id: The id of the widget, or an empty string. + * - id: The ID of the widget, or an empty string. * - operator: The select element for the operator widget. * - description: The sanitized description of the widget. * - widget: The widget itself. * - index: the widget's row index. - * - sort_by: An optional select element to sort the View by fields. + * - sort_by: An optional select element to sort the view by fields. * - sort_order: An optional select element with ascending or * descending order options. * - items_per_page: An optional select element for the available items per page. - * - offset: An optional textfield to define the offset of the View. + * - offset: An optional textfield to define the offset of the view. * - reset_button: An optional button to reset the exposed filter applied. * - button: The submit button for the form. * diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index 7926754..1dd4666 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -939,7 +939,7 @@ function template_preprocess_views_view_row_rss(&$vars) { } /** - * Prepares variables for Views exposed form templates. + * Prepares variables for views exposed form templates. * * Default template: views-exposed-form.html.twig. * @@ -990,7 +990,7 @@ function template_preprocess_views_exposed_form(&$vars) { if (!empty($checkboxes)) { $widget = new stdClass(); // set up defaults so that there's always something there. - $widget->label = $widget->operator = $widget->widget = ''; + $widget->label = $widget->operator = $widget->widget = NULL; $widget->id = 'checkboxes'; $widget->widget = $checkboxes; $vars['widgets']['checkboxes'] = $widget;