Explorar o código

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

Stephen Ficklin %!s(int64=10) %!d(string=hai) anos
pai
achega
bf9612df67
Modificáronse 1 ficheiros con 11 adicións e 11 borrados
  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",
     ),