Forráskód Böngészése

Fixed bug identified by Ethy https://www.drupal.org/node/2417485

Stephen Ficklin 10 éve
szülő
commit
bf9612df67
1 módosított fájl, 11 hozzáadás és 11 törlés
  1. 11 11
      tripal_pub/tripal_pub.module

+ 11 - 11
tripal_pub/tripal_pub.module

@@ -227,59 +227,59 @@ function tripal_pub_theme($existing, $type, $theme, $path) {
     ),
     // node templates
     'tripal_pub_authors' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_authors',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_base' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_base',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_featuremaps' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_featuremaps',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_features' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_features',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_libraries' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_libraries',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_projects' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_projects',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_properties' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_properties',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_references' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_references',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_relationships' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_relationships',
       'path' => "$path/theme/templates",
     ),
     'tripal_pub_stocks' => array(
-      'arguments' => array('node' => NULL),
+      'variables' => array('node' => NULL),
       'template' => 'tripal_pub_stocks',
       'path' => "$path/theme/templates",
     ),
 
     // instructions page for the pub module
     'tripal_pub_help' => array(
-      'template' => 'tripal_pub_help',
+      'variables' => 'tripal_pub_help',
       'arguments' =>  array(NULL),
       'path' => "$path/theme/templates",
     ),