summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery L. Lourie2013-03-04 08:11:21 (GMT)
committer Valery L. Lourie2013-03-04 08:11:21 (GMT)
commit79ec2f5f74f34724618f1092bdca164b196ff48f (patch)
tree39de673fdc906946b05a848599a10ddd098e66f5
parent4a6466ae473cdef6944692995975ea727c6638c4 (diff)
Issue #1857222 by valthebald: make line endings style Unix in all files
-rw-r--r--metatags_quick.admin.inc4
-rw-r--r--metatags_quick.views.inc50
2 files changed, 27 insertions, 27 deletions
diff --git a/metatags_quick.admin.inc b/metatags_quick.admin.inc
index 6ae7322..1143b38 100644
--- a/metatags_quick.admin.inc
+++ b/metatags_quick.admin.inc
@@ -666,7 +666,7 @@ function metatags_quick_admin_path_based_delete($form, &$form_state) {
// Delete confirmation
if(isset($_GET['pid'])) {
$pid = (int)$_GET['pid'];
- $controller = new DrupalDefaultEntityController('metatags_path_based');
+ $controller = new DrupalDefaultEntityController('metatags_path_based');
$entities = $controller->load(array($pid));
if (empty($entities)) {
@@ -677,7 +677,7 @@ function metatags_quick_admin_path_based_delete($form, &$form_state) {
}
$path_object = $entities[$pid];
- $form_state['#path_object'] = $path_object;
+ $form_state['#path_object'] = $path_object;
$form['intro'] = array(
'#type' => 'item',
diff --git a/metatags_quick.views.inc b/metatags_quick.views.inc
index d6fb30c..bee6468 100644
--- a/metatags_quick.views.inc
+++ b/metatags_quick.views.inc
@@ -1,25 +1,25 @@
-<?php
-/**
- * @file
- * Views include file for metatags_quick
- */
-
-/**
- * Implements hook_views_post_render().
- */
-function metatags_quick_views_post_render(&$view, $output, $cache) {
- // If the view is a page display, has a path and it is a taxonomy term path.
- if (($view->display_handler instanceof views_plugin_display_page) && $view->display_handler->has_path() && ($view->get_path() == 'taxonomy/term/%')) {
-
- $term = taxonomy_term_load($view->args[0]);
- $fields = field_info_instances('taxonomy_term', $term->vocabulary_machine_name);
-
- foreach ($fields as $name => $instance) {
- $settings = field_get_display($instance, 'full', 'taxonomy_term');
- // Check for fields which use this module for display, and render them.
- if ($settings['module'] = 'metatags_quick') {
- field_view_field('taxonomy_term', $term, $name, $settings);
- }
- }
- }
-}
+<?php
+/**
+ * @file
+ * Views include file for metatags_quick
+ */
+
+/**
+ * Implements hook_views_post_render().
+ */
+function metatags_quick_views_post_render(&$view, $output, $cache) {
+ // If the view is a page display, has a path and it is a taxonomy term path.
+ if (($view->display_handler instanceof views_plugin_display_page) && $view->display_handler->has_path() && ($view->get_path() == 'taxonomy/term/%')) {
+
+ $term = taxonomy_term_load($view->args[0]);
+ $fields = field_info_instances('taxonomy_term', $term->vocabulary_machine_name);
+
+ foreach ($fields as $name => $instance) {
+ $settings = field_get_display($instance, 'full', 'taxonomy_term');
+ // Check for fields which use this module for display, and render them.
+ if ($settings['module'] = 'metatags_quick') {
+ field_view_field('taxonomy_term', $term, $name, $settings);
+ }
+ }
+ }
+}